drm/i915: Extract general object init routine
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 11 Aug 2012 14:41:06 +0000 (15:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Aug 2012 00:04:38 +0000 (02:04 +0200)
commit0327d6ba998ca181013a5a1709701a6532a41972
tree3f7a93685fbee161e7fb260b33d3d3db01be113b
parent4d6294bf77834276d41b51154a18663b0a8f2063
drm/i915: Extract general object init routine

As we wish to create specialised object constructions in the near
future that share the same basic GEM object struct, export the default
initializer.

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