]> git.hungrycats.org Git - linux/commit
drm/msm/dp: break up dp_display_enable into two parts
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Tue, 28 Jul 2026 10:21:37 +0000 (18:21 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 31 Jul 2026 14:08:01 +0000 (17:08 +0300)
commitca16db3d18cfe2d3e45a2cb3f3f67f2b19685a02
tree016436f267d2d2a5aa782579b04427769e0a8082
parent38e4b121497923b0f1a9636bf947af730f38bb3b
drm/msm/dp: break up dp_display_enable into two parts

dp_display_enable() currently re-trains the link if needed and then
enables the pixel clock, programs the controller to start sending the
pixel stream. Split these two parts into prepare/enable APIs, to support
MST bridges_enable insert the MST payloads funcs between enable
stream_clks and program register.

Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/742740/
Link: https://lore.kernel.org/r/20260728-dp_mstclean-v9-8-f7779fce10f4@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/dp/dp_ctrl.c
drivers/gpu/drm/msm/dp/dp_ctrl.h
drivers/gpu/drm/msm/dp/dp_display.c