Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp52905pxh; Thu, 7 Apr 2022 13:44:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0Vjr04pHPQ6ekwZFIWd+5xmDEarIgfe77KR8ExMx5ZepIJLtI2tvXnD95VaIFkxIE5ZqE X-Received: by 2002:a65:4681:0:b0:382:b4f5:84c2 with SMTP id h1-20020a654681000000b00382b4f584c2mr12656956pgr.218.1649364253738; Thu, 07 Apr 2022 13:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649364253; cv=none; d=google.com; s=arc-20160816; b=T7TKKG9cdJfSOJw+0djWIwmbuAynsH8PT8Z7NepW47GXaytOJWRZJUhgeCyQt2QlhV fMHb+wLg2WbSVDz5Q9Y+Rxr0xT1COTlDrSzfzKTVJsrrvSm5wTxCxERIAypSn+kOeSTz n0SAMjkXJ7oH8JRzCQH/a9mguW6WwJv2HteK25OJ62qnoLZ4mo2aFO2cnWDFhS7y8fOM n1+kF9UNxezN1k1HcHeDhPj3blDps7aBYJPKH19OO62ywmox5OoGWghFhlPhxpzp8EjS EVa70jEaOM+JTGKz3mRGL8Q6xynf8Xqiehu5DGkMXnfdblRKN+lal+9Zp4QZ9/5h4o6e tlrg== 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=zvj/6TWHlPE3u4x5qOj/MKYPFT6/Bmdp2X/t9e2Hd8Y=; b=KLFDQov/51HC5PkEZ80d4h7s4FuOskk/Mpxok3Ks0A+Isel9aogJUFQCAl3ZBl2STP GjYq6+AKAKL+NkoENYa5+Y4ZsPRWcMBJ83v6HDMFb7V7v3NwQ8YDetEWAOFJDyee7bOW MWD7BPxEBt1A4qaAjYNlKlE8gbWQl4x99tKuaFLlPjiJCQu5UHTnfWDby1zUVArtb2uE YHKKJDcshbpu4vTlx7f4sLipmNZ0Bf3Hu3gEc7tnMmqH45e7xKEZddXxs6kRAqM+YnCU kHMYxh/wfPVyI/aOc3VqDlzRyJCHAAOGS1RT6tYrvLXIjFNaAynQdTdjdAqaiuAa5egB sgFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CQDxXIvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d9-20020a056a0010c900b004fa950150a6si21022328pfu.113.2022.04.07.13.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CQDxXIvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE7603CBF39; Thu, 7 Apr 2022 12:53:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345212AbiDGPyi (ORCPT + 99 others); Thu, 7 Apr 2022 11:54:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345206AbiDGPyg (ORCPT ); Thu, 7 Apr 2022 11:54:36 -0400 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9315C90D4 for ; Thu, 7 Apr 2022 08:52:34 -0700 (PDT) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-e1dcc0a327so6821645fac.1 for ; Thu, 07 Apr 2022 08:52:34 -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=zvj/6TWHlPE3u4x5qOj/MKYPFT6/Bmdp2X/t9e2Hd8Y=; b=CQDxXIvAORTaLH1lFp/KE84Zi+yDyH4SXv+XQEBC2Oyx8UdXxqtoLkVRDzoxXjT1Kl dvqd7S7bks2Rdp2q2GbnKtG5VbJ2SX8nPyMzRINh219Y9bvYBctWKRz1b5BB31xtcwMB QON9WWLgNfulPIpzzC2zVFMqo1k0IQQdzWDYQPJf/EiJkXgRImm0ORmd8ss6D6VbNFuj CM5IjjUdfZyCTfnlUOzQtoirtV6/kO7mWKoILCl4hu+IQtXxkzK0ioMpEKo/iZc6aXVt t5kCQOZE7FgPfPwYoeEKQJ0QuOB5wRr+48mzpcCXM1MxbDNBSjPKcJspb87V4VIPkWuL PhXQ== 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=zvj/6TWHlPE3u4x5qOj/MKYPFT6/Bmdp2X/t9e2Hd8Y=; b=RF/lNbimrfoBvb3sgvn8ejuUj9PLMII09qgeCor5JE2JKwRU6dQSjEepePyuy1JmWJ cuKJcZUboSyk1RVtEDfZ9QSVCRwC4/l8hZnXCiWqJSeNsCY+iucqHJAw7uU1IbWuIvsR 1OkAcVcNptJflp9p8I1VrXUHBkHzjROJ+kNlfUvy8EKgF4HDwviaoa+CMWBYAWng3irN jBI8KhciendRd6KHEMOgFXvMoWWpxnswHuuZxTcOSLgnZJkeuJ8KKLHU1FgaR8XXPdGM 2bb9vrlwYP1HSld9Ty7vVFI69rL6Rs3amWLiuUg0nEBll5qwDQXIhJQMa8ey5ShJ7e8v Vd+A== X-Gm-Message-State: AOAM532RFB71cHGfB3D9x2LGcc96Hf4DVDabsuF6smLaVlgvXTx/g6SL NkIwkY8Rvrxu2YWPzhh2lI5xQDHoG/uo/wmL2J2Cv0XH X-Received: by 2002:a05:6870:311d:b0:de:9b6c:362b with SMTP id v29-20020a056870311d00b000de9b6c362bmr6162010oaa.200.1649346753856; Thu, 07 Apr 2022 08:52:33 -0700 (PDT) MIME-Version: 1.0 References: <1649311250-17077-1-git-send-email-baihaowen@meizu.com> In-Reply-To: From: Alex Deucher Date: Thu, 7 Apr 2022 11:52:22 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c To: Harry Wentland Cc: Haowen Bai , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx list , Maling list - DRI developers , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, Apr 7, 2022 at 10:18 AM Harry Wentland wrote: > > > > On 2022-04-07 02:00, Haowen Bai wrote: > > Smatch reports the following: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2174 > > dcn10_enable_vblanks_synchronization() warn: if statement not indented > > > > Signed-off-by: Haowen Bai > > Reviewed-by: Harry Wentland > > Harry > > > --- > > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 14 +++++++------- > > 1 file changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c > > index ee22f4422d26..3c338b85040c 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c > > +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c > > @@ -2172,13 +2172,13 @@ void dcn10_enable_vblanks_synchronization( > > if (master >= 0) { > > for (i = 0; i < group_size; i++) { > > if (i != master && !grouped_pipes[i]->stream->has_non_synchronizable_pclk) > > - grouped_pipes[i]->stream_res.tg->funcs->align_vblanks( > > - grouped_pipes[master]->stream_res.tg, > > - grouped_pipes[i]->stream_res.tg, > > - grouped_pipes[master]->stream->timing.pix_clk_100hz, > > - grouped_pipes[i]->stream->timing.pix_clk_100hz, > > - get_clock_divider(grouped_pipes[master], false), > > - get_clock_divider(grouped_pipes[i], false)); > > + grouped_pipes[i]->stream_res.tg->funcs->align_vblanks( > > + grouped_pipes[master]->stream_res.tg, > > + grouped_pipes[i]->stream_res.tg, > > + grouped_pipes[master]->stream->timing.pix_clk_100hz, > > + grouped_pipes[i]->stream->timing.pix_clk_100hz, > > + get_clock_divider(grouped_pipes[master], false), > > + get_clock_divider(grouped_pipes[i], false)); > > grouped_pipes[i]->stream->vblank_synchronized = true; > > } > > grouped_pipes[master]->stream->vblank_synchronized = true; >