Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp483640imn; Tue, 26 Jul 2022 00:42:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tY11mQJdTZpVe8JwdZhs9cjbGbFXxZTQy+2k0upvWRaBRLpPyTz4WvPx8D1pMktB5gO0os X-Received: by 2002:a05:6402:11cd:b0:43c:63d:abe6 with SMTP id j13-20020a05640211cd00b0043c063dabe6mr8064762edw.397.1658821352527; Tue, 26 Jul 2022 00:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658821352; cv=none; d=google.com; s=arc-20160816; b=QRZkq8+vC5nM28RQWlTv2tnrLoVrewcGU1IFtbsGsExc42KBQmVVIHYhOhHeym9OPy wQpQhwiFDsS7C7XZV1LzojadKrG7qpQm6PiR/Ef0gdNpFsmqT1lImv1ECMCP7aATx6HE OB89300S/QAknE54ni9KZXe0cLQV5/6gcDyodkF/Y5iU/H4yudPPdWNaB82WY+IjOcEk jcYhJg9GK26DQ+JXa51sxP+mGeiFPf0VS9FAzDRnp28AwUbeSTLnL1W3edYDLghWiTRE 54xbTwmAK84Ai2l/g4Si47lFsYJZaRCrg8/YdOV/TsHtI/2+P/nGMJNCarXddSco/hRK b4tw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=d74j1yHY63CzqNhICpb1UBHy6hAvuk8RHXugJ1T6fHg=; b=M7UkMVwPluZIFSJNDLsYCPwpetfj6ttMgRQ5+J9GYv2gBF7YH2ncWN9GpZE7M7+SeZ JieMhgUHayWOlo1XAMl1IdT8BhSIcjcm0mbBMbu5TvABgpIxd33myBSwm/IPpiOf8r0G OrLYEj3xMLjviPXdxXSl4JMNQgW/kaMKi2rdVZK8mlTAzdLvgcatAjwQ8wvgV7oqy3lp Kcj44wvhMCU6raiTBeRjKFoh+PQvn8WvD/FFux9QtC9D5/IjCgFq9wtGTwiGNQ93etTi DO7DpZct7IAD+YnEX+eoTzf7ihF4TXVyUPOlWg2pKDiL3HrhVq4Qr+osCuQhhgnLVPhC YgTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zk20-20020a17090733d400b0070b60b92455si13157134ejb.240.2022.07.26.00.42.07; Tue, 26 Jul 2022 00:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238383AbiGZHcb (ORCPT + 99 others); Tue, 26 Jul 2022 03:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238475AbiGZHbl (ORCPT ); Tue, 26 Jul 2022 03:31:41 -0400 Received: from out199-5.us.a.mail.aliyun.com (out199-5.us.a.mail.aliyun.com [47.90.199.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8B72E9DC for ; Tue, 26 Jul 2022 00:27:49 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VKUIM7m_1658820425; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VKUIM7m_1658820425) by smtp.aliyun-inc.com; Tue, 26 Jul 2022 15:27:07 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 11/20] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 26 Jul 2022 15:25:46 +0800 Message-Id: <20220726072555.91323-11-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> References: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> 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,UNPARSEABLE_RELAY, 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 No functional modification involved. smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.c:186 optc3_set_dsc_config() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c index 80136b5d7e48..d072997477dd 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c @@ -180,11 +180,8 @@ void optc3_set_dsc_config(struct timing_generator *optc, { struct optc *optc1 = DCN10TG_FROM_TG(optc); - optc2_set_dsc_config(optc, dsc_mode, dsc_bytes_per_pixel, - dsc_slice_width); - - REG_UPDATE(OTG_V_SYNC_A_CNTL, OTG_V_SYNC_MODE, 0); - + optc2_set_dsc_config(optc, dsc_mode, dsc_bytes_per_pixel, dsc_slice_width); + REG_UPDATE(OTG_V_SYNC_A_CNTL, OTG_V_SYNC_MODE, 0); } void optc3_set_vrr_m_const(struct timing_generator *optc, -- 2.20.1.7.g153144c