[PATCH 0/6] drm/fsl-dcu: unload fixes

Stefan Agner stefan at agner.ch
Sun Apr 17 05:25:49 UTC 2016


Hi all,

This patchset fixes several issues around unloading/unbinding
the driver. There is still one WARNING when unloading the driver
while vblank interrupts are enabled. I am not sure what/who
should make sure that vblank interrupts get disabled before
unloading the driver:

root at colibri-vf:~# echo 40058000.dcu > /sys/bus/platform/drivers/fsl-dcu/unbind
[   37.209656] Console: switching to colour dummy device 80x30
[   37.224954] ------------[ cut here ]------------
[   37.245375] WARNING: CPU: 0 PID: 170 at drivers/gpu/drm/drm_irq.c:380 drm_vblank_cleanup+0x5c/0x8c
...

Hints welcome...

Stefan Agner (6):
  drm/fsl-dcu: detach panel on destroy
  drm/fsl-dcu: handle missing panel gracefully
  drm/fsl-dcu: use variable name dev for struct drm_device
  drm/fsl-dcu: deallocate fbdev CMA on unload
  drm/fsl-dcu: disable output polling on driver unload
  drm/fsl-dcu: implement lastclose callback

 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 50 +++++++++++++++++++++----------
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 23 +++++++++-----
 2 files changed, 50 insertions(+), 23 deletions(-)

-- 
2.8.0



More information about the dri-devel mailing list