drm: free core gem object from driver callbacks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Apr 2010 19:05:05 +0000 (19:05 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Apr 2010 03:19:33 +0000 (13:19 +1000)
commitfd632aa34c8592fb1d37fc83cbffa827bc7dd42c
tree5c6a0fc186e297590aee2c050b837a721db337b2
parent1d397043bcc2c8cdccb584a8ef73131f28f18e4c
drm: free core gem object from driver callbacks

When drivers embed the core gem object into their own structures,
they'll have to do this. Temporarily this results in an ugly

kfree(gem_obj);

in every gem driver.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/radeon/radeon_gem.c
include/drm/drmP.h