aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_plane.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2015-03-04 16:24:18 +0000
committerLaurent Pinchart <[email protected]>2015-06-12 19:52:46 +0000
commit0c19ac9d033eed734b0e38c9147a1c893c0e4b12 (patch)
tree2c41ef6b8d01092a6468b69ed75d80629daf205f /drivers/gpu/drm/omapdrm/omap_plane.c
parentdrm: omapdrm: Turn vblank on/off when enabling/disabling CRTC (diff)
downloadkernel-0c19ac9d033eed734b0e38c9147a1c893c0e4b12.tar.gz
kernel-0c19ac9d033eed734b0e38c9147a1c893c0e4b12.zip
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 <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions