diff options
author | xinhui pan <xinhui.pan@amd.com> | 2021-11-19 18:08:31 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-22 14:59:08 -0500 |
commit | 4aaea9d72e9aa01bfad7f48b3ad9d0ed591e7cb2 (patch) | |
tree | 21ef11753355f78416028b4bee18004482adf437 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | |
parent | a0e7e140b5b2cb76e9b455e548234c22585001b6 (diff) |
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 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
0 files changed, 0 insertions, 0 deletions