summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/Kconfig
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2019-01-02 14:52:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 15:59:37 -0500
commitd1c234e2cd1091b816c990a1848d88a8697f97b4 (patch)
tree0a640ea7b4932829859a67e431cd7f7df3894616 /drivers/gpu/drm/amd/amdkfd/Kconfig
parente2d3c414ec0f9d1557c8c5ff2c32166e68bbc4ad (diff)
drm/amdkfd: Allow building KFD on ARM64 (v2)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/Kconfig')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig
index fbf0ee5201c3..c3613604a4f8 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -4,8 +4,8 @@
config HSA_AMD
bool "HSA kernel driver for AMD GPU devices"
- depends on DRM_AMDGPU && X86_64
- imply AMD_IOMMU_V2
+ 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.