diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2019-05-29 18:25:54 +0800 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2019-06-04 09:28:59 +0800 |
commit | cf49b24ffa62766f8f04cd1c4cf17b75d29b240a (patch) | |
tree | 1fb7fc2f0909961cf1ba6b0f7d9799d121e68bb0 | |
parent | f0fd848342802bc0f74620d387eead53e8905804 (diff) | |
download | linux-cf49b24ffa62766f8f04cd1c4cf17b75d29b240a.tar.bz2 |
drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
shutdown all CRTC when unbinding drm driver.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index e7362bdafa82..8718d123ccaa 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -311,6 +311,7 @@ err_config_cleanup: static void mtk_drm_kms_deinit(struct drm_device *drm) { drm_kms_helper_poll_fini(drm); + drm_atomic_helper_shutdown(drm); component_unbind_all(drm->dev, drm); drm_mode_config_cleanup(drm); |