diff options
author | Bibby Hsieh <bibby.hsieh@mediatek.com> | 2019-12-10 08:05:23 +0300 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2019-12-20 11:19:12 +0300 |
commit | 9b59b8c6f8462cd330fc7fb735c4d864357b3689 (patch) | |
tree | ab0c422be85b582677f0157ca52b0013fccc5217 /drivers/gpu/drm/mediatek | |
parent | 920fffcc891276a855cb3ce1e7361d2e9cb72581 (diff) | |
download | linux-9b59b8c6f8462cd330fc7fb735c4d864357b3689.tar.xz |
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: 9dc84e98a31f ("drm/mediatek: add shadow register support")
Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index 478a51ba3891..ecf3f0976a88 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c @@ -540,6 +540,7 @@ static void mtk_drm_crtc_atomic_disable(struct drm_crtc *crtc, } mtk_crtc->pending_planes = true; + mtk_drm_crtc_hw_config(mtk_crtc); /* Wait for planes to be disabled */ drm_crtc_wait_one_vblank(crtc); |