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)
commitc2db32ce77adf82dd2a4193abc709ec51474f84e
tree69fb8aabe21215d51e1d7dcfe6b2a18c8e2343a1
parent9d5dabfeff3ca63925cfc9c427f2d1fe8929402b
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