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

From: Stefan Agner
Date: Mon Apr 25 2016 - 23:31:02 EST


Applied patchset to my fsl-dcu tree.

--
Stefan

On 2016-04-16 22:25, Stefan Agner wrote:
> 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@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(-)