[Intel-gfx] [PATCH] drm/i915/gtt: Use optimised memset32/64 for clearing PTE
Chris Wilson
chris at chris-wilson.co.uk
Tue Mar 5 09:05:55 UTC 2019
Quoting Matthew Auld (2019-03-04 23:48:09)
> On Mon, 4 Mar 2019 at 23:07, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> >
> > Replace the open-coded memset loops with the memset32/64 routines that
> > reduce to a single instruction or two:
> >
> > add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-83 (-83)
> > Function old new delta
> > gen6_ppgtt_clear_range 371 344 -27
> > gen8_ppgtt_clear_pd 575 519 -56
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.auld at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Thanks, pushed to dinq.
-Chris
More information about the Intel-gfx
mailing list