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)
commitef0cf27c4d0209d0c38c2ddf8f2c529706912861
tree9bbb979b92b8b19211c9b7a985b29a5c2f49df85
parenta33d7105c4e905c895c41d8caf6bd8f85b2e3ce7
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