Re: [PATCH 1/2] drm/fsl-dcu: implement irq_preinstall/uninstall callbacks

2017-06-08 Thread Stefan Agner
On 2017-06-01 20:00, Stefan Agner wrote: > Make use of the irq_preinstall/uninstall callback to clear and > mask all interrupts. Use write 1 to clear as documented by the > data sheet (writing a 0 seems to have cleared interrupt status > too). Remove fsl_dcu_drm_irq_init and call drm_irq_install >

[PATCH 1/2] drm/fsl-dcu: implement irq_preinstall/uninstall callbacks

2017-06-01 Thread Stefan Agner
Make use of the irq_preinstall/uninstall callback to clear and mask all interrupts. Use write 1 to clear as documented by the data sheet (writing a 0 seems to have cleared interrupt status too). Remove fsl_dcu_drm_irq_init and call drm_irq_install directly from fsl_dcu_load makes error handling a