summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2020-12-08 12:23:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-12-08 23:05:47 -0500
commitc897934da15f182ce99536007f8ef61c4748c07e (patch)
treec332c97780aa9c930d82c438c95902a1a131e87f /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parent68fce5f07c304b34531dd9d7e13f6d174922e4c4 (diff)
drm/amdkfd: Fix leak in dmabuf import
Release dmabuf reference before returning from kfd_ioctl_import_dmabuf. amdgpu_amdkfd_gpuvm_import_dmabuf takes a reference to the underlying GEM BO and doesn't keep the reference to the dmabuf wrapper. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions