diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-02 12:27:46 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-05-17 07:16:32 -0400 |
commit | 0ab17499b18f4b990600be177058957ab1681808 (patch) | |
tree | b06b7fbceff28f993a9edecf6eb93957d00edec3 | |
parent | 5a6cbce823bfa13f4ef47049b9ba861e432d5bd2 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/armada/armada_drv.c | 2 |
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) | |||
171 | 171 | ||
172 | drm_dev_unregister(&priv->drm); | 172 | drm_dev_unregister(&priv->drm); |
173 | 173 | ||
174 | drm_atomic_helper_shutdown(&priv->drm); | ||
175 | |||
174 | component_unbind_all(dev, &priv->drm); | 176 | component_unbind_all(dev, &priv->drm); |
175 | 177 | ||
176 | drm_mode_config_cleanup(&priv->drm); | 178 | drm_mode_config_cleanup(&priv->drm); |