aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.amd64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-01-12 11:02:38 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-01-12 11:31:00 +0000
commit11d62b6f31ab4e99df6d0c6c23406b57eaa37f41 (patch)
treea365c3f0ec126cbb9003cbae175c301605c94461 /sys/conf/files.amd64
parent2c95fb753fb20e82c16356537204d8583e125be0 (diff)
downloadsrc-11d62b6f31ab4e99df6d0c6c23406b57eaa37f41.tar.gz
src-11d62b6f31ab4e99df6d0c6c23406b57eaa37f41.zip
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
Diffstat (limited to 'sys/conf/files.amd64')
-rw-r--r--sys/conf/files.amd643
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 00b8b8c57ee1..a049d9469834 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -462,6 +462,9 @@ x86/xen/pv.c optional xenhvm
x86/xen/pvcpu_enum.c optional xenhvm
x86/xen/xen_pci_bus.c optional xenhvm
+compat/linuxkpi/common/src/linux_fpu.c optional compat_linuxkpi \
+ compile-with "${LINUXKPI_C}"
+
contrib/openzfs/module/zcommon/zfs_fletcher_avx512.c optional zfs compile-with "${ZFS_C}"
contrib/openzfs/module/zcommon/zfs_fletcher_intel.c optional zfs compile-with "${ZFS_C}"
contrib/openzfs/module/zcommon/zfs_fletcher_sse.c optional zfs compile-with "${ZFS_C}"