]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/dpu: correct LM pairing for SM6150
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 17 Dec 2024 12:35:40 +0000 (14:35 +0200)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Sat, 15 Feb 2025 19:46:42 +0000 (11:46 -0800)
The SM6150 platform doesn't have 3DMux (MERGE_3D) block, so it can not
split the screen between two LMs. Drop lm_pair fields as they don't make
sense for this platform.

Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Fixes: cb2f9144693b ("drm/msm/dpu: Add SM6150 support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/629377/
Link: https://lore.kernel.org/r/20241217-dpu-fix-sm6150-v2-1-9acc8f5addf3@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h

index 621a2140f675fa28b3a7fcd8573e59b306cd6832..d761ed705bac30d9ffef3c0c9140e5e8a5e930ad 100644 (file)
@@ -116,14 +116,12 @@ static const struct dpu_lm_cfg sm6150_lm[] = {
                .sblk = &sdm845_lm_sblk,
                .pingpong = PINGPONG_0,
                .dspp = DSPP_0,
-               .lm_pair = LM_1,
        }, {
                .name = "lm_1", .id = LM_1,
                .base = 0x45000, .len = 0x320,
                .features = MIXER_QCM2290_MASK,
                .sblk = &sdm845_lm_sblk,
                .pingpong = PINGPONG_1,
-               .lm_pair = LM_0,
        }, {
                .name = "lm_2", .id = LM_2,
                .base = 0x46000, .len = 0x320,