mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
d1c234e2cd
ifdef x86_64 specific code. Allow enabling CONFIG_HSA_AMD on ARM64. v2: Fixed a compiler warning due to an unused variable CC: Mark Nutter <Mark.Nutter@arm.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Tested-by: Mark Nutter <Mark.Nutter@arm.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
12 lines
283 B
Plaintext
12 lines
283 B
Plaintext
#
|
|
# Heterogenous system architecture configuration
|
|
#
|
|
|
|
config HSA_AMD
|
|
bool "HSA kernel driver for AMD GPU devices"
|
|
depends on DRM_AMDGPU && (X86_64 || ARM64)
|
|
imply AMD_IOMMU_V2 if X86_64
|
|
select MMU_NOTIFIER
|
|
help
|
|
Enable this if you want to use HSA features on AMD GPU devices.
|