drm/i915: Introduce i915_gem_object_create_stolen_for_preallocated
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Feb 2013 21:31:37 +0000 (13:31 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 19:39:28 +0000 (20:39 +0100)
commit866d12b4ee5faefbc1a98b787ac4242a2f04b051
tree5af9628efb98e0c73dd6e306d2c0bf67e66644e4
parentf9c513e9d6d25fec3404a97c9b0f03b2eb858315
drm/i915: Introduce i915_gem_object_create_stolen_for_preallocated

Wrap a preallocated region of stolen memory within an ordinary GEM
object, for example the BIOS framebuffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_stolen.c