mirror_ubuntu-kernels/drivers/gpu/drm/amd
Rajneesh Bhardwaj 73fa13b6a5 drm/amdkfd: CRIU Implement KFD restore ioctl
This implements the KFD CRIU Restore ioctl that lays the basic
foundation for the CRIU restore operation. It provides support to
create the buffer objects corresponding to the checkpointed image.
This ioctl creates various types of buffer objects such as VRAM,
MMIO, Doorbell, GTT based on the date sent from the userspace plugin.
The data mostly contains the previously checkpointed KFD images from
some KFD processs.

While restoring a criu process, attach old IDR values to newly
created BOs. This also adds the minimal gpu mapping support for a single
gpu checkpoint restore use case.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-07 17:59:35 -05:00
..
acp
amdgpu drm/amdkfd: CRIU Implement KFD checkpoint ioctl 2022-02-07 17:59:29 -05:00
amdkfd drm/amdkfd: CRIU Implement KFD restore ioctl 2022-02-07 17:59:35 -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