drm/i915: Split the stolen handling for GEM out of i915_dma.c
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 14:47:39 +0000 (15:47 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:11 +0000 (11:18 +0200)
commit9797fbfbcfe251b5297b82803002c713e61aa410
treeaeab3e0fb2d1f3e39946c94855cbaf354d512b3d
parent1488fc08c1706288616c602416654fd38c773deb
drm/i915: Split the stolen handling for GEM out of i915_dma.c

We slightly modify the initialisation sequence to move the
initialisation of the memory managers earlier and in particular before
probing outputs and detecting any existing output configuration. This is
essential if we wish to track preallocated objects and preserve them
whilst initialising GEM.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_stolen.c [new file with mode: 0644]