aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2022-12-20 19:55:03 +0000
committerAlex Deucher <[email protected]>2023-01-11 21:40:45 +0000
commit23b02b0e4678d9d30931eecd5e5dbb06db7f957f (patch)
tree4833f274f6284f0e7b3161f59eba958a24581917 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU (diff)
downloadkernel-23b02b0e4678d9d30931eecd5e5dbb06db7f957f.tar.gz
kernel-23b02b0e4678d9d30931eecd5e5dbb06db7f957f.zip
drm/amdkfd: Cleanup vm process info if init vm failed
If acquire_vm failed when initializing KFD vm, set vm->process_info to NULL and free process info, otherwise, the future acquire_vm will always fail as vm->process_info is not NULL. Pass avm as parameter to remove the duplicate code. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions