drm/msm/dsi: Enable BURST_MODE for command mode for DSI 6G v1.3+
authorJessica Zhang <quic_jesszhan@quicinc.com>
Tue, 27 Jun 2023 20:31:45 +0000 (13:31 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 27 Jul 2023 11:59:15 +0000 (14:59 +0300)
commitb173a7dcc2d06ee11f739c1bdcd51ee156b6d50c
tree393891960eae20a07026296843f5fba3e9bc5145
parentcc9a79715a5689822f2ee702414cc995af39a937
drm/msm/dsi: Enable BURST_MODE for command mode for DSI 6G v1.3+

During a frame transfer in command mode, there could be frequent
LP11 <-> HS transitions when multiple DCS commands are sent mid-frame or
if the DSI controller is running on slow clock and is throttled. To
minimize frame latency due to these transitions, it is recommended to
send the frame in a single burst.

This feature is supported for DSI 6G 1.3 and above, thus enable burst
mode if supported.

Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/544551/
Link: https://lore.kernel.org/r/20230608-b4-add-burst-mode-v2-1-2ff468457d46@quicinc.com
[DB: fixed indentation]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dsi/dsi_host.c