Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1070383imi; Fri, 1 Jul 2022 02:22:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1twJMErY+5eLIk/m9q6WNz53KQ+uTioXY9QVo9CgWW88yXnTBtuBMcl3KcXB2zl7YTHx7iJ X-Received: by 2002:a63:3e47:0:b0:40c:f2dd:bc4 with SMTP id l68-20020a633e47000000b0040cf2dd0bc4mr11297558pga.47.1656667370506; Fri, 01 Jul 2022 02:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656667370; cv=none; d=google.com; s=arc-20160816; b=MuMLXRiCAZ1zPZLbCzXEa0X/VLbRfI26mascdJ9ngNm7Rpg6GbdxmBxkxsLw/WEMAk XKkULBd5x/dgP8Ru8gV3CFPDQu2G80VHp5oIhd3sPxhKjjvKfl4kebxkPcK7zvnKuCEm lZU7m1H/3HA554KwB+DaFcJunsIYjpBopd84rsq5uj4PpLAvQSTHpqtWWZ74oEx6YNNt r4sNFPdxg+jao+Ma0EZHLebdlv5B2DWoB1VJLBhMjRJYG2mCJsefk6wTrCLnIfbL+FAu Ld1mtpMLJb/QB0ym0rbtKM+5VWLQ6E7wYro7rkWzqbAgwhbzahdCd18VunGBoLLwILH1 7WZw== 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=w9hfCyLU7i84zF4jO4+CyJMTMpeIaLc3nQmKXiUFYh4=; b=edcvJK9ppJk92k9HrdLDXXHrtU7m2zd5e8aWmPIl6V8mk2wCaperAvhOmrd5wfBKJh vnagweSwLrSZke3UpMivX894igHIFdH94vZJazxk8LMEyv96C4lPVvTmkXIZBQrkdCv0 /P1htPhln+gf1uHsarP183iGoVGimHUQd/cUty5z9+xrHOW7Hs6sBLMTLys326QToIHn pVnnz/JU5ndJWJuje9J7+DE9OPRZmIg+YHuQdwDtzpN8nneeMMWFungCmxmDM0CDnHaS Aa39R/TPA97i78lMlscD7Ava2D89v/y6vPm47Cq5DBVsX7mnlktdmcXMvXwDMJDV/l9u gFcA== 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 my8-20020a17090b4c8800b001e31047144fsi7666042pjb.132.2022.07.01.02.22.37; Fri, 01 Jul 2022 02:22:50 -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 S233193AbiGAJT0 (ORCPT + 99 others); Fri, 1 Jul 2022 05:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232834AbiGAJTV (ORCPT ); Fri, 1 Jul 2022 05:19:21 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFFF351B2B for ; Fri, 1 Jul 2022 02:19:19 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VI0Cs3W_1656667156; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VI0Cs3W_1656667156) by smtp.aliyun-inc.com; Fri, 01 Jul 2022 17:19:16 +0800 From: Yang Li To: harry.wentland@amd.com Cc: sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@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 Subject: [PATCH -next] drm/amd/display: clean up some inconsistent indenting Date: Fri, 1 Jul 2022 17:19:14 +0800 Message-Id: <20220701091914.66476-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 Eliminate the follow smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3151 commit_planes_for_stream() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/core/dc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 146fd4b864b2..d31da9c0256a 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -3148,15 +3148,15 @@ static void commit_planes_for_stream(struct dc *dc, else dc->hwss.pipe_control_lock(dc, top_pipe_to_program, false); - if ((update_type != UPDATE_TYPE_FAST) && stream->update_flags.bits.dsc_changed) - if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { - top_pipe_to_program->stream_res.tg->funcs->wait_for_state( + if ((update_type != UPDATE_TYPE_FAST) && stream->update_flags.bits.dsc_changed) + if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) { + top_pipe_to_program->stream_res.tg->funcs->wait_for_state( top_pipe_to_program->stream_res.tg, CRTC_STATE_VACTIVE); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state( top_pipe_to_program->stream_res.tg, CRTC_STATE_VBLANK); - top_pipe_to_program->stream_res.tg->funcs->wait_for_state( + top_pipe_to_program->stream_res.tg->funcs->wait_for_state( top_pipe_to_program->stream_res.tg, CRTC_STATE_VACTIVE); -- 2.20.1.7.g153144c