diff options
| author | Rajneesh Bhardwaj <[email protected]> | 2021-10-27 05:08:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-02-07 22:59:53 +0000 |
| commit | d1289b41ec4db347794abfed7525e33dd2d9503b (patch) | |
| tree | 914452e2a3b118648415184b1c4e6ffb4cd24aec /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdkfd: CRIU checkpoint and restore xnack mode (diff) | |
| download | kernel-d1289b41ec4db347794abfed7525e33dd2d9503b.tar.gz kernel-d1289b41ec4db347794abfed7525e33dd2d9503b.zip | |
drm/amdkfd: CRIU allow external mm for svm ranges
Both svm_range_get_attr and svm_range_set_attr helpers use mm struct
from current but for a Checkpoint or Restore operation, the current->mm
will fetch the mm for the CRIU master process. So modify these helpers to
accept the task mm for a target kfd process to support Checkpoint
Restore.
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Rajneesh Bhardwaj <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
