aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorxinhui pan <xinhui.pan@amd.com>2021-11-19 18:08:31 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-11-24 15:04:05 -0500
commit4eb6bb649fe041472ddd00f94870c0b86ef49d34 (patch)
treec7d01216d5250c49492c28d4159a00c39f082321 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amdgpu: Fix MMIO HDP flush on SRIOV (diff)
downloadwireguard-linux-4eb6bb649fe041472ddd00f94870c0b86ef49d34.tar.xz
wireguard-linux-4eb6bb649fe041472ddd00f94870c0b86ef49d34.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 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions