Skip to content

drm/msm: fix CTL/LM swap on color management changes

Beat M. Liechti dri-devel linux-arm-msm lkml stable 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- 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/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/msm/dpu: don't reassign resources on color management changesdrivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c+22 -30 replies
2/2drm/msm: drop the CTM modeset hack from msm_atomic_check()drivers/gpu/drm/msm/msm_atomic.c+1 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/msm: fix CTL/LM swap on color management changes

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/[email protected]

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(-)
Signature · 1 line
2.53.0