Re: [PATCH v5 10/15] drm/msm/dp: allow dp_ctrl stream APIs to use any panel passed to it

From: Dmitry Baryshkov

Date: Thu May 28 2026 - 11:27:08 EST


On Thu, May 28, 2026 at 06:40:31PM +0800, Yongxing Mou wrote:
> From: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>
>
> With MST, multiple sinks share a single DP controller, so a cached
> panel in msm_dp_ctrl_private can no longer represent the per-stream
> sink. Drop the cache and pass panel explicitly to all stream-related
> dp_ctrl APIs.
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>
> Signed-off-by: Yongxing Mou <yongxing.mou@xxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 208 ++++++++++++++++++++----------------
> drivers/gpu/drm/msm/dp/dp_ctrl.h | 28 +++--
> drivers/gpu/drm/msm/dp/dp_display.c | 24 ++---
> 3 files changed, 146 insertions(+), 114 deletions(-)
>
> @@ -389,7 +389,7 @@ void msm_dp_ctrl_push_idle(struct msm_dp_ctrl *msm_dp_ctrl)
> }
>
> static void msm_dp_ctrl_config_ctrl_streams(struct msm_dp_ctrl_private *ctrl,
> - struct msm_dp_panel *msm_dp_panel)
> + struct msm_dp_panel *panel)

Please don't mix sensible changes with the renames / cleanups.

> {
> u32 config = 0, tbd;
>

--
With best wishes
Dmitry