diff options
author | Al Viro <[email protected]> | 2024-06-03 21:43:53 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-09-10 13:44:30 -0400 |
commit | a4500b82bc85f7a15cff0729315c96015849e9e8 (patch) | |
tree | 6f78e441767790121869b9b80833d33c60fd8860 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 6c6ca71bc1653d00623702ae031d0f9bde06a6fc (diff) |
drm/amdkfd: CRIU fixes
Instead of trying to use close_fd() on failure exits, just have
criu_get_prime_handle() store the file reference without inserting
it into descriptor table.
Then, once the callers are past the last failure exit, they can go
and either insert all those file references into the corresponding
slots of descriptor table, or drop all those file references and
free the unused descriptors.
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions