projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fa9f0
)
drm/omap: use drm_atomic_helper_shutdown()
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 27 Mar 2017 07:02:22 +0000
(10:02 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000
(12:36 +0300)
Use drm_atomic_helper_shutdown() to ensure that all crtcs are disabled
when unloading the driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/omap_drv.c
b/drivers/gpu/drm/omapdrm/omap_drv.c
index
ad8d16c
..
7b917c0
100644
(file)
--- a/
drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/
drivers/gpu/drm/omapdrm/omap_drv.c
@@
-865,6
+865,8
@@
static int pdev_remove(struct platform_device *pdev)
if (priv->fbdev)
omap_fbdev_free(ddev);
+ drm_atomic_helper_shutdown(ddev);
+
drm_mode_config_cleanup(ddev);
omap_drm_irq_uninstall(ddev);