drm: extract drm_gem_object_init
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Apr 2010 19:05:04 +0000 (19:05 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Apr 2010 03:19:25 +0000 (13:19 +1000)
commit1d397043bcc2c8cdccb584a8ef73131f28f18e4c
tree564c09e78bffef21ff65988ea76380db132cc02a
parent153549b8b63d71a9c5d8cbde887097b995c32bd6
drm: extract drm_gem_object_init

This function can be used by drivers who allocate the drm gem object
on their own. No functional change in here, just preparation.

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
include/drm/drmP.h