summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2021-05-18 19:40:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:44:12 -0400
commit96b62c8aa47bdf063fbeff71460a4d199dd1431f (patch)
tree9bd345bad1d3e09cd1557f6dd03584a9019e0060 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parente552ee40b02bb6d30b0278d03fa03fae357ec043 (diff)
drm/amdkfd: fix a resource leakage issue
The function kfd_lookup_process_by_pasid will increase the reference count of kfd_process object, its caller should call kfd_unref_process to decrease the reference count. Otherwise resource leakage will happen. Signed-off-by: Dennis Li <Dennis.Li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions