diff options
author | Chris Wilson <[email protected]> | 2016-12-31 11:20:09 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-12-31 11:41:45 +0000 |
commit | 7a5580a2a69ae0681805638d1f5c66f544bd9c2a (patch) | |
tree | 33dd6332e7749a0dc20bfb79bf9fa890be5863e3 /tools/perf/scripts/python/netdev-times.py | |
parent | f50b79f096a7533e9b13638c06dfa759de070f56 (diff) |
drm/i915: Move assert of page pin vs bind count into i915_vma_unbind
The read of the page pin count and the bind count are unordered,
presenting races in the assert and it firing off incorrectly. Prevent
this by restricting the assert to the vma bind/unbind routines where we
have local cpu ordering between the two.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions