Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp483677imn; Tue, 26 Jul 2022 00:42:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tX9b90o30Hpr0IEuBV2OvIkgnlgDIjB2YZWx8VKXz3LSrsw6c63RCDhmjEjTeRCZzkT6eU X-Received: by 2002:a17:907:7b92:b0:72b:67fb:8985 with SMTP id ne18-20020a1709077b9200b0072b67fb8985mr12305122ejc.569.1658821358244; Tue, 26 Jul 2022 00:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658821358; cv=none; d=google.com; s=arc-20160816; b=XkwRc8/KLndD28DBzO10XBSpiRK5wFBB+CE+GZTEkpIqYNH4i6ucKA5wo5ZqWBZrAW 7as4UkEf9P2pfb/W/IR/C8JfT4WOaXoR1TUKZk07QY7PlN7haO2sLKPyTngCCTFmDFD3 /BXwI/pWdI3ppqfafAIjL05L6avSxJhXpittM+1EKjP7KnPG2eMULnkjVY5sQ9HJ8ii+ v7hGp8Onimlb8uKz9WDlbRybT0voPmihyWLlKK9jkSlNQqONlxoAkJeRuNPpzkJNOPg4 hkcLqyWuJk1ttVQy6ISLeWoc5K40QyGlfUKWAooQEehsbAXxvQ5lcZDUhlZxjQP/UKh/ 78iQ== 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=HEksiXwt3lKW9FMAQsl9Ufqmfh45p18jCWU2Go31UEc=; b=odwcHlDVWKz4RGPHzMiyjqFtJJrFqi8YVF5d4qVIV/8eQNyCVtkdoVKeXtPwG5It55 jy2rcQYfprLngh5aE93MOPx8Kk9/UEv8MnH4HITvBkEBoqFqpbbh23zIuree88/V9+nD 7/9Sgx7FnAqvAfmzdVTxEjdzOwwGbJaVtM0R23iPVAXdH8dFsyNVkhnIJit3ZRk0vhmg PI3yaEsQWDlUsTFQemfoXoLHm1TauL5qgJo3Uv72GMHbtj0uqm1vk4FoL9SLA1d/g1PG lHZEkAuz3cWNpEjJoLdI/IrNzoCE5au/1lFBf3Oibm1um9Zl0xJjZKbl0uogYA1LPTVo 0o6w== 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 cb8-20020a0564020b6800b0043bb7cb8fe3si11568193edb.330.2022.07.26.00.42.13; Tue, 26 Jul 2022 00:42:38 -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 S238068AbiGZHb0 (ORCPT + 99 others); Tue, 26 Jul 2022 03:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238447AbiGZHbD (ORCPT ); Tue, 26 Jul 2022 03:31:03 -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 ACA0E2DAB6 for ; Tue, 26 Jul 2022 00:27:20 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R651e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VKUBAhD_1658820383; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VKUBAhD_1658820383) by smtp.aliyun-inc.com; Tue, 26 Jul 2022 15:26:25 +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 01/20] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 26 Jul 2022 15:25:36 +0800 Message-Id: <20220726072555.91323-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,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/dcn32/dcn32_hwseq.c:910 dcn32_init_hw() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c index b6bada383958..201516a62b4b 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c @@ -907,10 +907,10 @@ void dcn32_init_hw(struct dc *dc) dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub); // Get DMCUB capabilities - if (dc->ctx->dmub_srv) { - dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub); - dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; - } + if (dc->ctx->dmub_srv) { + dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub); + dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; + } } static int calc_mpc_flow_ctrl_cnt(const struct dc_stream_state *stream, -- 2.20.1.7.g153144c