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

"Francis, David" <[email protected]> Fri, 10 Apr 2026 16:12:58 +0000
Newsgroups dev.linux.lists.criu
Message-ID <SA1PR12MB81444AA6B671778335C34304EF592@SA1PR12MB8144.namprd12.prod.outlook.com>
> I meant the first test case from
> https://cgit.freedesktop.org/~tursulin/intel-gpu-tools/commit/?h=amd-criu&id=24487611e08c753e73b3fc650ca85793bf053f4d
> ie. igt_subtest("open")?

Whoops, misread before. Yes, that should work

David

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


On 10/04/2026 16:46, Francis, David wrote:
> 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.

I meant the first test case from
https://cgit.freedesktop.org/~tursulin/intel-gpu-tools/commit/?h=amd-criu&id=24487611e08c753e73b3fc650ca85793bf053f4d
ie. igt_subtest("open")?

Regards,

Tvrtko

>
> 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(-)
>>
>