Re: [PATCH 2/3] drm/amdkfd: refine the gfx BO based dmabuf handling

2022-07-25 Thread Felix Kuehling
Am 2022-07-25 um 22:18 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 20:40 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 20:15 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 06:32 schrieb Lang Yu: We have memory leak issue i

Re: [PATCH 2/3] drm/amdkfd: refine the gfx BO based dmabuf handling

2022-07-25 Thread Felix Kuehling
Am 2022-07-25 um 20:40 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 20:15 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 06:32 schrieb Lang Yu: We have memory leak issue in current implenmention, i.e., the allocated struct kgd_mem memory is not hand

Re: [PATCH 2/3] drm/amdkfd: refine the gfx BO based dmabuf handling

2022-07-25 Thread Felix Kuehling
Am 2022-07-25 um 20:15 schrieb Lang Yu: On 07/25/ , Felix Kuehling wrote: Am 2022-07-25 um 06:32 schrieb Lang Yu: We have memory leak issue in current implenmention, i.e., the allocated struct kgd_mem memory is not handled properly. The idea is always creating a buffer object when importing a

Re: [PATCH 2/3] drm/amdkfd: refine the gfx BO based dmabuf handling

2022-07-25 Thread Felix Kuehling
Am 2022-07-25 um 06:32 schrieb Lang Yu: We have memory leak issue in current implenmention, i.e., the allocated struct kgd_mem memory is not handled properly. The idea is always creating a buffer object when importing a gfx BO based dmabuf. Signed-off-by: Lang Yu --- .../gpu/drm/amd/amdgpu

[PATCH 2/3] drm/amdkfd: refine the gfx BO based dmabuf handling

2022-07-25 Thread Lang Yu
We have memory leak issue in current implenmention, i.e., the allocated struct kgd_mem memory is not handled properly. The idea is always creating a buffer object when importing a gfx BO based dmabuf. Signed-off-by: Lang Yu --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 99 +---