summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2017-04-06 20:31:24 +0800
committerSean Paul <seanpaul@chromium.org>2017-04-07 13:28:32 -0400
commitc1bb81888746b6fff8c3b0abfecc751ab73b3a08 (patch)
tree6f1b6dd2215431b4ef43f1117b7fde41a2503a1d
parentccea91998c8f140bc3e324bbb3c3fb7148e72d31 (diff)
downloadop-kernel-dev-c1bb81888746b6fff8c3b0abfecc751ab73b3a08.zip
op-kernel-dev-c1bb81888746b6fff8c3b0abfecc751ab73b3a08.tar.gz
drm/rockchip: Shutdown all crtcs when unbinding drm
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-12-git-send-email-jeffy.chen@rock-chips.com
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
index f24968f..c6b1b7f 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
@@ -199,6 +199,7 @@ static void rockchip_drm_unbind(struct device *dev)
rockchip_drm_fbdev_fini(drm_dev);
drm_kms_helper_poll_fini(drm_dev);
+ drm_atomic_helper_shutdown(drm_dev);
drm_vblank_cleanup(drm_dev);
component_unbind_all(dev, drm_dev);
drm_mode_config_cleanup(drm_dev);
OpenPOWER on IntegriCloud