]> 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)
commitc241f8ff824dedf075c691de4a7fdddf3fd75aa1
tree9bbb979b92b8b19211c9b7a985b29a5c2f49df85
parent716a91bf7d53662b2f210ddf05ad2c87373f1978
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