summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2023-09-19 21:57:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 23:09:55 +0300
commit0188006d7c797a37c04471a2b4a34a7dfb21f363 (patch)
treef47862356f2f59d924d751fa420abfafb1cd99db /drivers/platform
parent1819200166ce511ac298dc96b9b17eb655a9edc4 (diff)
downloadlinux-0188006d7c797a37c04471a2b4a34a7dfb21f363.tar.xz
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/platform')
0 files changed, 0 insertions, 0 deletions