mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
Always valid buffer objects are special in that they cannot be exported via dmabuf and as such the current code paths for dumping and restoring their content cannot work. To support them we make use of the new DRM_IOCTL_AMDGPU_GEM_COPY_BUFFER ioctl, which allows access to the kernel side content copy code. This is beneficial not just for handling VM always valid objects, but also removes issues around GPU virtual address space conflicts, where neither the dump or restore stages do not need to know, or attempt to work work around not being able to know, the current VM virtual address range allocations. Therefore we implement this as the preferred method of copying buffer object content and only fall-back on the existing code paths if the current kernel does not support it. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> |
||
|---|---|---|
| .. | ||
| amdgpu | ||
| cuda | ||