Laurent Pinchart 0c19ac9d03 drm: omapdrm: Fix page flip race with CRTC disable
We can't rely on crtc->primary->fb in the page flip worker, as a racing
CRTC disable (due for instance to an explicit framebuffer deletion from
userspace) would set that field to NULL before the worker gets a change
to run. Store the framebuffer queued for page flip in a new field of
omap_crtc instead, and hold a reference to it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-06-12 22:52:46 +03:00
..
2015-06-04 09:23:51 +10:00
2015-05-26 16:17:06 +10:00
2015-06-11 13:16:35 +10:00
2015-05-26 15:50:42 +02:00
2015-05-26 15:50:42 +02:00
2015-05-05 09:46:38 +02:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-05-29 09:17:57 +10:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00