projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a5019
)
drm/fsl-dcu: disable outputs before unloading driver
author
Stefan Agner
<stefan@agner.ch>
Thu, 20 Oct 2016 00:32:21 +0000
(17:32 -0700)
committer
Stefan Agner
<stefan@agner.ch>
Tue, 29 Nov 2016 01:18:38 +0000
(17:18 -0800)
Make sure that all outputs are disabled before unloading the DRM
driver. Otherwise vblank handling is not shut down properly and
warnings such as this appear:
WARNING: CPU: 0 PID: 540 at drivers/gpu/drm/drm_irq.c:339 drm_vblank_cleanup+0x5c/0x94
Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
index 30c46a80a540fde5bd59dcf138fddc527246a70b..f8313f2b113aebbc7e088d4ff77e5c79ae4b2b1a 100644
(file)
--- a/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
+++ b/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
@@
-108,6
+108,7
@@
static int fsl_dcu_unload(struct drm_device *dev)
{
struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
+ drm_crtc_force_disable_all(dev);
drm_kms_helper_poll_fini(dev);
if (fsl_dev->fbdev)