drm/msm/dpu: link Glymur layer mixers 4-7 to DSPPs 4-7
Subsystems (4)
PATCH 1/1 drm/msm/dpu: link Glymur layer mixers 4-7 to DSPPs 4-7
The Glymur DPU catalog defines eight DSPP blocks (DSPP_0..DSPP_7), but only LM_0..LM_3 set .dspp. When a CRTC requests a DSPP per mixer (e.g. for a CTM or gamma LUT), any third display assigned to LM_4..LM_7 fails resource reservation:
LM_4, invalid DSPP_-1
failed to reserve hw resources: -119
Set .dspp = DSPP_4..DSPP_7 on LM_4..LM_7 to match the declared DSPP blocks. Tested on an ASUS Zenbook A16 (UX3607OA) with eDP, HDMI, and USB-C DP active simultaneously.
Fixes e2aeb8deddae ("drm/msm/dpu: Add support for Glymur")
Signed-off-by Jesse Casco <[email protected]>
--- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h +4 -0
@@ -175,6 +175,7 @@ static const struct dpu_lm_cfg glymur_lm[] = { .sblk = &sm8750_lm_sblk, .lm_pair = LM_5, .pingpong = PINGPONG_4, + .dspp = DSPP_4, }, { .name = "lm_5", .id = LM_5, .base = 0x49000, .len = 0x400,
@@ -182,6 +183,7 @@ static const struct dpu_lm_cfg glymur_lm[] = { .sblk = &sm8750_lm_sblk, .lm_pair = LM_4, .pingpong = PINGPONG_5, + .dspp = DSPP_5, }, { .name = "lm_6", .id = LM_6, .base = 0x4a000, .len = 0x400,
@@ -189,6 +191,7 @@ static const struct dpu_lm_cfg glymur_lm[] = { .sblk = &sm8750_lm_sblk, .lm_pair = LM_7, .pingpong = PINGPONG_6, + .dspp = DSPP_6, }, { .name = "lm_7", .id = LM_7, .base = 0x4b000, .len = 0x400,
@@ -196,6 +199,7 @@ static const struct dpu_lm_cfg glymur_lm[] = { .sblk = &sm8750_lm_sblk, .lm_pair = LM_6, .pingpong = PINGPONG_7, + .dspp = DSPP_7, }, };
Signature · 1 line
2.56.0