Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp492188imn; Tue, 26 Jul 2022 01:03:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sS72R0P7Ba3OCIOS6h1+A/KAhlqmEuwh9zNeEttJTDEUikURjDIywxqUjcEwKEuHj7CuMb X-Received: by 2002:a17:902:6901:b0:168:9bb4:7adb with SMTP id j1-20020a170902690100b001689bb47adbmr15772556plk.147.1658822632705; Tue, 26 Jul 2022 01:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658822632; cv=none; d=google.com; s=arc-20160816; b=SoDevt91Wj7+/LewPZ3RJLqFvnuC4jkCUn650J7jkwh2qi19yE7Pwd2UIaGiyz/q3x gae/NLjE1ZW+R8d+ftAOA0DYn0fW5474Fxul6wgiFsG43550YxnRwlSUIidQ+C6dQp+B GEnYTGJTEm7kCZQsHhIx01yiPGJlJTwAjrrxw+8Ah/KoTR8EmkOiUFZKwG3rKNZdfHsR Q1WyVUx/ahbid7tnZam0boIOfD2DdrbjYQOlGAkNIBNJmgQ61IgSUZmH8s2VMLUzu1mv vut0DT8LfA+/sWzj3IuHSU3GrRS9Fa9Od4z8BQtg0yYntY84LL7WAD7ioVSwMWyL8Dua Izsw== 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=rsbiw9Lzt3VDUNMUGnmC/lAsvORNuLW1OJKBUyVIbMs=; b=y6xLqKAb7AvCQt232CFxPRFLiR3rxAbRi2Yr23MrTKTDekWCS2XoM+ZZb0O2DeP4n6 erFzygpHzCX75J4/rBNw8JfSf+33odRbmeh9EcuAdk0U0S0umXCw8h801DaFfo/UpNPl 5RAw8ZSmORRCNKCbN8KR3p/YlE4yoSQAmYDi+EVP0ePdfyWxU2dTRM37m+T39PvNrRJu FDZQHTdvQiE1g2osqST+VDje/3zEwT6nMyZRmgBoXGPJX99w2YaCZ9gJYoYs4YaPV/Qs 9y2QpNGQkLRKqn9PPLME+1aVHQ4Zo+kj7Yc2Cu1icpZbXgKWRkVbnjrw93MLu1TZgaLd RK7Q== 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 t190-20020a632dc7000000b0041a604d4c4fsi17988695pgt.413.2022.07.26.01.03.35; Tue, 26 Jul 2022 01:03:52 -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 S232010AbiGZHdG (ORCPT + 99 others); Tue, 26 Jul 2022 03:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238406AbiGZHb5 (ORCPT ); Tue, 26 Jul 2022 03:31:57 -0400 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DD7628726 for ; Tue, 26 Jul 2022 00:27:57 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VKUOHEZ_1658820454; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VKUOHEZ_1658820454) by smtp.aliyun-inc.com; Tue, 26 Jul 2022 15:27:36 +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 18/20] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 26 Jul 2022 15:25:53 +0800 Message-Id: <20220726072555.91323-18-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,RCVD_IN_DNSWL_NONE,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 warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn303/dcn303_fpu.c:205 dcn303_fpu_update_bw_bounding_box() warn: inconsistent indenting. drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn303/dcn303_fpu.c:355 dcn303_fpu_init_soc_bounding_box() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- .../drm/amd/display/dc/dml/dcn303/dcn303_fpu.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c index 8fb14baed208..3eb3a021ab7d 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c @@ -202,7 +202,7 @@ void dcn303_fpu_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_p unsigned int num_dcfclk_sta_targets = 4; unsigned int num_uclk_states; - dc_assert_fp_enabled(); + dc_assert_fp_enabled(); if (dc->ctx->dc_bios->vram_info.num_chans) dcn3_03_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; @@ -349,14 +349,11 @@ void dcn303_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info) dc_assert_fp_enabled(); if (bb_info.dram_clock_change_latency_100ns > 0) - dcn3_03_soc.dram_clock_change_latency_us = - bb_info.dram_clock_change_latency_100ns * 10; + dcn3_03_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10; - if (bb_info.dram_sr_enter_exit_latency_100ns > 0) - dcn3_03_soc.sr_enter_plus_exit_time_us = - bb_info.dram_sr_enter_exit_latency_100ns * 10; + if (bb_info.dram_sr_enter_exit_latency_100ns > 0) + dcn3_03_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10; - if (bb_info.dram_sr_exit_latency_100ns > 0) - dcn3_03_soc.sr_exit_time_us = - bb_info.dram_sr_exit_latency_100ns * 10; + if (bb_info.dram_sr_exit_latency_100ns > 0) + dcn3_03_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10; } -- 2.20.1.7.g153144c