aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-09-09 14:11:50 +0100
committerChris Wilson <[email protected]>2016-09-09 14:23:03 +0100
commit22dd3bb9190566c7c3b80edb7dea67d1e21d0f91 (patch)
tree01898a53077a19a7c4608716a7c638924bc0992b /lib/mpi/mpiutil.c
parentea746f3659232b3104d9534d5a7ebd9934ae1dd6 (diff)
drm/i915: Mark up all locked waiters
In the next patch we want to handle reset directly by a locked waiter in order to avoid issues with returning before the reset is handled. To handle the reset, we must first know whether we hold the struct_mutex. If we do not hold the struct_mtuex we can not perform the reset, but we do not block the reset worker either (and so we can just continue to wait for request completion) - otherwise we must relinquish the mutex. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions