Hello, Sorry for the quick v2, this version fixes issue found by sashiko bot (Good AI!).
This series fixes various resource de-allocation issues in DPU resource cleanup code. Aim is more reliable mode set, in particular when multiple displays/encoders are connected, to avoid blue screen or snowy dsc displays. Tested with v7.3 + msm-next, on Ayaneo Pocket DS (SM8550 Kalama). Changes are not device/chip specific. --- Changes in v2: - Removed problematic patches as indicated by sashiko bot. - - removed [PATCH 5/8] drm/msm/dpu: use cached PINGPONGs from mode set in cwb setup - - removed [PATCH 6/8] drm/msm/dpu: workaround res re-assignment issues by pairing enc/crtc - Fixed issues indicaed by sashiko bot - - [PATCH 2/8] drm/msm/dpu: save LMs in encoder mode_set for cleanup use later Re-add dpu_hw_ctl_setup_blendstage calls - Link to v1: https://patch.msgid.link/[email protected] To: Rob Clark <[email protected]> To: Dmitry Baryshkov <[email protected]> To: Abhinav Kumar <[email protected]> To: Jessica Zhang <[email protected]> To: Sean Paul <[email protected]> To: Marijn Suijten <[email protected]> To: David Airlie <[email protected]> To: Simona Vetter <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Xi Zhang <[email protected]> --- Xi Zhang (6): drm/msm/dpu: reset unassigned resource slots to NULL on topology update drm/msm/dpu: save LMs in encoder mode_set for cleanup use later drm/msm/dpu: use common helper cleanup function in cmd mode disable drm/msm/dpu: Match setup_dither cleanup to the way it was set up drm/msm: force mode_changed on color_mgmt_changed, not just ctm drm/msm/dpu: reset DSC_CMN_MAIN_CNF in dsc disable drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 92 +++++++++++++--------- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 10 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c | 1 + drivers/gpu/drm/msm/msm_atomic.c | 3 +- 4 files changed, 57 insertions(+), 49 deletions(-) --- base-commit: d024361c631b3f020a26c07d683e5103404b0fbf change-id: 20261026-msm-dpu-res-clean-f1704106453f Best regards, -- Xi Zhang <[email protected]>
