summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/afs.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-03-04 18:24:18 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-06-12 22:52:46 +0300
commit0c19ac9d033eed734b0e38c9147a1c893c0e4b12 (patch)
tree2c41ef6b8d01092a6468b69ed75d80629daf205f /drivers/mtd/afs.c
parentc397cfd496f8b129a44962e84a9206afa0d7e431 (diff)
downloadlinux-0c19ac9d033eed734b0e38c9147a1c893c0e4b12.tar.bz2
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/mtd/afs.c')
0 files changed, 0 insertions, 0 deletions