From: Jesse Casco <jesse.casco@gmail.com>
To: Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>
Cc: Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jesszhan0024@gmail.com>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Jesse Casco <jesse.casco@gmail.com>,
stable@vger.kernel.org
Subject: [PATCH] drm/msm/dpu: link Glymur layer mixers 4-7 to DSPPs 4-7
Date: Fri, 27 Nov 2026 16:08:57 -0500 [thread overview]
Message-ID: <20261127210857.65336-1-jesse.casco@gmail.com> (raw)
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
reply other threads:[~2026-11-27 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127210857.65336-1-jesse.casco@gmail.com \
--to=jesse.casco@gmail.com \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.