[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Jyri Sarha
On 09/06/16 12:30, Tomi Valkeinen wrote: > On 06/09/16 11:19, Jyri Sarha wrote: >> Add mutex to protect crtc enable and disable routines. The >> tilcdc_crtc_disable() function waits for frame done interrupt, the >> internal data will get out of sync, should another enable arrive while >> waiting fo

[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Tomi Valkeinen
On 06/09/16 11:19, Jyri Sarha wrote: > Add mutex to protect crtc enable and disable routines. The > tilcdc_crtc_disable() function waits for frame done interrupt, the > internal data will get out of sync, should another enable arrive while > waiting for the interrupt. Why doesn't the per-crtc mode

[PATCH 3/3] drm/tilcdc: Add mutex to protect crtc enable and disable routines

2016-09-06 Thread Jyri Sarha
Add mutex to protect crtc enable and disable routines. The tilcdc_crtc_disable() function waits for frame done interrupt, the internal data will get out of sync, should another enable arrive while waiting for the interrupt. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 15