Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp321476rdb; Thu, 16 Nov 2023 22:42:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAyR3OaGZK0k5iF03HMwAYmv601XkyltFzntcjsj2WxaiyHW0VmXm9Ti7Jv8zPAtsd35O7 X-Received: by 2002:a9d:7409:0:b0:6c4:f25f:612f with SMTP id n9-20020a9d7409000000b006c4f25f612fmr11883802otk.28.1700203345551; Thu, 16 Nov 2023 22:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700203345; cv=none; d=google.com; s=arc-20160816; b=bl2JBknqswEmwH/Qf8umcCFZM769mGo2mI045kA3pJ36xWwPsJUpCXUrfKHMjl/wLq 0XTDNSa3IefL9pNwZHiucsmPYouaq9WFcoklI5vLTfumwKg0OAO7RQN/agj+TN5N+U+D 8cJies60c0x8850jBoqgscqCSCLt8aUJn0RgabJHyhZ9Sw5/MzIbLYd/7+esC0xN2uUz OtONY3rACITWt6SUPWqLWAV4lGK2nCdS57AhKt18zWE3IkBCEjfyQJKcBxW2FUNYVs1a auoQ4pu4m6rCJrg52OJbHzrEUY7WmsMsPz03cZvAlOqoS7KXtuvO++n6Fw7MyjcvB+Mj 3qDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aq8aagJQEKpQi08so02mZXd1dhxdne8J3A//RisaJPI=; fh=KYWB11+1Gj+RpUxWEULFVqDY0rYCuwOtp5etB3gHekI=; b=g77nqehcmGpZWQGMLzi35yqOkQSnhfFdEBu1d8pTKOEySsH4E98cvXI0ON69iyQhGC /9/XtPC36r19ebKjTvF/2m2kUmAD1VZdVuOmP66lrpF/0xydRdL9Pn2yn6sWc3LlAEUs gx+VulWSwidlzToZRjkelUn+drH2fm+aic04WZD5UyBk0IniUGEwT7sj8aNYjsqL1v+Z DV8xWCXT2ihXadZ+P112b0/eLn4dZo8t1cagEhJ0rBA4KA/MBZLP5nfVmTYbF4Q1jE2X DBTp2iPRsF6zAHfor68NpELIZXjUjQNDOneUGxyKfu60IbPHGYRqpTxOOZy+YWsLjo58 suqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h131-20020a636c89000000b005b7c45b1f95si1208424pgc.555.2023.11.16.22.42.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 22:42:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6116680B01CE; Thu, 16 Nov 2023 22:41:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbjKQGl1 (ORCPT + 99 others); Fri, 17 Nov 2023 01:41:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235710AbjKQGlR (ORCPT ); Fri, 17 Nov 2023 01:41:17 -0500 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14BACD49 for ; Thu, 16 Nov 2023 22:41:03 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VwYlApD_1700203246; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VwYlApD_1700203246) by smtp.aliyun-inc.com; Fri, 17 Nov 2023 14:41:01 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/amd/display: clean up some inconsistent indenting Date: Fri, 17 Nov 2023 14:40:45 +0800 Message-Id: <20231117064045.7115-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 16 Nov 2023 22:41:34 -0800 (PST) No functional modification involved. drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:2461 link_set_dpms_on() warn: if statement not indented. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7579 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c index 34a4a8c0e18c..3586d7c519a3 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c @@ -2454,9 +2454,9 @@ void link_set_dpms_on( /* eDP lit up by bios already, no need to enable again. */ if (pipe_ctx->stream->signal == SIGNAL_TYPE_EDP && - apply_edp_fast_boot_optimization && - !pipe_ctx->stream->timing.flags.DSC && - !pipe_ctx->next_odm_pipe) { + apply_edp_fast_boot_optimization && + !pipe_ctx->stream->timing.flags.DSC && + !pipe_ctx->next_odm_pipe) { pipe_ctx->stream->dpms_off = false; update_psp_stream_config(pipe_ctx, false); return; -- 2.20.1.7.g153144c