]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: refine migration policy with xnack on
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 25 Feb 2021 04:46:28 +0000 (23:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:50:03 +0000 (21:50 -0400)
commit40afdb703f1cc756255773521f1fc2a6d443175b
tree1889d0c8c7654d13ecb4502fba8c04d0fe7d0919
parent500c4cba755ddf172c28512dde372707cbc1e782
drm/amdkfd: refine migration policy with xnack on

With xnack on, GPU vm fault handler decide the best restore location,
then migrate range to the best restore location and update GPU mapping
to recover the GPU vm fault.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Sierra <alex.sierra@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/kfd_migrate.c
drivers/gpu/drm/amd/amdkfd/kfd_migrate.h
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c