]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdkfd: register HMM device private zone
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 7 Feb 2020 20:34:33 +0000 (15:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:47:54 +0000 (21:47 -0400)
commit814ab9930cfd709768439799eae3c7ef0a658b54
treeb5b3b6ce24d748623165f17ad098908f8d57daeb
parent0f7b5c44d4c53710993e4773bd6eaf171f1888e6
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>
drivers/gpu/drm/amd/amdkfd/Kconfig
drivers/gpu/drm/amd/amdkfd/Makefile
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_migrate.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_priv.h