]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the .release hook to drop the stolen drm_mm tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jun 2014 09:22:54 +0000 (10:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Jun 2014 13:17:36 +0000 (15:17 +0200)
commit1498e71e5bb2889b2eba683ee4c9ecfbfc12869c
tree9bbb979b92b8b19211c9b7a985b29a5c2f49df85
parent3bfc78d4aaa4e937d87db4bf3c0f16e8b1e12ede
drm/i915: Use the .release hook to drop the stolen drm_mm tracking

Now that we have a release hook into i915_gem_object_free, we can move
the explicit call to the internal stolen function and hook it up
throught the callback instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_stolen.c