summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-02 18:27:46 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2019-05-17 13:16:32 +0200
commit0ab17499b18f4b990600be177058957ab1681808 (patch)
treeb06b7fbceff28f993a9edecf6eb93957d00edec3 /drivers/gpu/drm/armada
parentdrm/armada: add and use definitions for RDREG4F (diff)
downloadlinux-0ab17499b18f4b990600be177058957ab1681808.tar.xz
linux-0ab17499b18f4b990600be177058957ab1681808.zip
drm/armada: add drm_atomic_helper_shutdown() call in tear-down
Ensure that the hardware is disabled prior to tearing down the modeset support. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada')
-rw-r--r--drivers/gpu/drm/armada/armada_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
index e660c5ca52ae..e524bfff1c49 100644
--- a/drivers/gpu/drm/armada/armada_drv.c
+++ b/drivers/gpu/drm/armada/armada_drv.c
@@ -171,6 +171,8 @@ static void armada_drm_unbind(struct device *dev)
drm_dev_unregister(&priv->drm);
+ drm_atomic_helper_shutdown(&priv->drm);
+
component_unbind_all(dev, &priv->drm);
drm_mode_config_cleanup(&priv->drm);