mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm/rockchip: dsi2: standby vop2 before dsi2 change from ds to cmd mode
standby vop2 to ensure dsi2 core not busy when DSI2_MODE_CTRL change from data stream to command mode. Change-Id: Id46d1a199ae1b9421b61622dd9fca6dda08c2781 Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This commit is contained in:
parent
287dac0f05
commit
69afc70624
|
|
@ -447,8 +447,14 @@ static void dw_mipi_dsi2_encoder_disable(struct drm_encoder *encoder)
|
|||
if (dsi2->panel)
|
||||
drm_panel_disable(dsi2->panel);
|
||||
|
||||
if (!(dsi2->mode_flags & MIPI_DSI_MODE_VIDEO))
|
||||
vop2_standby(encoder->crtc, 1);
|
||||
|
||||
dw_mipi_dsi2_disable(dsi2);
|
||||
|
||||
if (!(dsi2->mode_flags & MIPI_DSI_MODE_VIDEO))
|
||||
vop2_standby(encoder->crtc, 0);
|
||||
|
||||
if (dsi2->panel)
|
||||
drm_panel_unprepare(dsi2->panel);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user