From: "Beat M. Liechti" <beat@softbase.tech>
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>,
Federico Amedeo Izzo <federico@izzo.pro>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
"Beat M. Liechti" <beat@softbase.tech>
Subject: [PATCH v2 0/2] drm/msm: fix CTL/LM swap on color management changes
Date: Sun, 1 Nov 2026 13:26:56 +0100 [thread overview]
Message-ID: <20261101122943.8155-1-beat@softbase.tech> (raw)
In-Reply-To: <20261101095754.33840-1-beat@softbase.tech>
Closing the lid of an X1E laptop under GNOME with an external display
attached moves the still active external CRTC to other CTL/LM blocks
without a modeset, which ends in SMMU faults and a hung display
pipeline. Patch 1 fixes that in DPU. Patch 2 removes the CTM-only
allow_modeset hack in msm_atomic_check(), which patch 1 makes
redundant.
Changes in v2:
- Patch 1: don't set allow_modeset on behalf of userspace (Dmitry)
- Patch 2: new, drops the legacy CTM check (Sashiko review)
- Link to v1: https://lore.kernel.org/r/20261101095754.33840-1-beat@softbase.tech
Beat M. Liechti (2):
drm/msm/dpu: don't reassign resources on color management changes
drm/msm: drop the CTM modeset hack from msm_atomic_check()
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 25 +++++++++++++++++++++---
drivers/gpu/drm/msm/msm_atomic.c | 17 +---------------
2 files changed, 23 insertions(+), 19 deletions(-)
--
2.53.0
next prev parent reply other threads:[~2026-11-01 12:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 9:57 [PATCH] drm/msm/dpu: don't reassign resources " Beat M. Liechti
2026-11-01 10:58 ` Dmitry Baryshkov
2026-11-01 12:26 ` Beat M. Liechti [this message]
2026-11-01 12:26 ` [PATCH v2 1/2] " Beat M. Liechti
2026-11-01 12:26 ` [PATCH v2 2/2] drm/msm: drop the CTM modeset hack from msm_atomic_check() Beat M. Liechti
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=20261101122943.8155-1-beat@softbase.tech \
--to=beat@softbase.tech \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=federico@izzo.pro \
--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 \
/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 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®