* [PATCH] drm/msm/dpu: link Glymur layer mixers 4-7 to DSPPs 4-7
@ 2026-11-27 21:08 Jesse Casco
0 siblings, 0 replies; only message in thread
From: Jesse Casco @ 2026-11-27 21:08 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov
Cc: Abhinav Kumar, Jessica Zhang, Sean Paul, Marijn Suijten,
David Airlie, Simona Vetter, linux-arm-msm, dri-devel, freedreno,
linux-kernel, Jesse Casco, stable
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")
Cc: stable@vger.kernel.org
Signed-off-by: Jesse Casco <jesse.casco@gmail.com>
---
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h
index 4eb4a0e..280df25 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h
@@ -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,
},
};
--
2.56.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 21:08 [PATCH] drm/msm/dpu: link Glymur layer mixers 4-7 to DSPPs 4-7 Jesse Casco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®