linux/drivers/gpu/drm/amd
Rajneesh Bhardwaj f185381b64 drm/amdkfd: CRIU Implement KFD process_info ioctl
This IOCTL op is expected to be called as a precursor to the actual
Checkpoint operation. This does the basic discovery into the target
process seized by CRIU and relays the information to the userspace that
utilizes it to start the Checkpoint operation via another dedicated
IOCTL op.

The process_info IOCTL op determines the number of GPUs, buffer objects
that are associated with the target process, its process id in
caller's namespace since /proc/pid/mem interface maybe used to drain
the contents of the discovered buffer objects in userspace and getpid
returns the pid of CRIU dumper process. Also the pid of a process
inside a container might be different than its global pid so return
the ns pid.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-07 17:59:20 -05:00
..
acp
amdgpu drm/amdgpu: Print once if RAS unsupported 2022-02-07 17:14:16 -05:00
amdkfd drm/amdkfd: CRIU Implement KFD process_info ioctl 2022-02-07 17:59:20 -05:00
display drm/amd/display: Use NULL pointer instead of plain integer 2022-02-02 18:28:06 -05:00
include amdgpu/pm: Implement new API function "emit" that accepts buffer base and write offset 2022-02-02 18:27:58 -05:00
pm amdgpu/pm: Implement new API function "emit" that accepts buffer base and write offset 2022-02-02 18:27:58 -05:00