summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/Kconfig
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2020-02-07 15:34:33 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-04-20 21:47:54 -0400
commit814ab9930cfd709768439799eae3c7ef0a658b54 (patch)
treeb5b3b6ce24d748623165f17ad098908f8d57daeb /drivers/gpu/drm/amd/amdkfd/Kconfig
parent0f7b5c44d4c53710993e4773bd6eaf171f1888e6 (diff)
drm/amdkfd: register HMM device private zone
Register vram memory as MEMORY_DEVICE_PRIVATE type resource, to allocate vram backing pages for page migration. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@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/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig
index f02c938f75da..fb8d85716599 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -8,6 +8,8 @@ config HSA_AMD
depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
imply AMD_IOMMU_V2 if X86_64
select HMM_MIRROR
+ select ZONE_DEVICE
+ select DEVICE_PRIVATE
select MMU_NOTIFIER
select DRM_AMDGPU_USERPTR
help