diff options
author | 2017-06-20 13:43:21 +0100 | |
---|---|---|
committer | 2017-06-21 10:24:10 +0100 | |
commit | 7a3bc034ed5c4b57c145a025070739ec41434e94 (patch) | |
tree | a2ef2ebad9b1fea22f7a2fa8007a586bd1a329fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Retire the VMA's fence tracker before unbinding (diff) | |
download | linux-dev-7a3bc034ed5c4b57c145a025070739ec41434e94.tar.xz linux-dev-7a3bc034ed5c4b57c145a025070739ec41434e94.zip |
drm/i915: Assert the vma's active tracking is clear before free
In looking at a use-after-free on Baytrail, it looks like the VMA's
activity tracking is suspect. Add some asserts to catch freeing the VMA
before we have decoupled all of its i915_gem_active trackers.
References: https://bugs.freedesktop.org/show_bug.cgi?id=101511
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620124321.1108-3-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions