Commit 9b59b8c6 authored by Bibby Hsieh's avatar Bibby Hsieh Committed by CK Hu

drm/mediatek: disable all the planes in atomic_disable

Under shadow register case, we do not disable all the plane before
disable all the hardwares. Fix it.

Fixes: 9dc84e98 ("drm/mediatek: add shadow register support")
Signed-off-by: default avatarBibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: default avatarCK Hu <ck.hu@mediatek.com>
parent 920fffcc
...@@ -540,6 +540,7 @@ static void mtk_drm_crtc_atomic_disable(struct drm_crtc *crtc, ...@@ -540,6 +540,7 @@ static void mtk_drm_crtc_atomic_disable(struct drm_crtc *crtc,
} }
mtk_crtc->pending_planes = true; mtk_crtc->pending_planes = true;
mtk_drm_crtc_hw_config(mtk_crtc);
/* Wait for planes to be disabled */ /* Wait for planes to be disabled */
drm_crtc_wait_one_vblank(crtc); drm_crtc_wait_one_vblank(crtc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment