diff options
| author | Felix Kuehling <[email protected]> | 2024-04-10 19:52:10 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-17 15:05:09 +0000 |
| commit | 18921b205012568b45760753ad3146ddb9e2d4e2 (patch) | |
| tree | 903915665c689d5a4dff3c8ddfe599cecc0526ed /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amdgpu: remove invalid resource->start check v2 (diff) | |
| download | kernel-18921b205012568b45760753ad3146ddb9e2d4e2.tar.gz kernel-18921b205012568b45760753ad3146ddb9e2d4e2.zip | |
drm/amdkfd: Fix memory leak in create_process failure
Fix memory leak due to a leaked mmget reference on an error handling
code path that is triggered when attempting to create KFD processes
while a GPU reset is in progress.
Fixes: 0ab2d7532b05 ("drm/amdkfd: prepare per-process debug enable and disable")
CC: Xiaogang Chen <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Tested-by: Harish Kasiviswanthan <[email protected]>
Reviewed-by: Mukul Joshi <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
