aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-09-18 17:27:34 +0100
committerChris Wilson <[email protected]>2017-09-22 12:47:19 +0100
commitde4d2106f88ad7d98bf3adc602885d1d9071b644 (patch)
tree72474958d42400b8cded1e4f23627cee8c701682 /lib/mpi/mpi-cmp.c
parent17b51ad8e5c051032d8e1d698e7dfd01d9133a92 (diff)
drm/i915: Check waiter->seqno carefully in case of preemption
If preemption occurs at precisely the right moment, we may decide that the wait is complete even though the wait's request is no longer executing (having been preempted). We handle this situation by double checking that request following deciding whether the wait is complete. Reported-by: Michał Winiarski <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Michał Winiarski <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Michał Winiarski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions