summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-02-21 12:19:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-02-21 17:32:27 +0000
commit00de702c6c6fc131734093622e02b4a133ac8853 (patch)
treea7b692a91805980df0ca004db097b964aa9a9df8 /tools/perf/scripts/python/export-to-postgresql.py
parentdeeee411a97559096523f97655ff16da34cf0573 (diff)
drm/i915: Check that the vma hasn't been closed before we insert it
As there is a delay before we pin a vma, there is an opportunity for another thread to have closed the vm and its vma (including us). Check as soon as we acquire the vm->mutex and know the vm/vma is stable. Closes: https://gitlab.freedesktop.org/drm/intel/issues/1291 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/20200221121940.2741563-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions