On Tue, Sep 29, 2026 at 12:25:28PM +0800, Yongxing Mou wrote: > From: Abhinav Kumar <[email protected]> > > With MST, each DP controller can handle multiple streams. There shall be > one dp_panel for each stream but the dp_display object shall be shared > among them. To represent this abstraction, add a stream_id field to > struct msm_dp_panel and introduce the msm_dp_stream_id enum. For SST, > the field is initialized to DP_STREAM_0. > > In the MST path, each panel will be assigned an actual stream_id at > stream-enable time by the MST layer (added in later patches). > > Use the stream ID to control the pixel clock of that respective stream by > extending the clock handles and state tracking of the DP pixel clock to > an array of max supported streams. The maximum streams currently is 4. > > Signed-off-by: Abhinav Kumar <[email protected]> > Signed-off-by: Yongxing Mou <[email protected]> > --- > drivers/gpu/drm/msm/dp/dp_ctrl.c | 70 > +++++++++++++++++++++++-------------- > drivers/gpu/drm/msm/dp/dp_ctrl.h | 2 +- > drivers/gpu/drm/msm/dp/dp_display.c | 2 +- > drivers/gpu/drm/msm/dp/dp_panel.c | 1 + > drivers/gpu/drm/msm/dp/dp_panel.h | 11 ++++++ > 5 files changed, 57 insertions(+), 29 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
