[PATCH v4 11/12] drm/rockchip: Shutdown all crtcs when unbinding drm

Your Name you at example.com
Thu Apr 6 05:22:22 PDT 2017


From: Jeffy Chen <jeffy.chen at rock-chips.com>

Signed-off-by: Jeffy Chen <jeffy.chen at rock-chips.com>
Signed-off-by: Your Name <you at example.com>
---

Changes in v4: None
Changes in v3:
Address Daniel Vetter <daniel at ffwll.ch>'s comments.
Update commit message.

Changes in v2: None

 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 +
 1 file changed, 1 insertion(+)

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);
-- 
2.1.4





More information about the Linux-rockchip mailing list