[Intel-gfx] [PATCH 03/11] drm/i915: initialization/teardown for the aliasing ppgtt

Daniel Vetter daniel at ffwll.ch
Wed Nov 30 10:55:01 CET 2011


On Tue, Nov 29, 2011 at 03:49:23PM -0800, Ben Widawsky wrote:
> On Mon, Nov 28, 2011 at 09:35:30PM +0100, Daniel Vetter wrote:
> > This just adds the setup and teardown code for the ppgtt PDE and the
> > last-level pagetables, which are fixed for the entire lifetime, at
> > least for the moment.
> > 
> > v2: Kill the stray debug printk noted by and improve the pte
> > definitions as suggested by Chris Wilson.
> > 
> > Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> {...}
> >  
> > +#define I915_PPGTT_PD_ENTRIES 512
> > +#define I915_PPGTT_PT_ENTRIES 1024
> Not to fond that we have this redefined as GEN6_PTES_PER_PD (which makes
> more sense as far as naming goes IMO)

I've killed the redundant define.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list