Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp748442imn; Tue, 26 Jul 2022 08:15:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uTh6hktiZZ9yBJMb6+pbTR1rqp95FUy6wj4WsCvi4c8r2J51kfabfFKWF/MB+4TvBJnZAE X-Received: by 2002:a17:907:2807:b0:72b:4530:29d5 with SMTP id eb7-20020a170907280700b0072b453029d5mr15004361ejc.69.1658848549470; Tue, 26 Jul 2022 08:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658848549; cv=none; d=google.com; s=arc-20160816; b=igaItATuuhxl7h/LJXXK7SgaWuqu0H3suu8rypF+/XCPDLwg7Qy/SxgHdBBf3ycpzD ydHX/AyehFSmNdbIhAZ6YrA4mcHXR9PUnFRGbNvNDNZqklW/aMIG1Dt4tcH++Tgdl2VX ETDVOsmFbWipTgLj10xwSh/x1+Z/r2rl97W1racMpFuJz39hYeFNcofe+Rdb6vS0BAcY iSm0sokndUippWLxSMux900irDL3QV4p3fyKNNu0EZiQ5Gk3PCoL75pI8yB0DZDEU742 TesNqkbtDyfhRYwDt0kTfsfMLWXf22WL214WSYza0NxeaiaqxihYWHtgCuSeVlKHk6Jz cSIg== 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=yBRJ8tjENtSpeGeTiHbZwiRBnJ1kinArNIbw/C/Deio=; b=LwU7W0kgulM7l12YqVZYOYPrwBLtvXrpkknu096flU9ZfZ2rLbtIMTMmXnhERWuARl R8Ogei8W9B5ARv/OiRYC1koqGWyhTWdV6ZRFh3NwaIAdQzqUcU5qbrMTzbJoaTc3iqzh qMAnro+6EdnUVIHN4AecrKO0qBgWjx6OzfmKR/vuIWeIbDJwxR9i5jeHiisPCwcreBw/ /V9w/ncWTv9O9OyIEdIccfJ0nlDb0xGXWEI8evcjftAUtPtHeJqWVUxSi6JJDSx87GMf Bs/Dcc5lGRK28OntLZJ5lD+rWO6obxRfXuDuYtJF3nA5lvWKWSE+taoNaDKKxPoxD3EG AZ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hnWhl18E; 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 i8-20020a1709064fc800b0072ac1a55095si18805016ejw.6.2022.07.26.08.15.24; Tue, 26 Jul 2022 08:15:49 -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=hnWhl18E; 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 S234044AbiGZPNE (ORCPT + 99 others); Tue, 26 Jul 2022 11:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233598AbiGZPNC (ORCPT ); Tue, 26 Jul 2022 11:13:02 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755DB2F02A for ; Tue, 26 Jul 2022 08:13:01 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id u12so13069703edd.5 for ; Tue, 26 Jul 2022 08:13:01 -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=yBRJ8tjENtSpeGeTiHbZwiRBnJ1kinArNIbw/C/Deio=; b=hnWhl18EZMAMwY1NbWl9Q2ew4kUnjjCqLMbb0F9JJjclqDY7CuP912KLiNKu590o+1 8RnF31fx2WT2LYTxOEFlaS6xTqeFZQpvL6tqgLaEcBuyRfeADvMyMNu7WKCDqi4h+FQc aeP8E4YfZNPbL8yntzBlyrsxz96lXL2twpARm5kz32NHETxnRGKnDz3uZSV9PMuODHwB 32GcyieXHvubioLoH1q0V7YJgJRjd8AdV7VH9OCH2Cfw96PKVgwSF2ZK1GvnKPO+DMeL dT3lhkXWhgL04qhFKhUWZylGGXoTebKaYIcUqEVB39EMYhRJ5lYkhfD5zxkRB8i5oFD2 T8CA== 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=yBRJ8tjENtSpeGeTiHbZwiRBnJ1kinArNIbw/C/Deio=; b=R+Sttwoj3GVTm3KoMNuEaDVBFkKgtEhnW86msJ35SJ9GTqN4t3rOJOQOozuXhcnA4T NM7PfhOUHVpL9fqhMj7m+oX1GEP4IU4W6qpwejHfu+01ziI2EkDD89UWVuEk0RMuncMH +PvHRdKLvj/bQkSp01dMGaIEgdTBckLXJFV6CoFezdGzYKoiTbNe2ygRh2tIKhVdHyaY TzBU6I7fiAm4ZCW1rWga7m5IHAOlcigwai4ZV/POoTyOV+rD33BpI+LFU87OF2+M6wwM iZ2N9ostO5nG+TioWRLrshaM+JyLyP4Q81DGxhpP+orsqTQRkzdToVGf+2p89+PPFW70 MWtg== X-Gm-Message-State: AJIora9uz943PgSAPDdXY3jriLlPCqiqFlFMcjpNJsQimn/+ocnkLuvY tl3Nij5L1g8KZ2/8ivpyF/IQh626imPeB9NTokc= X-Received: by 2002:a05:6402:248d:b0:437:dd4c:e70e with SMTP id q13-20020a056402248d00b00437dd4ce70emr18432424eda.75.1658848379911; Tue, 26 Jul 2022 08:12:59 -0700 (PDT) MIME-Version: 1.0 References: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> From: Alex Deucher Date: Tue, 26 Jul 2022 11:12:48 -0400 Message-ID: Subject: Re: [PATCH 01/20] drm/amd/display: Clean up some inconsistent indenting To: Jiapeng Chong Cc: alexander.deucher@amd.com, airlied@linux.ie, Xinhui.Pan@amd.com, Abaci Robot , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, christian.koenig@amd.com 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 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 the series. Thanks! Alex On Tue, Jul 26, 2022 at 3:26 AM Jiapeng Chong wrote: > > No functional modification involved. > > smatch warning: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hwseq.c:910 dcn32_init_hw() warn: inconsistent indenting. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c > index b6bada383958..201516a62b4b 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c > @@ -907,10 +907,10 @@ void dcn32_init_hw(struct dc *dc) > dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub); > > // Get DMCUB capabilities > - if (dc->ctx->dmub_srv) { > - dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub); > - dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; > - } > + if (dc->ctx->dmub_srv) { > + dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub); > + dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; > + } > } > > static int calc_mpc_flow_ctrl_cnt(const struct dc_stream_state *stream, > -- > 2.20.1.7.g153144c >