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

2013-04-12 Thread Chris Wilson
On Thu, Apr 11, 2013 at 08:36:26AM -0700, Ben Widawsky wrote: > On Thu, Apr 11, 2013 at 07:10:50AM +0100, Chris Wilson wrote: > > 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 su

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

2013-04-11 Thread Ben Widawsky
On Thu, Apr 11, 2013 at 07:10:50AM +0100, Chris Wilson wrote: > 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

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

2013-04-10 Thread Chris Wilson
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

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

2013-04-10 Thread Ben Widawsky
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