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(-) -- 2.53.0
