Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp490741imn; Tue, 26 Jul 2022 01:01:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tg8lbTjyRCU10ni8Fz3bF/PIr9t0/GdKyl8IlNe0W27Laul+/ictoSH+bQzDCnKjVnQRmd X-Received: by 2002:a17:903:22c5:b0:16b:f00c:3361 with SMTP id y5-20020a17090322c500b0016bf00c3361mr15782953plg.32.1658822464868; Tue, 26 Jul 2022 01:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658822464; cv=none; d=google.com; s=arc-20160816; b=IwT50Zn9HLBSoJMWMjQ9+LydYJWv688dPbNhoO58GtB+4sypPGHi2uCUWQ8kcrW+qJ 42aLdwyLRp27ENgKtAODh7a6ZiYHe4O0XBU9rT68CGAz0A6iTfmegROjoT0f0PVMWvGD a8BdVOXlhtoC11QA11lTJsh6tgCl8mKBjoDZllkJc+ZA5812+Gh86RThbTagM1Zv6dVm FtXotjrtxIniwpwvFX+2NgRUCwJzo8Z1AQKYBKCVDu9XOfmNT5bLclMNWSGUP5TETFXE YsAX9ltkLoBfOb5GM0ypI6MifdMVVC92A6l21/gn6ROKHc90EY3BMtAcPtyT2HUrVuLq TmBQ== 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=WpstSgcE5tWe1JgZninGbYGd3mus0+jZPxaEwoYnd4c=; b=zj8HuZABlfmYkDoQPzd2nqjbL7kZ+wFFXdJs0iTcvBHEazZavz+72acMBnI9D8WVIA nyE7CJZrDeoreF19ylrauMLftaKHD7SIMEuhTGzWPE0FuNPhmpcwsCBWHUvKWWHCmhFC OZdIWXVyDTa13vEANA1ly0d2qga7rOskxXKJzAG679g9fOIsBlU+9QVmBp4Ft+MgOy3N o4o5FIOxMH92wz2lnNvf9dVwQJ0nMIZD21os9K1MhWsPJR4JIgoEjVRNBYxFL/y826J3 jfls3CYnQLw8EiMtUbFs2GsAc44YcIHC8dMjOUZjZP+iRtwcbyikZNaVmCIrZBX0TpZ1 3wzA== 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 e20-20020a656bd4000000b0041b135b0de2si3073182pgw.454.2022.07.26.01.00.50; Tue, 26 Jul 2022 01:01:04 -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 S232405AbiGZHbe (ORCPT + 99 others); Tue, 26 Jul 2022 03:31:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238477AbiGZHbF (ORCPT ); Tue, 26 Jul 2022 03:31:05 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 405072E68B for ; Tue, 26 Jul 2022 00:27:23 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VKUOGjQ_1658820395; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VKUOGjQ_1658820395) by smtp.aliyun-inc.com; Tue, 26 Jul 2022 15:26:37 +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 04/20] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 26 Jul 2022 15:25:39 +0800 Message-Id: <20220726072555.91323-4-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 warning: drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:107 dcn201_update_clocks() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- .../gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c index 451e8d6cd8bd..f0577dcd1af6 100644 --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c @@ -101,8 +101,8 @@ static void dcn201_update_clocks(struct clk_mgr *clk_mgr_base, return; if (clk_mgr_base->clks.dispclk_khz == 0 || - dc->debug.force_clock_mode & 0x1) { - force_reset = true; + dc->debug.force_clock_mode & 0x1) { + force_reset = true; dcn2_read_clocks_from_hw_dentist(clk_mgr_base); } -- 2.20.1.7.g153144c