[PATCH v2 5/5] drm/tilcdc: WARN if CRTC is touched without CRTC lock

2016-09-07 Thread Tomi Valkeinen
On 06/09/16 23:59, Jyri Sarha wrote: > WARN if CRTC is touched without CRTC lock. The crtc functions should > not be called simultaneously from multiple threads. Having the DRM > CRTC lock should take care of that. > > tilcdc_crtc_destroy() has to take the CRTC lock befor calling > tilcdc_crtc_dis

[PATCH v2 5/5] drm/tilcdc: WARN if CRTC is touched without CRTC lock

2016-09-06 Thread Jyri Sarha
WARN if CRTC is touched without CRTC lock. The crtc functions should not be called simultaneously from multiple threads. Having the DRM CRTC lock should take care of that. tilcdc_crtc_destroy() has to take the CRTC lock befor calling tilcdc_crtc_disable() because drm_mode_config_cleanup() does not