]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/dpu: link DSPP_2/_3 blocks on SM8350
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 20 Dec 2024 01:28:33 +0000 (03:28 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 24 Dec 2024 04:27:16 +0000 (06:27 +0200)
Link DSPP_2 to the LM_2 and DSPP_3 to the LM_3 mixer blocks. This allows
using colour transformation matrix (aka night mode) with more outputs at
the same time.

Fixes: 0e91bcbb0016 ("drm/msm/dpu: Add SM8350 to hw catalog")
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/629959/
Link: https://lore.kernel.org/r/20241220-dpu-fix-catalog-v2-5-38fa961ea992@linaro.org
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h

index aced16e350daa1bf5d24078b2468b5095a40ce07..f7c08e89c882038aa658955ca1202bda3d928e80 100644 (file)
@@ -162,6 +162,7 @@ static const struct dpu_lm_cfg sm8350_lm[] = {
                .sblk = &sdm845_lm_sblk,
                .lm_pair = LM_3,
                .pingpong = PINGPONG_2,
+               .dspp = DSPP_2,
        }, {
                .name = "lm_3", .id = LM_3,
                .base = 0x47000, .len = 0x320,
@@ -169,6 +170,7 @@ static const struct dpu_lm_cfg sm8350_lm[] = {
                .sblk = &sdm845_lm_sblk,
                .lm_pair = LM_2,
                .pingpong = PINGPONG_3,
+               .dspp = DSPP_3,
        }, {
                .name = "lm_4", .id = LM_4,
                .base = 0x48000, .len = 0x320,