diff options
author | 2023-09-19 14:57:02 -0400 | |
---|---|---|
committer | 2023-12-13 15:09:55 -0500 | |
commit | 0188006d7c797a37c04471a2b4a34a7dfb21f363 (patch) | |
tree | f47862356f2f59d924d751fa420abfafb1cd99db /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | |
parent | drm/amdkfd: Export DMABufs from KFD using GEM handles (diff) | |
download | linux-rng-0188006d7c797a37c04471a2b4a34a7dfb21f363.tar.xz linux-rng-0188006d7c797a37c04471a2b4a34a7dfb21f363.zip |
drm/amdkfd: Import DMABufs for interop through DRM
Use drm_gem_prime_fd_to_handle to import DMABufs for interop. This
ensures that a GEM handle is created on import and that obj->dma_buf
will be set and remain set as long as the object is imported into KFD.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Reviewed-by: Xiaogang.Chen <Xiaogang.Chen@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c')
0 files changed, 0 insertions, 0 deletions