Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9C50C63797 for ; Wed, 1 Feb 2023 11:26:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbjBAL0i (ORCPT ); Wed, 1 Feb 2023 06:26:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbjBAL0g (ORCPT ); Wed, 1 Feb 2023 06:26:36 -0500 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [IPv6:2001:4b7a:2000:18::164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0890B9EFC for ; Wed, 1 Feb 2023 03:26:34 -0800 (PST) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 13790200EA; Wed, 1 Feb 2023 12:26:33 +0100 (CET) Date: Wed, 1 Feb 2023 12:26:31 +0100 From: Marijn Suijten To: Kalyan Thota Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robdclark@chromium.org, dianders@chromium.org, swboyd@chromium.org, quic_vpolimer@quicinc.com, dmitry.baryshkov@linaro.org, quic_abhinavk@quicinc.com Subject: Re: [v1 2/3] drm/msm/disp/dpu1: add dspps into reservation if there is a ctm request Message-ID: <20230201112631.mgwuboehrwdefqnd@SoMainline.org> References: <1675092092-26412-1-git-send-email-quic_kalyant@quicinc.com> <1675092092-26412-3-git-send-email-quic_kalyant@quicinc.com> <20230201111604.htgczy6yvdkywhvl@SoMainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230201111604.htgczy6yvdkywhvl@SoMainline.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-02-01 12:16:05, Marijn Suijten wrote: > > + if (dpu_kms->catalog->dspp && > > + crtc_state->ctm && (dpu_kms->catalog->dspp_count >= topology.num_lm)) > > Multiline-if-clause is typically indented with two tabs, not a half tab > (4 spaces). Hmm, Dmitry requested indent-to-opening-parenthesis in v1 instead; and the majority of dpu1 uses the worst version of all: indent with a single tab so that the contents line up with the code block below. Dmitry, I'll leave final say to you (and fix it up in my own DPU series accordingly too). - Marijn