drm/msm/dpu: enable DSPP_2/3 for LM_2/3 on sm8450
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 8 Apr 2023 00:27:48 +0000 (03:27 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 19 May 2023 16:44:10 +0000 (19:44 +0300)
Mark DSPP_2 and DSPP_3 as used for LM_2 and LM_3

Fixes: 100d7ef6995d ("drm/msm/dpu: add support for SM8450")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/531491/
Link: https://lore.kernel.org/r/20230408002750.2722304-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h

index 4ecb3df..8bd4bb9 100644 (file)
@@ -107,9 +107,9 @@ static const struct dpu_lm_cfg sm8450_lm[] = {
        LM_BLK("lm_1", LM_1, 0x45000, MIXER_SDM845_MASK,
                &sdm845_lm_sblk, PINGPONG_1, LM_0, DSPP_1),
        LM_BLK("lm_2", LM_2, 0x46000, MIXER_SDM845_MASK,
-               &sdm845_lm_sblk, PINGPONG_2, LM_3, 0),
+               &sdm845_lm_sblk, PINGPONG_2, LM_3, DSPP_2),
        LM_BLK("lm_3", LM_3, 0x47000, MIXER_SDM845_MASK,
-               &sdm845_lm_sblk, PINGPONG_3, LM_2, 0),
+               &sdm845_lm_sblk, PINGPONG_3, LM_2, DSPP_3),
        LM_BLK("lm_4", LM_4, 0x48000, MIXER_SDM845_MASK,
                &sdm845_lm_sblk, PINGPONG_4, LM_5, 0),
        LM_BLK("lm_5", LM_5, 0x49000, MIXER_SDM845_MASK,