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

Ben Widawsky ben at bwidawsk.net
Wed Nov 30 00:49:23 CET 2011


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)

{...}

> +#define GEN6_PTES_PER_PD		1024

Ben



More information about the Intel-gfx mailing list