drm/amdkfd: Allow building KFD on ARM64 (v2)
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 2 Jan 2019 19:52:13 +0000 (14:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:37:15 +0000 (15:37 -0500)
commitdf1dd4f4a7271eb2744d8593c0da5d7a58dbe3a9
tree61c1625cbef32fd8804670f5d444dd6fa7341815
parent95e8e59ec49f7ca5c8d3f531c1d396961b5b961b
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>
drivers/gpu/drm/amd/amdkfd/Kconfig
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.c