summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_guc_ct.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-06-20 15:43:21 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-06-21 12:24:10 +0300
commit7a3bc034ed5c4b57c145a025070739ec41434e94 (patch)
treea2ef2ebad9b1fea22f7a2fa8007a586bd1a329fb /drivers/gpu/drm/i915/intel_guc_ct.c
parent760a898d8069111704e1bd43f00ebf369ae46e57 (diff)
downloadlinux-7a3bc034ed5c4b57c145a025070739ec41434e94.tar.xz
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 'drivers/gpu/drm/i915/intel_guc_ct.c')
0 files changed, 0 insertions, 0 deletions