aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-03-15 21:07:25 +0000
committerChris Wilson <[email protected]>2017-03-15 21:45:40 +0000
commit908a6cbf84db77f33d8522f8ff9d9bf34dd7441f (patch)
treeec8f41b8b5c3eed6cdb804863f003a51ebd8926e /scripts/gcc-plugins/cyc_complexity_plugin.c
parenta5cae7b8edefe01a77ad6288367026f65fbfb91d (diff)
drm/i915/breadcrumbs: Assert that we do not shortcut the current bottom-half
We need to ensure that we always serialize updates to the bottom-half using the breadcrumbs.irq_lock so that we don't race with a concurrent interrupt handler. This is most important just prior to leaving the waiter (when the intel_wait will be overwritten), so make sure we are not the current bottom-half when skipping the irq locks. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions