aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2021-02-12 06:37:52 +0000
committerAlex Deucher <[email protected]>2021-02-22 23:03:07 +0000
commit172e4ee233f322d6d38a438f9c1177c03f37b241 (patch)
tree60d26f7dfdd485df5b0991a0e26acd0cf4b97209 /drivers/gpu/drm/amd/amdgpu
parentdrm/amdkfd: Use mmu_notifier_get (diff)
downloadkernel-172e4ee233f322d6d38a438f9c1177c03f37b241.tar.gz
kernel-172e4ee233f322d6d38a438f9c1177c03f37b241.zip
drm/amdkfd: Cleanup kfd_process if init_cwsr_apu fails
If init_cwsr_apu fails, we currently leave the kfd_process structure in place anyway. The next kfd_open will then succeed, using the existing kfd_process structure. Fix that by cleaning up the kfd_process after a failure in init_cwsr_apu. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Philip Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions