Re: [PATCH 0/3] Patches to allow amdgpu restore without kfd file.

"Francis, David" <[email protected]> Fri, 10 Apr 2026 15:46:09 +0000
Newsgroups dev.linux.lists.criu
Message-ID <SA1PR12MB8144C2D74F85BD4C825B8F0AEF592@SA1PR12MB8144.namprd12.prod.outlook.com>
Haven't tested with having a BO created / mapped, but since that code should already be in from the dmabuf IPC work, it should work.

That's what I'm testing next.

David.

________________________________________
From: Tvrtko Ursulin <[email protected]>
Sent: Friday, April 10, 2026 11:42 AM
To: Francis, David; [email protected]
Subject: Re: [PATCH 0/3] Patches to allow amdgpu restore without kfd file.



On 10/04/2026 15:45, David Francis wrote:
> These patches allow processes that have renderD device files open
> but not kfd device files to dump / restore.

The series allows the first/minimal test case from my IGT to pass?

Regards,

Tvrtko

>
> Mostly a proof-of-concept / baseline for future work since there's
> currently no way for such a process to dump / restore its queues.
>
> David Francis (3):
>    plugin/amdgpu: Add plugin to inventory even if there are no vmas
>    plugin/amdgpu: Add topology dump file
>    plugins/amdgpu: Make next_fd without kfd
>
>   plugins/amdgpu/amdgpu_plugin.c      | 113 ++++++++++++++++++++++++++--
>   plugins/amdgpu/amdgpu_plugin_drm.c  |  64 ++++++++++++++--
>   plugins/amdgpu/amdgpu_plugin_util.h |   9 +++
>   plugins/amdgpu/criu-amdgpu.proto    |   5 ++
>   4 files changed, 180 insertions(+), 11 deletions(-)
>