[Intel-gfx] [PATCH] drm/i915: Use drm_mm for PPGTT PDEs

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 11 08:10:50 CEST 2013


On Wed, Apr 10, 2013 at 07:43:39PM -0700, Ben Widawsky wrote:
> I think this is a nice generalization on it's own, but it's primarily
> prep work for my PPGTT support. Does this bother anyone?
> 
> The only down side I can see is we waste 2k of cpu unmappable space
> (unless we have something else that is <= 2k and doesn't need to be page
> aligned).
> 
> It's RFC because I have only hacked this up and haven't thoroughly
> tested a bunch of error and suspend/resume paths.

Ugh. Fragmentation, you need a top down allocator.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list