diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-22 12:21:11 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-22 21:12:23 +0100 |
| commit | f79520bb333792fb23a32352f83d8d59a525cec9 (patch) | |
| tree | 59b94f3dba064ea10a63d15d0b83d29a8b847a69 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 905da43c6a02b57232c1f087b94bc606f6376632 (diff) | |
| download | linux-f79520bb333792fb23a32352f83d8d59a525cec9.tar.gz linux-f79520bb333792fb23a32352f83d8d59a525cec9.zip | |
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 <chris@chris-wilson.co.uk>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022112111.9317-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
