diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-06 12:39:01 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-06 12:47:31 +0100 |
commit | 99fe4a5f7383559ee120492124365e708a587130 (patch) | |
tree | c031429c25386b3a991ba2197db3779c59da6b06 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 04171313cb25311acf82279284d722fed7b70d53 (diff) | |
download | linux-99fe4a5f7383559ee120492124365e708a587130.tar.gz linux-99fe4a5f7383559ee120492124365e708a587130.tar.bz2 linux-99fe4a5f7383559ee120492124365e708a587130.zip |
drm/i915: Wake up the bottom-half if we steal their interrupt
Following on from the scenario Tvrtko envisioned to explain a hard-to-hit
race with multiple first waiters, we could also then race in the
__i915_request_irq_complete() and the bottom-half may miss the vital
irq-seqno barrier and so go to sleep not noticing their seqno is
complete.
v2: unlock, not double lock the rcu_read_lock.
Fixes: 3d5564e91025 ("drm/i915: Only apply one barrier after...")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467805142-22219-2-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions