diff options
| author | 2021-11-19 18:08:31 +0800 | |
|---|---|---|
| committer | 2021-11-22 14:59:08 -0500 | |
| commit | 4aaea9d72e9aa01bfad7f48b3ad9d0ed591e7cb2 (patch) | |
| tree | 21ef11753355f78416028b4bee18004482adf437 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amdkfd: Remove unused entries in table (diff) | |
| download | linux-dev-4aaea9d72e9aa01bfad7f48b3ad9d0ed591e7cb2.tar.xz linux-dev-4aaea9d72e9aa01bfad7f48b3ad9d0ed591e7cb2.zip | |
drm/amdgpu: Fix double free of dmabuf
amdgpu_amdkfd_gpuvm_free_memory_of_gpu drop dmabuf reference increased in
amdgpu_gem_prime_export.
amdgpu_bo_destroy drop dmabuf reference increased in
amdgpu_gem_prime_import.
So remove this extra dma_buf_put to avoid double free.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Tested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
