aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-10-22 12:21:11 +0100
committerChris Wilson <[email protected]>2019-10-22 21:12:23 +0100
commitf79520bb333792fb23a32352f83d8d59a525cec9 (patch)
tree59b94f3dba064ea10a63d15d0b83d29a8b847a69 /include/linux/timerqueue.h
parent905da43c6a02b57232c1f087b94bc606f6376632 (diff)
drm/i915/selftests: Synchronize checking active status with retirement
If retirement is running on another thread, we may inspect the status of the i915_active before its retirement callback is complete. As we expect it to be running synchronously, we can wait for any callback to complete by acquiring the i915_active.mutex. Signed-off-by: Chris Wilson <[email protected]> Acked-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions