[Intel-gfx] [PATCH 1/4] drm/i915/gtt: pde entry encoding is identical

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 5 16:29:59 UTC 2019


Quoting Mika Kuoppala (2019-07-05 15:29:05)
> For all page directory entries, the pde encoding is
> identical. Don't compilicate call sites with different
> versions of doing the same thing. We check the existence of
> physical page before writing the entry into it. This further
> generalizes the pd so that manipulation in callsites will be
> identical, removing the need to handle pdps differently for gen8.
> 
> v2: squash
> v3: inc/dec with set/clear (Chris)
> v4: inlines, warn, stray set_pd (Chris)
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list