Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1383509imw; Tue, 5 Jul 2022 08:30:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHUR1KhOJhR9bKqDJ0+GA8APVR1cKizCoR8BK7OOoenNHiPDMbCXABGooxJduE7RmaQg9S X-Received: by 2002:a17:90b:4b81:b0:1ec:adbe:3b0b with SMTP id lr1-20020a17090b4b8100b001ecadbe3b0bmr43365348pjb.147.1657035011810; Tue, 05 Jul 2022 08:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657035011; cv=none; d=google.com; s=arc-20160816; b=ZKVXVVEd4Znf1UJVGGMdd3UrRkSvzZ7Za+U5Kku0M/PEhveq0Yw443Nt8xPNLyvfqK 2sIDsGwPAS58Hl7ZWQ2SKpqvkVjho3hLTGsAYG8BV4vIgv7l+9OebQd476OxU55XnqXQ rafo4z5jd8dxSdx3lD39PXVs7vMcHFW4y8wI/GhGPygB8QT4hr79CF5dhqd95pgqSkqf a3gce3zp2ZFd1C9g1AcG2R1i8HMpSqyhPVrmWiESsc3hBZXPeRD+Qm8yq+qpYfpENW2H DnhPzW/75y2aJ1rp0kyW211etfSXFEtwzXiGQ2QhNEovAa0UXW1G9qUoakbT2E6jMX3a HFKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=e3kw5vLPMONRD7S5nAa5Acr9enRSFx2J1QfhaJiVIgE=; b=L80rDaDAfmjnF6uhHg83oXQEv2OgOsAMUD5Qow8pTfHSors6exxBCoY3NagU25THbc TwclKuCXo4qgRu6Vu25k21tDH1g56UFw8ETTmG5ib3Gs6yl1+lVIdt1E6VBWgA5JYwFZ sLYcy8wwXVmuKMmT7wllHbffln4/rkQmXJg01S0F3SLRAFIVf458cFQXVKNsM+40VYES VD4DzE9IBmtj+8yZJX/rjV2ft5NLyxHN5qIrzd4reGuGcVXEduBl93U4AUAadpImOLUf p/zmg9jfOi4Dopcvhf5YJDQkBBpcEhiP2+amxQlVSFfxvziYgeQ4BbQvV7MdUBcWay/d QGsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TIROAxwT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a63fe05000000b0040c8a3cab3esi39877053pgh.638.2022.07.05.08.29.59; Tue, 05 Jul 2022 08:30:11 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TIROAxwT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231213AbiGEPWX (ORCPT + 99 others); Tue, 5 Jul 2022 11:22:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbiGEPWW (ORCPT ); Tue, 5 Jul 2022 11:22:22 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5028E186FA for ; Tue, 5 Jul 2022 08:22:21 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id ay16so22250526ejb.6 for ; Tue, 05 Jul 2022 08:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e3kw5vLPMONRD7S5nAa5Acr9enRSFx2J1QfhaJiVIgE=; b=TIROAxwTY1iB5sL609Gl6MrUwmy3R8AXy0J1bpxcm9zICOP9DFZSzru39IUqURPuEK iTt90s3LIu9Xgk0P/KBSwYjx4cBdABieWvDEvSRK/u6OjlV8VHVvP+m8a1NxFluaZsrQ zXK4PS71s/Oc/OxkLMDh10TSMt3XGjw89fe9q85QNxdNW5OusF7mEU16kWjfoVEuPNTF LxIZA0e1sBao40mVDNpfLaQEXB9gduQJ5BduLdZavTm18whHvQ6Ht0O7KVJ5mjRVRL7C E1zSuyZ0S0YzPd/bx0IVszHwNLycOcZVwjEoOZfZl47tNYdJ0BhChaOy5K+ENK/byQsx Z9zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e3kw5vLPMONRD7S5nAa5Acr9enRSFx2J1QfhaJiVIgE=; b=sid2gYVS9pknkPKKGt/jJfXynaJsBqjyrT3FSw2GpYQ5qCZG6MtivOWNOErNoBqUw9 FWHBQ8nT70epPNmJ+OROqz2CMN1FUr/UJpmDVa/grYKGvUmZlEHkXv23aYCW8LDd8OE0 3oPsLh9mS6xD0ndayCXu8jM3vv6FmnBj+op1l19MuKRyTFAlxgpR7RCloq+ERapkDNNP PuX1dKmABh+CYjK4xXGz29L6xa/TzWovWWURRk1qpGR/87uyjOs2qrPYnNvWQJSOwEcE rezZAKnOfTVB96vrOt4BkZyRIyLP7tG60tbgQ49dhBGYxcgWbHrwCwfL6+qzc1TXAZ+E 22kw== X-Gm-Message-State: AJIora/3EenV5nm1Zd4zWygL0pZx+fIYxY22+ePpA1Etd7PfvRv+cFSx viQJkDn/h9aaZp4tgCb9y3v/9YYy+85OAL+ICLs= X-Received: by 2002:a17:907:2706:b0:72a:3216:96bd with SMTP id w6-20020a170907270600b0072a321696bdmr33656915ejk.658.1657034539799; Tue, 05 Jul 2022 08:22:19 -0700 (PDT) MIME-Version: 1.0 References: <20220701091914.66476-1-yang.lee@linux.alibaba.com> In-Reply-To: <20220701091914.66476-1-yang.lee@linux.alibaba.com> From: Alex Deucher Date: Tue, 5 Jul 2022 11:22:06 -0400 Message-ID: Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indenting To: Yang Li Cc: "Wentland, Harry" , "Leo (Sunpeng) Li" , xinhui pan , "Siqueira, Rodrigo" , LKML , amd-gfx list , Dave Airlie , Maling list - DRI developers , "Deucher, Alexander" , Christian Koenig Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Applied. Thanks! Alex On Fri, Jul 1, 2022 at 5:24 AM Yang Li wrote: > > 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 >