Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1037917lqd; Thu, 25 Apr 2024 04:28:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIcyWrwHMSJvZ6xVDGtRDlYIVG9lALFhz8c79D9cRXzmuVGnP4MEHxtGKjOFndAGeT9rmF4JxL4Msxduz4oe1z8wE+fU7XZBNQvcF9Tw== X-Google-Smtp-Source: AGHT+IGMq1PmCz6in73S+FBwTBosBCuH9DZEEeBg1n54kFBit0bRKoDL++JGe99NtpLNdcIu24wC X-Received: by 2002:a05:6a21:3e01:b0:1aa:8c0d:bce3 with SMTP id bk1-20020a056a213e0100b001aa8c0dbce3mr5683987pzc.32.1714044516377; Thu, 25 Apr 2024 04:28:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714044516; cv=pass; d=google.com; s=arc-20160816; b=pSNHYfJnbtVnRCY+PaQ8/+zJ/r56hJ7ag8GjluzX5fYuXij7v7ZQsU9+yPDuUWjR2n xUqbOmrwCsytguHjP/PcebYY4kO1jH/7E4/j69wzvQWJ0p+Ctdlfl1L4OtpYDsaiHVOy KZsx8ys7LSncMM7PPkgkNE4FNRt0AYBNKA6wpjbLNZXXmi7kF+yvfLyIwoxeHKhtt+f0 Je94XKxWr14PF4mS0kbDoj8bqXp/uIAJW0oFdnWkA3rn8X/pmFXCkzk+wP+QUE4bt8vw 82RK1JRiou0BPBknCEgmd9o1tT6sdrbQOaaFNbSAyT3cR11BMkTTTMDujtHSdhzPYODQ xiug== 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=cXBdVhclN8iRuqar3CwvdUJWpfJdsgIEIzFUbTS5W/4=; fh=eokvIkKbGlmA3WnDvqMbZ+iUCbWkY8WuDqaJh3PMiBs=; b=gMfh4SUDWwFUeo8Yhgf3d3dTYVqffy4sKe+WOvS6dTo9Fw2nKz1IPvukXQWXIIhKql BBTSldL3Z8/FlFYv6fpWJyRKxVQq6OaYLVle9hLpBb1nj/AEEbiEC1U10kvGLGRzfjHR vEtIrlQo9avXEzos7Q6soXU+nojtXIveJOLZn2uljlxiv8WSkoOGn6+66QSluK1qFhpp K/GyQENfSSJmZtLw8qzRfdfbEU7lLmgtLvOwOgjA0b+47HV49MB08xBYRIGuT6iN3OCY pDcRGj70a2oGcPabfzAg9827C14ZT767i9qO3q+HjjIFJQna6Q+SkslJWi7FaZaNYKfz 5uOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uK2Ud/uW"; 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-158438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158438-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fb25-20020a056a002d9900b006edd43fb5a0si13579597pfb.383.2024.04.25.04.28.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 04:28:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uK2Ud/uW"; 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-158438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158438-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C0261288F46 for ; Thu, 25 Apr 2024 11:21:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 171A485634; Thu, 25 Apr 2024 11:21:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uK2Ud/uW" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 9E40384E1E for ; Thu, 25 Apr 2024 11:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714044091; cv=none; b=qLkcV48+mi8nEU01+dDL5y1kw2gapckadA45nu0PYDp6UexycQVq3MvPjfnSAXAjj7zgWMA5ZKhKB78JiSde8ZPcKgx1+pDDwoP0jZMPam4aX3eMDCvMt4n8yLbjSPIrMroQxsXk+Nght/jwGfRbhwf7aezTI8/+AhAopl9yyMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714044091; c=relaxed/simple; bh=4BR2yt7PuNf7nuqyNYPN52XbQh4Y95X32ylutoJfD80=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=faEFVHzwB6nqpAQ6J4YcHp8fZ79XPO7s0BxnGTjSr0oNAUad0wTZOPb03oLR+44rWD0nlt7ZjI8KNf1ngw2EmfjqTHygyP20kJo8lOBKUpMcOGmUzA6afsIYZfLZe4MZUQRE6Uia1OhLwAgR9XcZVzXJ1dWO41krvrNpqJKLzMs= 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=uK2Ud/uW; arc=none smtp.client-ip=209.85.128.52 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-f52.google.com with SMTP id 5b1f17b1804b1-41af670185fso6880355e9.0 for ; Thu, 25 Apr 2024 04:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714044088; x=1714648888; 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=cXBdVhclN8iRuqar3CwvdUJWpfJdsgIEIzFUbTS5W/4=; b=uK2Ud/uWi8eyvOoN06ptc0FYctiY0yjQ8101hpCp4Oy3FJO5jPg12ehY5dKP74HG4D LoqyCVYoCLKomQpkVdICCbCYqtm79ib8d2kermN8RfNhi3gqZdnbVNnkU5BytJDg9bei tIyZaa6ZozT/GE+YUeEhhNFgyeyEIgBPC2NnJwxOWoXAfzV6F2xMUtZVML2WzjNP0rq1 Y7oWW8OjKmFhElyH4Gn3vmjFYwvbi2jOSXSN6Ej0PtVLlqedpIjPKYOh2sVDqBAmJ22a 8/hVF4bzHdb8GdjzZsQP2CfUUtq6PedPOVnC5dNZlWHZIhk+5W5/WeyZFdsJao5jx7nM bZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714044088; x=1714648888; 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=cXBdVhclN8iRuqar3CwvdUJWpfJdsgIEIzFUbTS5W/4=; b=jpk1cxqn3hslpgxuXUXZEK34h2UAVxmMHaTdLtXZ2Abz5LRYP3w+CcLPQBZ/w7RISZ /3T9Dezmiv3Vmj5ujXYg4R+tpo4vbR0fh2TaMph5BXPBzRruY17+FVygoGNSlEgHOkLa RSyYHyZPH/yWFqKTxvR4eiK0pCvj7og//Nb2oditlZnJ/f3hPLzlv4mCzn9wVsLbljQM 9P4wcqjP9HwXPHXFNCJy8n2ilD9cYZ3mREWA0AQdKEbS4ubXz5V/W3mMifBUumlBEbMk NarTs0wlfv2RR2qCRvc77NAdhqXDszfX95sEHfCTDY9n1du2evnNb8RCBqzdBBy6zfDa oW/g== X-Forwarded-Encrypted: i=1; AJvYcCVnzjNKwQ16H3QjOH2zHFtMWRGLuHpmsAWK4O1JXsTA09Qlkvz6ep5F3vhYbgeEoNWS6teshM/pqRE9nd45lDYZaCDowXjImOim0mf5 X-Gm-Message-State: AOJu0YxECDibWdtro38XeyeqOZ9aCmjH5nd21tJIKlAFp25911b5Wte+ SlHUZctwUZK4IAZ1RzqWtzMK6VBKC8AOpZffYxfDKNo7ijQKiLaDXYXDevYi8fQ= X-Received: by 2002:a05:600c:470d:b0:418:5e80:b7af with SMTP id v13-20020a05600c470d00b004185e80b7afmr5104977wmo.36.1714044087693; Thu, 25 Apr 2024 04:21:27 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id d15-20020adffbcf000000b0034b1bd76d30sm9826105wrs.28.2024.04.25.04.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 04:21:27 -0700 (PDT) Date: Thu, 25 Apr 2024 14:21:22 +0300 From: Dan Carpenter To: Harry Wentland 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 , Aurabindo Pillai , Dillon Varone , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH v2] 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 --- v2: Delete another blank line (checkpatch.pl --strict). drivers/gpu/drm/amd/display/dc/core/dc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 3e16041bf4f9..5a0835f884a8 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -5192,11 +5192,9 @@ 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