[PATCH 3/9] drm/omap: fix race issue with vsync irq and apply

2014-09-24 Thread Tomi Valkeinen
omap_crtc's apply_worker does: omap_irq_register(dev, &omap_crtc->apply_irq); dispc_mgr_go(channel); This is supposed to enable the vsync irq, and set the GO bit. The vsync handler will later check if the HW has cleared the GO bit and queue apply work. However, what may happen is

[PATCH 3/9] drm/omap: fix race issue with vsync irq and apply

2014-09-03 Thread Tomi Valkeinen
omap_crtc's apply_worker does: omap_irq_register(dev, &omap_crtc->apply_irq); dispc_mgr_go(channel); This is supposed to enable the vsync irq, and set the GO bit. The vsync handler will later check if the HW has cleared the GO bit and queue apply work. However, what may happen is