HomeFreeBSD

linuxkpi: add kernel_fpu_begin/kernel_fpu_end

Description

linuxkpi: add kernel_fpu_begin/kernel_fpu_end

With newer AMD GPUs (>=Navi,Renoir) there is FPU context usage in the
amdgpu driver.
The kernel_fpu_begin/end implementations in drm did not even allow nested
begin-end blocks.

Submitted by: Greg V
Reviewed By: manu, hselasky
Differential Revision: https://reviews.freebsd.org/D28061

Details

Provenance
manuAuthored on Jan 12 2021, 11:02 AM
Reviewer
manu
Differential Revision
D28061: linuxkpi: add kernel_fpu_begin/kernel_fpu_end
Parents
rG2c95fb753fb2: linuxkpi: Add shrinker support
Branches
Unknown
Tags
Unknown