Re: [PATCH] drm/i915: check to see if the FPU is available before using it

2020-04-08 Thread Jason A. Donenfeld
On Sat, Mar 28, 2020 at 1:59 AM Chris Wilson wrote: > > Quoting Jason A. Donenfeld (2020-03-28 00:04:22) > > It's not safe to just grab the FPU willy nilly without first checking to > > see if it's available. This patch adds the usual call to may_use_simd() > > and falls back to boring memcpy if i

[PATCH] drm/i915: check to see if the FPU is available before using it

2020-03-30 Thread Jason A. Donenfeld
It's not safe to just grab the FPU willy nilly without first checking to see if it's available. This patch adds the usual call to may_use_simd() and falls back to boring memcpy if it's not available. Signed-off-by: Jason A. Donenfeld --- drivers/gpu/drm/i915/i915_memcpy.c | 12 1 fi

Re: [PATCH] drm/i915: check to see if the FPU is available before using it

2020-03-28 Thread Chris Wilson
Quoting Jason A. Donenfeld (2020-03-28 00:04:22) > It's not safe to just grab the FPU willy nilly without first checking to > see if it's available. This patch adds the usual call to may_use_simd() > and falls back to boring memcpy if it's not available. These instructions do not use the fpu, nor