linux: Enable AMD's amdkfd kernel driver in >= 4.20
The amdkfd driver was built (and loaded when support was detected) without explicit configuration in kernels 4.17-4.19, but not in newer kernels.
This commit is contained in:
parent
da1a2b1eea
commit
7d9d8874f5
|
@ -681,6 +681,9 @@ let
|
|||
HOTPLUG_PCI_ACPI = yes; # PCI hotplug using ACPI
|
||||
HOTPLUG_PCI_PCIE = yes; # PCI-Expresscard hotplug support
|
||||
|
||||
# Enable AMD's ROCm GPU compute stack
|
||||
HSA_AMD = whenAtLeast "4.20" yes;
|
||||
|
||||
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
||||
# Enable memory hotplug support
|
||||
# Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
|
||||
|
|
Loading…
Reference in New Issue