Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp207498rwn; Wed, 14 Sep 2022 19:08:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+pdZIO7f0SaqcqdaEyRuPwsUN0rjMIXPjzryLTO9n80r3J0IDvW9MOTLcQTbt4z73LPwY X-Received: by 2002:a17:907:270b:b0:77b:17b3:f446 with SMTP id w11-20020a170907270b00b0077b17b3f446mr16239452ejk.415.1663207724844; Wed, 14 Sep 2022 19:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663207724; cv=none; d=google.com; s=arc-20160816; b=ebsKqocvEme4p9E2MMFmrOW4F43HNy3cW3FrQG9v7+SEpxyYcEX7XMcnJKDbac9e36 at6WJ3OLvPANdKJUdEGRhX7Ncztsj4Ler4Vvci4pyHg1+UEfpsqVSDaxHeBGXh2uOHCH lsAbY7Xcj81kHl72TUUX+tFy/dowb+OwiwZpvMe/mPR46HL+dYPQtVc1x5YVQhG7CN2K +qLEPbJfwUrjC7HvbHVPYfPonVDJk2I5xIRCDUxeMHaO7MPvhEI4QyeZ/ygdmdIcTwQO RQcatAPmt6Jr378yZIgkih2sXzOfJdX1WuVB0iPtAJQ5/z6YvpwIaxDF/e7H1d3s6JN/ cK3A== 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=l/qMzlhWFk2UTsCohck+9H3DOhPMhPhXOYCsxaYlhTM=; b=h42cvdL6Dgz0pwffFu33wNUyKXUas0opWbm9EYwCNPS2FSqsroK/aEQ1I4FoyTIoXN N1GvwtEFxsfrlmGjqKZSSJiXG1JTkvaYm0pfMM/Yp9+VDeqJ/2o8TQx5onoliCwgiqvg uHx9GwCdgBAv8hd0VjsnwkCOyNWzl9nGbZ4+Ka/uqg0l/VCh2NfQoWZA16vYAQa9kU5s bVUnxVdPeMfT0R4SxdLliFXtETBLlFJ5VmKh9O/iET0gJOQE5ZXtH2rb7gSjHPMyeRlw 2WdRDM87DFUgkeL1sxwgXkRaMZjxgrTh5IhcEtKsurFknx7tC39TyCwWsYWuKmRBIkQZ WeQw== 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 a4-20020a05640213c400b00447dfae6181si12456699edx.235.2022.09.14.19.08.17; Wed, 14 Sep 2022 19:08:44 -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 S230104AbiIOB6Z (ORCPT + 99 others); Wed, 14 Sep 2022 21:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230130AbiIOB6Q (ORCPT ); Wed, 14 Sep 2022 21:58:16 -0400 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE6388F954 for ; Wed, 14 Sep 2022 18:58:07 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R701e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VPqLcxN_1663207084; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VPqLcxN_1663207084) by smtp.aliyun-inc.com; Thu, 15 Sep 2022 09:58:05 +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 1/6] drm/amd/display: clean up some inconsistent indentings Date: Thu, 15 Sep 2022 09:57:57 +0800 Message-Id: <20220915015802.59967-1-yang.lee@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,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 clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2177 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c index 4e3356d12147..8dfe639b6508 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c @@ -1051,10 +1051,10 @@ static bool CalculatePrefetchSchedule( bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC; /*rev 99*/ prefetch_bw_pr = dml_min(1, bytes_pp * myPipe->PixelClock / (double) myPipe->DPPPerPlane); - max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; + max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchSourceLinesC * swath_width_chroma_ub * myPipe->BytePerPixelC; prefetch_bw_oto = dml_max(bytes_pp * myPipe->PixelClock / myPipe->DPPPerPlane, prefetch_sw_bytes / (dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime)); - prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw); + prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw); min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre); Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4; -- 2.20.1.7.g153144c