mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
64d1c3a43a
dGPUs work without IOMMUv2. Make IOMMUv2 initialization dependent on ASIC information. Also allow building KFD without IOMMUv2 support. This is still useful for dGPUs and prepares for enabling KFD on architectures that don't support AMD IOMMUv2. v2: * Centralize IOMMUv2 code to avoid #ifdefs in too many places v3: * Imply AMD_IOMMU_V2 in Kconfig Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Christian Konig <christian.koenig@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
#
|
|
# Heterogenous system architecture configuration
|
|
#
|
|
|
|
config HSA_AMD
|
|
tristate "HSA kernel driver for AMD GPU devices"
|
|
depends on DRM_AMDGPU && X86_64
|
|
imply AMD_IOMMU_V2
|
|
help
|
|
Enable this if you want to use HSA features on AMD GPU devices.
|