]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: CRIU prepare for svm resume
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Mon, 8 Nov 2021 16:21:57 +0000 (11:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 22:59:53 +0000 (17:59 -0500)
commit307efa97e414d82944d433fe7b26727a18d8a326
tree69fb8aabe21215d51e1d7dcfe6b2a18c8e2343a1
parent4171431948576c2ecb459d4fe1287193016eb899
drm/amdkfd: CRIU prepare for svm resume

During CRIU restore phase, the VMAs for the virtual address ranges are
not at their final location yet so in this stage, only cache the data
required to successfully resume the svm ranges during an imminent CRIU
resume phase.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.h