Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp924325rwr; Thu, 4 May 2023 11:23:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L47w4Jbym4O+fDFqf+fJenBoid31DjOjuwbu5QdD3QOuICcOLbIk9eeZA2RxauOKlRX94 X-Received: by 2002:a05:6a20:c18a:b0:f1:ff77:4a32 with SMTP id bg10-20020a056a20c18a00b000f1ff774a32mr3500302pzb.9.1683224630684; Thu, 04 May 2023 11:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683224630; cv=none; d=google.com; s=arc-20160816; b=OCS0BO7Du4hmmJKA4RxWxbM3MUk7j6sdTfu5UkecmPCiCo/vbN8Ggj7lvx5xNkf2Jq 1p7RHo64XDMEAT28MblWwamGpbnXlw/aWG6p2+OHkwrbfPfhvcvhQxbS5jh/pzXowGiz ZcZC0CnavA12YtH+PfBHryM5+A1HibSM1m1FO/dk3PhYq+I3GXEjeFFYo4V4Mw5D8qfG dlVthRhvA4RvbzX181ZeygLI54MOTtuh6ao+rmYSRHLTyXsmejCpmjjhMj1aFZf/983W Q3ZwaB+6a21k/xR54iS1KtX9jYWp3jNQFcjXIq7mRyJuPfYtewbgx9Oq6B+NhE7HWRNS h9bA== 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=DleFQq1oL9r36GMXOPBcUsW/20e1e8t7I+9BlpN+sCk=; b=0adzFJyMCskVLczRZEcLyCWAKqp2YD32/hOmqK2uo88uRLtAAp4ShltiGtBnXOGDN1 C+kk0JfSFLxabH69uBtZfBXkSffMVl9aI+Ac9+TkFnVoNwv68qhoo3JGJaQX8wRlbEiB nMn65M3981kJ1jGDTmDQqUTP1X2K6H2B/dDTAtr2jXe36n79h3AnDpd+oEVthVo1cqoT MoUEB2spNFc4mH91MthpBWnw4qW4FdFW/bkrE9VX61yBkOTlFW+GnZjBVmVRBoCaO9kg +Z+haU5nxD6dIU0BNXGaUw+T+EdIAZKJQHTy51rK1+EqOWXP7VGuhkfqVZcL1qiIhPI6 USyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nSKYERY5; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020aa79f46000000b0063b8af69b09si3113pfr.314.2023.05.04.11.23.34; Thu, 04 May 2023 11:23: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; dkim=pass header.i=@linaro.org header.s=google header.b=nSKYERY5; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjEDRxs (ORCPT + 99 others); Thu, 4 May 2023 13:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEDRxr (ORCPT ); Thu, 4 May 2023 13:53:47 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72536E72 for ; Thu, 4 May 2023 10:53:45 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-b9dea9d0360so1146431276.1 for ; Thu, 04 May 2023 10:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683222824; x=1685814824; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DleFQq1oL9r36GMXOPBcUsW/20e1e8t7I+9BlpN+sCk=; b=nSKYERY581rq0+fH1rj/XgdvvW1miOwKrorm++ur/riaFolZ8Qu8RxY1zJdm3iHl16 xrcyqU0nkodV+b/acpd8NbVq4V5F0kt83HDegFSQCJnf0cuftENIO9Qu1BYCnk+bYZDw 8BUUr/qBDWO2YegH22muuKGbSXYIIHMNJcQ0E2w32C1l/Xf1UXpJQlEgyiat/h+yz+ov c/p44/TA+Dxxal4cOy4PMh//Z/cj5rL8bu5eer+Cov79cyvYYYhgbqOYnr+PyfCpHkQ/ 1nN5IoIxo+XH/GoCi0JOC/j23YUF6jHM2g7EJXsXyqG9xTmAagGe9whv3ahQOQ9bE0ST Tttw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683222824; x=1685814824; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DleFQq1oL9r36GMXOPBcUsW/20e1e8t7I+9BlpN+sCk=; b=SCti8yKlj4dPV7EhM9fWCgIRxj9WAV7J++XgzUiMYRyTJc6I5MzY5DTGNtFRv5GNdD Fejuiyz0eIFBKohJqGkNe8dNQbMqCHDjJx7exnUnRmPZeLNjBROuNl+JU43DdAFC0AeU urgUCX0P4rD77/1P6wlpqboOnoFHoAtL0fkMok0aONrhTLv4pHS6DI8mtOIjabweUSuT fGAH4p3jWE7wjPWSGAro3yXOtzqCXM8Lxxn3JWoNQU7Kq3eqvulrbBUEzZTusv7lEmOW atWzfD6e/neUnt6pwJlQ8TWuNv0ICP0Z3PtwjVBdnrBZtuziBa2aaNOjobXIwpxnDrQ4 I6tg== X-Gm-Message-State: AC+VfDxsVlnT6v8jVU/F4VVYS3gwcdWm8K2HXrx6Qshb2g0w9zqmTNSC RfQqdfxzZsCVF7LNzsQzzn9fGe+2J3Y+OxoETss8cg== X-Received: by 2002:a25:2590:0:b0:b9e:8172:5860 with SMTP id l138-20020a252590000000b00b9e81725860mr756576ybl.20.1683222824564; Thu, 04 May 2023 10:53:44 -0700 (PDT) MIME-Version: 1.0 References: <1683218805-23419-1-git-send-email-quic_khsieh@quicinc.com> <1683218805-23419-4-git-send-email-quic_khsieh@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Thu, 4 May 2023 20:53:33 +0300 Message-ID: Subject: Re: [PATCH v5 3/7] drm/msm/dpu: add DPU_PINGPONG_DSC bits into PP_BLK and PP_BLK_TE marcos To: Marijn Suijten Cc: Kuogee Hsieh , dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, swboyd@chromium.org, dianders@chromium.org, vkoul@kernel.org, daniel@ffwll.ch, airlied@gmail.com, agross@kernel.org, andersson@kernel.org, quic_abhinavk@quicinc.com, quic_sbillaka@quicinc.com, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org 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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Thu, 4 May 2023 at 20:49, Marijn Suijten wrote: > > PP_BLK_TE is no longer there. > > marcos -> macros. > > On 2023-05-04 09:46:41, Kuogee Hsieh wrote: > > At legacy chipsets, it required DPU_PINGPONG_DSC bit be set to indicate > > I may have not made this clear, but the comments on patch 2/7 > (introducing the DPU_PINGPONG_DSC bit) also apply to this patch: clarify > DPU 7.0.0 exactly in favour of "legacy", which has no definition at all > and changes over time. > > > pingpong ops functions are required to complete DSC data path setup if > > this chipset has DSC hardware block presented. This patch add > > DPU_PINGPONG_DSC bit to both PP_BLK and PP_BLK_TE marcos if it has DSC > > hardware block presented. > > Strictly speaking this patch together with 2/7 is not bisectable, as 2/7 > first disables the callbacks for _all_ hardware and then this patch adds > it back by adding the flag to all DPU < 7.0.0 catalog descriptions. I asked to split these into two patches, but I see your point and partially agree with it. However if we mix the catalog changes with functional changes, it is too easy to overlook or misjudge the functional changes. As you are correct about bisectability, I'd probably suggest either having three patches (define flag, update catalog, handle flag in the driver) or squashing first two patches to have two patches (add flag + catalog, separate functional changes). > > To solve that, as we do in other DPU patch-series, just squash this > patch into 2/7. That way you also don't have to spend extra time > rewording this commit message either to match the improvements we made > in 2/7 (for example, you mention that "ops functions are required to > complete DSC data path setup", but those were already available before > 2/7, despite sounding as if this is a new thing that was previously > missing entirely). > > But please wait at least a couple days before sending v6. I only have a > few hours every day/week but would appreciate to review and test all the > other patches. > > > Signed-off-by: Kuogee Hsieh > > --- > > .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 16 +++++++-------- > > .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 16 +++++++-------- > > .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 24 +++++++++++----------- > > .../drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 24 +++++++++++----------- > > .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 24 +++++++++++----------- > > 5 files changed, 52 insertions(+), 52 deletions(-) > > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > > index 521cfd5..ef92545 100644 > > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > > @@ -112,17 +112,17 @@ static const struct dpu_lm_cfg msm8998_lm[] = { > > }; > > > > static const struct dpu_pingpong_cfg msm8998_pp[] = { > > - PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SDM845_TE2_MASK, 0, sdm845_pp_sblk_te, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > + PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SDM845_TE2_MASK|BIT(DPU_PINGPONG_DSC), > > This should be added to the MASK (add new #define's where necessary). > > - Marijn > > > + 0, sdm845_pp_sblk_te, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 12)), > > - PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SDM845_TE2_MASK, 0, sdm845_pp_sblk_te, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > + PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SDM845_TE2_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk_te, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 13)), > > - PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SDM845_MASK, 0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > + PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SDM845_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 14)), > > - PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SDM845_MASK, 0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > + PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SDM845_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 15)), > > }; > > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h > > index b109757..697fbd8 100644 > > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h > > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h > > @@ -110,17 +110,17 @@ static const struct dpu_lm_cfg sdm845_lm[] = { > > }; > > > > static const struct dpu_pingpong_cfg sdm845_pp[] = { > > - PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SDM845_TE2_MASK, 0, sdm845_pp_sblk_te, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > + PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SDM845_TE2_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk_te, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 12)), > > - PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SDM845_TE2_MASK, 0, sdm845_pp_sblk_te, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > + PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SDM845_TE2_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk_te, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 13)), > > - PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SDM845_MASK, 0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > + PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SDM845_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 14)), > > - PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SDM845_MASK, 0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > + PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SDM845_MASK|BIT(DPU_PINGPONG_DSC), > > + 0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 15)), > > }; > > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h > > index 30aff2b..cb117ca 100644 > > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h > > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h > > @@ -128,23 +128,23 @@ static const struct dpu_dspp_cfg sm8150_dspp[] = { > > }; > > > > static const struct dpu_pingpong_cfg sm8150_pp[] = { > > - PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > + PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > -1), > > - PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > + PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > -1), > > - PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > + PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > -1), > > - PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > + PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > -1), > > - PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > + PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > -1), > > - PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > + PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > -1), > > }; > > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > > index fec1665..27eda6a 100644 > > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > > @@ -116,23 +116,23 @@ static const struct dpu_lm_cfg sc8180x_lm[] = { > > }; > > > > static const struct dpu_pingpong_cfg sc8180x_pp[] = { > > - PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > + PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > -1), > > - PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > + PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > -1), > > - PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > + PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > -1), > > - PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > + PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > -1), > > - PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > + PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > -1), > > - PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > + PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > -1), > > }; > > > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h > > index 37716b8..70fdd4d 100644 > > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h > > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h > > @@ -129,23 +129,23 @@ static const struct dpu_dspp_cfg sm8250_dspp[] = { > > }; > > > > static const struct dpu_pingpong_cfg sm8250_pp[] = { > > - PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > + PP_BLK("pingpong_0", PINGPONG_0, 0x70000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > > -1), > > - PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK, MERGE_3D_0, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > + PP_BLK("pingpong_1", PINGPONG_1, 0x70800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_0, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > > -1), > > - PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > + PP_BLK("pingpong_2", PINGPONG_2, 0x71000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > > -1), > > - PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK, MERGE_3D_1, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > + PP_BLK("pingpong_3", PINGPONG_3, 0x71800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_1, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > > -1), > > - PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > + PP_BLK("pingpong_4", PINGPONG_4, 0x72000, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > > -1), > > - PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK, MERGE_3D_2, sdm845_pp_sblk, > > - DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > + PP_BLK("pingpong_5", PINGPONG_5, 0x72800, PINGPONG_SM8150_MASK|BIT(DPU_PINGPONG_DSC), > > + MERGE_3D_2, sdm845_pp_sblk, DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > > -1), > > }; > > > > -- > > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > > a Linux Foundation Collaborative Project > > -- With best wishes Dmitry