diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-04 18:24:18 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-06-12 22:52:46 +0300 |
commit | 0c19ac9d033eed734b0e38c9147a1c893c0e4b12 (patch) | |
tree | 2c41ef6b8d01092a6468b69ed75d80629daf205f /drivers/gpu/drm/omapdrm/omap_drv.h | |
parent | c397cfd496f8b129a44962e84a9206afa0d7e431 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.h')
0 files changed, 0 insertions, 0 deletions