Re: [PATCH 5/6] drm/amdkfd: Import DMABufs for interop through DRM

2023-11-09 Thread Christian König
Am 07.11.23 um 17:58 schrieb Felix Kuehling: 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 Acked-by: C

Re: [PATCH 5/6] drm/amdkfd: Import DMABufs for interop through DRM

2023-11-08 Thread Chen, Xiaogang
On 11/8/2023 5:26 PM, Felix Kuehling wrote: On 2023-11-08 18:20, Chen, Xiaogang wrote: On 11/7/2023 10:58 AM, Felix Kuehling wrote: 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 s

Re: [PATCH 5/6] drm/amdkfd: Import DMABufs for interop through DRM

2023-11-08 Thread Felix Kuehling
On 2023-11-08 18:20, Chen, Xiaogang wrote: On 11/7/2023 10:58 AM, Felix Kuehling wrote: 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.

Re: [PATCH 5/6] drm/amdkfd: Import DMABufs for interop through DRM

2023-11-08 Thread Chen, Xiaogang
On 11/7/2023 10:58 AM, Felix Kuehling wrote: 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 --- drive

RE: [PATCH 5/6] drm/amdkfd: Import DMABufs for interop through DRM

2023-11-07 Thread Errabolu, Ramesh
[AMD Official Use Only - General] Reviewed-by: Ramesh Errabolu -Original Message- From: Kuehling, Felix Sent: Tuesday, November 7, 2023 10:28 PM To: amd-gfx@lists.freedesktop.org Cc: Koenig, Christian ; Chen, Xiaogang ; Errabolu, Ramesh Subject: [PATCH 5/6] drm/amdkfd: Import DMABufs