summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_execbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-08-22 12:05:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-08-24 15:22:46 +0100
commit67b48040255b77ea7d11e68e07c83e502308c65d (patch)
tree1f0d91c924ff53add29caa7a856d1acda37cb5f2 /drivers/gpu/drm/i915/i915_gem_execbuffer.c
parent432295d7b906dae11129fc2870289465c907e5f2 (diff)
downloadlinux-67b48040255b77ea7d11e68e07c83e502308c65d.tar.gz
linux-67b48040255b77ea7d11e68e07c83e502308c65d.tar.bz2
linux-67b48040255b77ea7d11e68e07c83e502308c65d.zip
drm/i915: Assert that the handle->vma lut is empty on object close
Make sure that we are not leaking an entry in the ctx->handles_lut by asserting that the object was removed prior to being freed. This should be enforced by all such handles being removed by i915_gem_close_object. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20170822110517.22277-2-chris@chris-wilson.co.uk Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
0 files changed, 0 insertions, 0 deletions