diff options
| author | Felix Kuehling <[email protected]> | 2020-12-08 17:23:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-12-09 04:05:47 +0000 |
| commit | c897934da15f182ce99536007f8ef61c4748c07e (patch) | |
| tree | c332c97780aa9c930d82c438c95902a1a131e87f /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amdgpu: use AMDGPU_NUM_VMID when possible (diff) | |
| download | kernel-c897934da15f182ce99536007f8ef61c4748c07e.tar.gz kernel-c897934da15f182ce99536007f8ef61c4748c07e.zip | |
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 <[email protected]>
Reviewed-by: Kent Russell <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
