commit | ab6e4e9de8dd7febfdf6719741f10dc6693d8ce9 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue Dec 08 12:23:15 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 09 10:06:39 2020 -0500 |
tree | 4000e6299d137b7502421b7eb3e3e445a77c519b | |
parent | 6896887b8676d8fb445c85ea56333b9661a6a8aa [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>