]> 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)
commit190afc479f820d893784320baffe449bccebba97
tree1889d0c8c7654d13ecb4502fba8c04d0fe7d0919
parent9a6e4744730a4fd56f6fe04f8a0795c3c14819fb
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