[Intel-gfx] [PATCH 7/7] drm/i915: Move stolen memory initialization earlier during loading

Imre Deak imre.deak at intel.com
Wed Jan 27 08:39:32 PST 2016


On pe, 2016-01-22 at 14:23 +0200, David Weinehall wrote:
> On Tue, Jan 19, 2016 at 03:26:32PM +0200, Imre Deak wrote:
> > The only device specific dependency of the stolen memory setup is
> > the
> > MMIO mapping and the stolen memory size. Both are already available
> > in
> > i915_gtt_init(), so move the stolen initialization to there. The
> > clean-up code for i915_gtt_init() is in i915_global_gtt_cleanup(),
> > so
> > move the stolen memory clean-up code there too.
> > 
> > This will be needed by an upcoming patch that needs the details of
> > the
> > memory we reserve, but the change is also part of our generic goal
> > to
> > move the initialization of resources with no or little dependencies
> > on
> > other device specific resources towards the beginning of the init
> > sequence.
> > 
> > Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Signed-off-by: Imre Deak <imre.deak at intel.com>
> 
> Reviewed-by: David Weinehall <david.weinehall at intel.com>

I pushed the series to dinq, thanks for the review.

--Imre


More information about the Intel-gfx mailing list