diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2023-09-19 14:57:02 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-13 15:09:55 -0500 |
commit | 0188006d7c797a37c04471a2b4a34a7dfb21f363 (patch) | |
tree | f47862356f2f59d924d751fa420abfafb1cd99db /drivers/regulator | |
parent | 1819200166ce511ac298dc96b9b17eb655a9edc4 (diff) |
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/regulator')
0 files changed, 0 insertions, 0 deletions