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:
afb49e4
)
drm/fsl-dcu: disable output polling on driver unload
author
Stefan Agner
<stefan@agner.ch>
Sun, 17 Apr 2016 04:17:12 +0000
(21:17 -0700)
committer
Stefan Agner
<stefan@agner.ch>
Tue, 26 Apr 2016 03:45:34 +0000
(20:45 -0700)
Disabling output polling before unloading the driver.
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 182578dd3d6b488eddbc8fb0d2f0ffb41ad82157..f9227b717e40e88a26f88119fca2647809aef246 100644
(file)
--- a/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
+++ b/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
@@
-91,6
+91,8
@@
static int fsl_dcu_load(struct drm_device *dev, unsigned long flags)
return 0;
done:
+ drm_kms_helper_poll_fini(dev);
+
if (fsl_dev->fbdev)
drm_fbdev_cma_fini(fsl_dev->fbdev);
@@
-106,6
+108,8
@@
static int fsl_dcu_unload(struct drm_device *dev)
{
struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
+ drm_kms_helper_poll_fini(dev);
+
if (fsl_dev->fbdev)
drm_fbdev_cma_fini(fsl_dev->fbdev);