Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2876006rwe; Mon, 29 Aug 2022 01:39:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR5o4hxSVXng47No+QZZc7WNeAxW+31xnfo7cVpJRzxGNdeVDHP8pnaTthfxhY8tniw1onwS X-Received: by 2002:a05:6402:d05:b0:425:b7ab:776e with SMTP id eb5-20020a0564020d0500b00425b7ab776emr16349781edb.142.1661762359693; Mon, 29 Aug 2022 01:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661762359; cv=none; d=google.com; s=arc-20160816; b=O5uEFaW5cncosv0um/ZfhsyIEwTZJMEChDYMFhIbxHZCB9KriOJrv4nHK3DVujFfsR hn1/duqAW7d0NStroUxzP0Utp/SP1Q4mU4jwr088Ksj1XpV4eaGvWJvM6ye1rE93HfP7 +FpT6TON8OJNPCZQbW6wXt4zN/VVcdii8qttSuZF6OkvqlGL5bneXymAWxGMTeCyWMAy f9TXoSDIlFi6lZTt0TOgvx4TWVBXwnXHQnQezaMlaYIS4ka1Ps9EJhsUiefVF8DvOIFV pPNbbzHVy7Atw7JWztI2e2ISU0N9rnZRotfGWvVkonFovmdDELDyCZxEvofWa6rDB3VX kumQ== 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=gN/wW11HQQeuunVfnBAxkY7hgCFdWoLnSanIZwEOufI=; b=kFULZgagUtbMbMD//M4U4P29KAiWw+dHFdW6UdwE3EExEkkK8hCifCVtb0vJjzUfsY iK4odt/HBvK1m9PjzOA55NQ+I1a2SRefJvF8prTjBn3fiAiTVGjeejN2hP05h92NPZVd McsnK/6GYCOe5cMGQonBTMeZZG8DX3Qt6GzeK7p5i8cakP0UB0IrR1RmDqCU4SkHvPAt pLYHYEDK3weR8GCSOlj96jeYwswa2LmDABZJml2wT+n4s/hlNqU2fXuRW9ZSxami8uwd YFJPYBWyiPmgqWyJX0D9aV90CkWmK6SmOVwFmrdBHJV/BO6CuxZh5A4yWe5OvDYfQDQs +AGw== 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 i7-20020a1709064fc700b0071200866b78si7551483ejw.689.2022.08.29.01.38.30; Mon, 29 Aug 2022 01:39:19 -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 S229862AbiH2Igk (ORCPT + 99 others); Mon, 29 Aug 2022 04:36:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiH2Igh (ORCPT ); Mon, 29 Aug 2022 04:36:37 -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 A19B2578B2 for ; Mon, 29 Aug 2022 01:36:36 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R851e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VNavQMt_1661762192; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VNavQMt_1661762192) by smtp.aliyun-inc.com; Mon, 29 Aug 2022 16:36:33 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, 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, Yang Li , Abaci Robot Subject: [PATCH -next 2/4 RESEND] drm/amd/display: clean up some inconsistent indentings Date: Mon, 29 Aug 2022 16:36:25 +0800 Message-Id: <20220829083627.12774-2-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220829083627.12774-1-yang.lee@linux.alibaba.com> References: <20220829083627.12774-1-yang.lee@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,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 The indentation of statements in the same curly bracket should be consistent. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1886 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c index c87091683b5d..7ebf25e87933 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c @@ -518,13 +518,16 @@ void dcn321_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_p if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { if (bb_info.dram_clock_change_latency_100ns > 0) - dcn3_21_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10; + dcn3_21_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_21_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_21_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_21_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10; + if (bb_info.dram_sr_exit_latency_100ns > 0) + dcn3_21_soc.sr_exit_time_us = + bb_info.dram_sr_exit_latency_100ns * 10; } } -- 2.20.1.7.g153144c