diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2019-05-29 12:25:54 +0200 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2019-06-04 03:28:59 +0200 |
commit | cf49b24ffa62766f8f04cd1c4cf17b75d29b240a (patch) | |
tree | 1fb7fc2f0909961cf1ba6b0f7d9799d121e68bb0 /drivers/gpu | |
parent | drm/mediatek: unbind components in mtk_drm_unbind() (diff) | |
download | linux-cf49b24ffa62766f8f04cd1c4cf17b75d29b240a.tar.xz linux-cf49b24ffa62766f8f04cd1c4cf17b75d29b240a.zip |
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>
Diffstat (limited to 'drivers/gpu')
-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); |