diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-11 00:22:04 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-11 10:14:23 +0300 |
| commit | 99013b10100c4b552eec845ee2ca5604c8332e92 (patch) | |
| tree | 3bcfdc04fa272d813db40b507efcd4c6496f5971 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 85dd14c2918d452fa875a4175bffb76e01c5af6e (diff) | |
| download | linux-99013b10100c4b552eec845ee2ca5604c8332e92.tar.xz | |
drm/i915: Make shrink/unshrink be atomic
Add an atomic counter and always take the spinlock around the pin/unpin
events, so that we can perform the list manipulation concurrently.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190910212204.17190-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
