Re: [PATCH] drm/i915: check to see if SIMD registers are available before using SIMD

From: Christoph Hellwig
Date: Mon May 04 2020 - 12:03:19 EST


On Sun, May 03, 2020 at 09:20:19PM +0100, Chris Wilson wrote:
> > Err, why does i915 implements its own uncached memcpy instead of relying
> > on core functionality to start with?
>
> What is this core functionality that provides movntqda?

A sensible name might be memcpy_uncached or mempcy_nontemporal.
But the important point is that this should be arch code with a common
fallback rather than hacking it up in drivers.