Skip to content

Conversation

@rst0git
Copy link
Member

@rst0git rst0git commented Nov 1, 2025

This patch set, in combination with the accompanying kernel patch set, is the second draft of work to support amdgpu dmabuf IPC. Since the first post, the patches have been split to make them more readable and made backwards-compatible.

This is pull request contains the patches from #2613 with changes from the wip/amdgpu branch.

@rst0git rst0git force-pushed the wip/amdgpu branch 4 times, most recently from c0181e4 to ccfa51a Compare November 1, 2025 18:24
@avagin
Copy link
Member

avagin commented Nov 2, 2025

@rst0git pls do all changes on top of wip/amdgpu.

@rst0git rst0git changed the base branch from criu-dev to wip/amdgpu November 2, 2025 16:17
@avagin avagin requested a review from fdavid-amd November 2, 2025 17:52
Copy link
Contributor

@fdavid-amd fdavid-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than kernel header typos that I could go either way on, this seems to be all my changes. Sorry again for the complications.

@rst0git rst0git force-pushed the wip/amdgpu branch 2 times, most recently from a5459d2 to 6d855b6 Compare November 5, 2025 15:22
fdavid-amd and others added 8 commits November 5, 2025 19:34
These pr_info lines begin with "CC3" and "TWI" were not meant to be
included in the patch.

Co-authored-by: Andrei Vagin <avagin@google.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Use `return 0` on success in `post_dump_dmabuf_check()` for consistency
with other functions.

Co-authored-by: Andrei Vagin <avagin@google.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Co-authored-by: Andrei Vagin <avagin@google.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Add a comment that explains the purpose of `retry_needed`.

Co-authored-by: Andrei Vagin <avagin@google.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
amdgpu_plugin_drm.c:167:6: error: variable 'num_bos' set but not used [-Werror,-Wunused-but-set-variable]
  167 |         int num_bos = 0;
      |

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This patch updates drm.h and amdgpu_drm.h kernel headers,
and adds drm_mode.h (included by drm.h) from the rocm-7.1.0
release tag.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
These header files are copied directly from the Linux kernel and contain
typos. We skip these files in codespell to simplify maintenance.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Use local copies of amdgpu and DRM headers for consistency.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@avagin avagin merged commit 0038ba8 into checkpoint-restore:wip/amdgpu Nov 5, 2025
35 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants