drm/amdkfd: CRIU checkpoint and restore xnack mode
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Fri, 19 Nov 2021 15:23:05 +0000 (10:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 22:59:52 +0000 (17:59 -0500)
commit4717fe3d8dec42bc951a44f41efc95d635d26325
treeaf452fa95a3b5a1062761cce4db0d3fe80eea513
parentbe072b06c7397004e6464b4225e13c31ed0b9ca3
drm/amdkfd: CRIU checkpoint and restore xnack mode

Recoverable page faults are represented by the xnack mode setting inside
a kfd process and are used to represent the device page faults. For CR,
we don't consider negative values which are typically used for querying
the current xnack mode without modifying it.

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