diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-04 16:45:27 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-04 17:30:44 +0000 |
| commit | 780ccb5a5a43a7787b7cbdc49f7660232fd26aaf (patch) | |
| tree | d30c429ffb62d1c9e9ca360bc8c54c646c1f4378 /tools/perf/scripts/python | |
| parent | aa5e4453dc055e188c792c3e5f1b256436332a59 (diff) | |
| download | linux-780ccb5a5a43a7787b7cbdc49f7660232fd26aaf.tar.gz linux-780ccb5a5a43a7787b7cbdc49f7660232fd26aaf.zip | |
drm/i915/gem: Hold the obj->vma.lock while walking the vma.list
Remember to take the lock before walking the obj->vma.list so that the
nodes do not change beneath us! E.g.,
i915_gem_object_bump_inactive_ggtt:387 GEM_BUG_ON(vma->vm != &i915->ggtt.vm)
Closes: https://gitlab.freedesktop.org/drm/intel/issues/691
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204164527.3872783-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
