[Intel-gfx] [PATCH] drm/i915/gtt: Use optimised memset32/64 for clearing PTE
Matthew Auld
matthew.william.auld at gmail.com
Mon Mar 4 23:48:09 UTC 2019
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>
More information about the Intel-gfx
mailing list