Re: [Intel-gfx] [PATCH v2] drm/i915: Use memcpy_from_wc for GPU error capture

2016-12-06 Thread Chris Wilson
On Tue, Dec 06, 2016 at 12:22:03PM +, Chris Wilson wrote: > On all platforms we now always read the contents of buffers via the GTT, > i.e. using WC cpu access. Reads are slow, but they can be accelerated > with an internal read buffer using sse4.1 (movntqda). This is our >

[Intel-gfx] [PATCH v2] drm/i915: Use memcpy_from_wc for GPU error capture

2016-12-06 Thread Chris Wilson
On all platforms we now always read the contents of buffers via the GTT, i.e. using WC cpu access. Reads are slow, but they can be accelerated with an internal read buffer using sse4.1 (movntqda). This is our i915_memcpy_from_wc() routine which also checks for sse4.1 support and so we can fallback