On Mon, Jun 29, 2026 at 10:14:33PM +0800, Yongxing Mou wrote: > From: Abhinav Kumar <[email protected]> > > The atomic bridge callbacks (set_mode / enable / disable / > post_disable) on dp_display currently hard-code dp->panel. For > DP MST every stream has its own msm_dp_panel that the MST > encoder owns, so the same enable/disable sequence needs to be > invokable against an arbitrary panel. > > Introduce *_helper variants that take struct msm_dp_panel * and > reduce the existing atomic_* callbacks to thin wrappers that > pass dp->panel. No SST-path behaviour change. > > Also drop the static qualifier from msm_dp_display_prepare_link() > and msm_dp_display_unprepare() and change them to take > struct msm_dp * so the upcoming MST encoder code can drive > link-level prepare/unprepare uniformly through the public API. > > Signed-off-by: Abhinav Kumar <[email protected]> > Signed-off-by: Yongxing Mou <[email protected]> > --- > drivers/gpu/drm/msm/dp/dp_display.c | 93 > +++++++++++++++++++++++++++---------- > drivers/gpu/drm/msm/dp/dp_display.h | 12 +++++ > 2 files changed, 80 insertions(+), 25 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
