]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/dpu: on SDM845 move DSPP_3 to LM_5 block
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 5 Sep 2024 03:26:13 +0000 (06:26 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 21 Oct 2024 11:09:05 +0000 (14:09 +0300)
On the SDM845 platform the DSPP_3 is used by the LM_5. Correct
corresponding entries in the sdm845_lm array.

Fixes: c72375172194 ("drm/msm/dpu/catalog: define DSPP blocks found on sdm845")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/612584/
Link: https://lore.kernel.org/r/20240905-dpu-fix-sdm845-catalog-v1-1-3363d03998bd@linaro.org
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h

index 7a23389a57327273ae313cf0ce801ab0f6e384af..59eeea3dd2e9f94092a5d030e9de1a5fc1af2631 100644 (file)
@@ -161,7 +161,6 @@ static const struct dpu_lm_cfg sdm845_lm[] = {
                .features = MIXER_SDM845_MASK,
                .sblk = &sdm845_lm_sblk,
                .pingpong = PINGPONG_NONE,
-               .dspp = DSPP_3,
        }, {
                .name = "lm_4", .id = LM_4,
                .base = 0x0, .len = 0x320,
@@ -175,6 +174,7 @@ static const struct dpu_lm_cfg sdm845_lm[] = {
                .sblk = &sdm845_lm_sblk,
                .lm_pair = LM_2,
                .pingpong = PINGPONG_3,
+               .dspp = DSPP_3,
        },
 };