On Tue, Sep 29, 2026 at 12:25:25PM +0800, Yongxing Mou wrote: > From: Abhinav Kumar <[email protected]> > > msm_dp_display_disable() currently mixes stream-level shutdown > (disable VSC SDP, off pixel clk, clear power_on) with link-level > teardown (PSM config when sink_count==0, off_link, PHY re-init or > host PHY exit). > > For DP MST the same link is shared across multiple streams, so > disabling one stream must not tear down the link. Move the > link-level steps into msm_dp_display_unprepare() so that > display_disable() handles only the per-stream sequence, mirroring > the split already present on the prepare path > (display_prepare_link vs display_set_mode / display_enable). > > SST behaviour is unchanged: atomic_post_disable() still calls > display_disable() followed by display_unprepare() in the same > order, and the cached dp->panel used inside unprepare is the same > panel that was previously passed in. > > Signed-off-by: Abhinav Kumar <[email protected]> > Signed-off-by: Yongxing Mou <[email protected]> > --- > drivers/gpu/drm/msm/dp/dp_display.c | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
