aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArchit Taneja <[email protected]>2014-04-11 12:53:35 +0530
committerTomi Valkeinen <[email protected]>2014-04-15 13:35:29 +0300
commit38e5597a03d2d1499a785230031c4f48e1d9c6b7 (patch)
treefd4a2119b76eee7a9b1deb66c7114f5216af0c13 /lib/string_helpers.c
parentbc905aced30e48a39af7c452bf46228d7c6188b9 (diff)
drm/omap: protect omap_crtc's event with event_lock spinlock
The vblank_cb callback and the page_flip ioctl can occur together in different CPU contexts. vblank_cb uses takes tje drm device's event_lock spinlock when sending the vblank event and updating omap_crtc->event and omap_crtc->od_fb. Use the same spinlock in page_flip, to make sure the above omap_crtc parameters are configured sequentially. Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions