From patchwork Wed Apr 24 11:41:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 13641760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97392C4345F for ; Wed, 24 Apr 2024 11:41:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA7FF113A89; Wed, 24 Apr 2024 11:41:55 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="c2Zzlnym"; dkim-atps=neutral Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id 21482113A8A for ; Wed, 24 Apr 2024 11:41:54 +0000 (UTC) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41af6701806so5930285e9.1 for ; Wed, 24 Apr 2024 04:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713958912; x=1714563712; darn=lists.freedesktop.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=ELudIBLkjdgxS0elp1PUtkat+hOoPGI1SePmaBawDG4=; b=c2Zzlnymiz7GhpXUoMvkq1sThO7kz/P/ch5dcMn4uV9nf5CNK8igLpbz8xVns+zhFr CfNBEEUITypPt2iycGcJMQGQTF9rV7Tpra8HZbYwrjiy9EpuTuWhJHe2ErO83vRbetrh ErKmxRsZhJauukcoThs3P3EZZ9c4pFXlbAgqsrWQrpyG8MzV2Eo94MOOcxW3JNWcxkC7 6KEpIKkmHn1CtwuiCL4TqCvuB/UURJ2wYtFkTm99OclOwR47Lll58+NZ7HVFsq1QFIAI 3W0Ir7prmVjh0u06dcpGQrLo0NrsdSlcZT1+qd8Qc4f7Rpus5k0ahY4VmsJDxZgaqCJL RrTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713958912; x=1714563712; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ELudIBLkjdgxS0elp1PUtkat+hOoPGI1SePmaBawDG4=; b=HSO3LUTovzVWf3YuW0qelKdW//C1xQa7OxzlMwslxcT0bMbQJwKGWE3JUlpRogh0cz MNrYESlACPimhb9KUejJ+fcBD3sENKvATQGTvp2zy8Cd1CrCV2C3EZ8X6I+paXihzCpn A2Jr1baqNtmg5UTpItsQFlNuoXYfCoDBIKVVyz1ioG3HB3oMReeiJCHmq/wRJ0NGBgVB 0Q2svUjeNWh01Wif5gyZzWOg94BhX+5XSS6wCwyovdVJS5JrU/O5qMRtuzqdleCJvDEY kSF4loatqR1AF30eUD9Q0ZkEz/fx/rOGMJzG8uRD1oe/Mtro78O4+QzVKgsaPZC/z7jm r1Vw== X-Forwarded-Encrypted: i=1; AJvYcCWXpnETUkEDE+N8tdKjyTOcoaEu0irbqZUcTu43EqFcHWtJ5BtqX9Pnu4c6f7au+D5OH5CEnIr/fugIlURhExHRVaaz5UktUF7NI1Am6Uh7 X-Gm-Message-State: AOJu0Ywoyrv9mSwv6tWYtV1hrjfL3ZKCFuDUrb5bLf8ORxkDfDGckYxI 5P8sk88BstQLphFq6Ftfmb8UVKqVBQRrNkJAVclTGAmRi9+br8wxhPE89gVTINc= X-Google-Smtp-Source: AGHT+IFC3Xn9CFwEPi+nZrUxwB85rOXzdnYEMUpkC1nwbPG2hnf4U7btQl9yxJcgwUfAxP5VTsmFNw== X-Received: by 2002:a05:600c:450a:b0:41a:e5f5:9a4a with SMTP id t10-20020a05600c450a00b0041ae5f59a4amr1690065wmo.9.1713958912043; Wed, 24 Apr 2024 04:41:52 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id h3-20020a05600c314300b0041abdaf8c6asm5404240wmo.13.2024.04.24.04.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 04:41:51 -0700 (PDT) Date: Wed, 24 Apr 2024 14:41:48 +0300 From: Dan Carpenter To: Harry Wentland , Charlene Liu Cc: Leo Li , Rodrigo Siqueira , Alex Deucher , Christian =?iso-8859-1?q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Alvin Lee , Wenjing Liu , Jun Lei , Tom Chung , Dillon Varone , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH] drm/amd/display: re-indent dc_power_down_on_boot() Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Mailer: git-send-email haha only kidding X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" These lines are indented too far. Clean the whitespace. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/display/dc/core/dc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 8eefba757da4..f64d7229eb6c 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -5043,11 +5043,10 @@ void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src) void dc_power_down_on_boot(struct dc *dc) { if (dc->ctx->dce_environment != DCE_ENV_VIRTUAL_HW && - dc->hwss.power_down_on_boot) { - - if (dc->caps.ips_support) - dc_exit_ips_for_hw_access(dc); + dc->hwss.power_down_on_boot) { + if (dc->caps.ips_support) + dc_exit_ips_for_hw_access(dc); dc->hwss.power_down_on_boot(dc); } }