[Intel-gfx] [PATCH] drm/i915: Prefer memset64() when filling the iomap

Matthew Auld matthew.william.auld at gmail.com
Sat Mar 17 12:57:47 UTC 2018


On 17 March 2018 at 08:51, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> As the ringbuffer may exist inside stolen memory, our access to it may
> be via the GTT iomap. This implies we may only have WC access for which
> the conventional memset() substitution of rep stos performs very badly,
> so switch to the rep mov[dq] variants when available.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list