diff options
author | Chris Wilson <[email protected]> | 2016-08-05 10:14:06 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-08-05 10:54:33 +0100 |
commit | 2467658e2de3ca1dee6688b6b0b6f48263dfd532 (patch) | |
tree | 449c45b07a7db5b37de4d16f587d3e009cf4316a /lib/mpi/mpi-bit.c | |
parent | 94558e265b9539b2ecec98d037bae51c902663c1 (diff) |
drm/i915: Introduce i915_gem_active_wait_unlocked()
It is useful to be able to wait on pending rendering without grabbing
the struct_mutex. We can do this by using the i915_gem_active_get_rcu()
primitive to acquire a reference to the pending request without
requiring struct_mutex, just the RCU read lock, and then call
i915_wait_request().
v2: Rebase onto new i915_gem_active_get_unlocked() semantics that take
the RCU read lock on behalf of the caller.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions