]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't special case teardown of aliasing_ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 08:43:38 +0000 (08:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 10:05:53 +0000 (10:05 +0000)
commitca8c0b2d19200b3bfc17968eadeeb895a2488f15
tree29b546acf71a0e0fff864ad7c15f859788c0111f
parent0ef3e92e9fcd0e9ee989b25e3bce6fa42f40d48a
drm/i915: Don't special case teardown of aliasing_ppgtt

The aliasing_ppgtt is a regular ppgtt, and we can use the regular
i915_ppgtt_put() to properly tear it down.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215084357.19977-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c