Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp353953lqd; Wed, 24 Apr 2024 04:42:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuEbybC5jfR29bk+nc0s3cp4KZ8U2mf/9RIuZ0XZDlCwZtvQKAaoOcX9T/Kxgzdpe1BuNjEjLB65Qu9hfVRGN4ItX7b6nLrMvuTpgGag== X-Google-Smtp-Source: AGHT+IG3dLuphO18K0Bqr5h/GZZ35G9t9J2WdoI2mmYX5Hq03XLTEXyPffO/I2DLmQjc3iYdprDV X-Received: by 2002:a50:8e52:0:b0:568:bfcd:e895 with SMTP id 18-20020a508e52000000b00568bfcde895mr1427503edx.41.1713958924255; Wed, 24 Apr 2024 04:42:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713958924; cv=pass; d=google.com; s=arc-20160816; b=LsG1StOtnr7dfrYV59U3WH6lEDoPOQWEVjHQo6RQ+rAQdWgI4hamdZXTA7v4Dwpwbx YzYvHrQaXmOJiqIbTpP+TbM96uN3xFvq/X+OE7GqfaoUY5HPow6IWAx5+fH9ecgDD4M1 SuwLbVwT0Ehs5rD1Z1R6osNxHUHWM4rI1wSwHq0olF6ZSrdyVtHTYNQvGGA6L+5doPXv FY8zN7RBjOq845zhISkeWpYhcK7UpPsmtVPJjfJaS0pPIpdBqRgqjRRaSC3UJbsdmy8I 1I4AStlRR3aMpkwPpYFGm9RHexgdeU2yBzS9FR5Xs7e0QbIPS0gqY8jEfOP+g0sFZMFG fQAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=ELudIBLkjdgxS0elp1PUtkat+hOoPGI1SePmaBawDG4=; fh=hMsuRNx9fMH3JJfK66iKA9XZBaBoCDfHZfY1/ieXnHk=; b=FHd7Xdx7QejHl8BWPsvhIGIiObO83Sl9V9C5dz1WWfE33wVl+Z7JDlie1ATg4O9mT0 vcLUm/U6c9wN4mqX1jbCy6WN/8VgyN3jtSM7+SKgESt3FRfAq3yJKXBjAwz0HmxgLkus o3UXlhEzAbBNCmFbpwI6k56lu4FhDtyQPUOOpQaHMN7g4ddgihmW4S+J/uvvSZndOeve 4AJcliweKiRIdcUCNo4n/rWPE6kC9fmiGUSfo0LGdjBjVi+pFWu5pKdOnJUHPlV5Jbgt 3Z7YmRyc5laJCbvrWrJXfsLMAtelH5T+jk8P/P74VrBaM8nc6gC0BdFV4SZAKuhkz66U IE4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Csq1Ih4x; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-156809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u28-20020a50c05c000000b0056ffbf9b979si8427303edd.446.2024.04.24.04.42.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 04:42:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Csq1Ih4x; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-156809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F35FF1F24175 for ; Wed, 24 Apr 2024 11:42:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B05115A4B6; Wed, 24 Apr 2024 11:41:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Csq1Ih4x" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E64B3159588 for ; Wed, 24 Apr 2024 11:41:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958915; cv=none; b=huSGMywMAkxN710+wMeZ+QsSX94WRt6eAgdO0lR3VWnmVvdwaojjtFEEcDmxufFjSkIHVOFkbIQ6XJQOwKiOSA3a/TjwQL34JJOnrNwgG+egGqAaZvfgHALfxZTZgANagjrEzyOIdeA0ed6z/ZS+cTHC5VOrV7V/dzM20r+J0do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958915; c=relaxed/simple; bh=4lS/KiB1vKWPZ84j/8jQAV+eVGXVWrV4Nf28Lpy9ZII=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=n4XX/9kNwcssLSye9ClldDMxy5fjKE68tHwUnq4BdqS2NfJ4iDFyZJyEfPkaccfR1c+AgEj67bI15ElOz+oec9BT0ZWnA2bzAVgePvxnjaQHlE2ZEISyWm1XpvYgnBaH1awuURCEe916NMHbg+kxpJSFiHzL4AajBPdLVYatmkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Csq1Ih4x; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-41aa45251eeso18779505e9.3 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=vger.kernel.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=Csq1Ih4xHZLXJEHbz63w3zqUXyHjKJ4Bhn4Ie7fawmCGhdOOerM/rfzHzwZYAlyqVT jkEkExX/RXzmbwkxcxl1kLLg3wRbCT3JwcBHWTBa1fTWv2W8N0vB+7beE5W28Mb+VjhP yFkHrB43CfhOY1bXbQ0Gn+Jt53Or7dVFcWo+I2+ckvelQkUridMIEgnN9Q+Z+FnM3BP9 +UXR5+N3ZZoeiITE+lAkSDQq5mrthyEHe2sey6kn8iEA4AV4oYYEA12kIS19s64tye+F AfqgNfYwYvhQKB5K7q8v/M5cYeBMHQGK3EMDzVddW5v16MXXjI/y1rXVvpCTm1UAc7Jb SmiA== 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=UKLx7/fUF/ZqjzTg/43svrgIUHR8o0664x0/JAkQwn50vNVq/UhhT7axK+nLeaSp98 zAWL1yLCNurKIEnXDsPB/SHXJCRRESZEtIfCO7AXL7bBMR+7DX/OptPbNiZdpogtaFLc xG4UMcCqSwPpoLyxDfO5DgTO6IvutrDvLaFu2Z7WUF83yc5ptgmJY2gjdWeTHK7bsTOz OSiqh3pgAk4csx3cW9ytugneL72ltxQMveShypn57oY6XcwmqKJA4u2NoSNBguWciCfr HHsrxmKOvy6nhfVA3owE0jzDkJL/uTpPSzuY470Yt7Oq5FJnLJ62x3PB71H5F/6dNqRq haCA== X-Forwarded-Encrypted: i=1; AJvYcCXH9ifJJTTVnnmdMhyfLd1sNMCSYPtKWmjHAJyAFmC4olxycqo7B0dltSafvLnumDL7649xaqdVnjPVtlX3UbuqOJT5EoGZLxwdbjwx X-Gm-Message-State: AOJu0Ywg+CrRBZFwqZOxfAaYhLF9+32a22bgbhr2Rbz/nWg32eOiZSOA at6VSTfN9x8fp3HMbEPwPjJNEBLwA8keGEMVxL8S1p5gRDONvjFcahx/5XbozsM= 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: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: git-send-email haha only kidding 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); } } -- 2.43.0