diff options
| author | 2023-07-13 00:14:59 -0500 | |
|---|---|---|
| committer | 2023-07-25 16:16:57 -0400 | |
| commit | c01aebeef3ce45f696ffa0a1303cea9b34babb45 (patch) | |
| tree | 33730c23302d6ebab100195b1e4adf4c6aaaee53 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: Fix infinite loop in gfxhub_v1_2_xcc_gart_enable (v2) (diff) | |
drm/amd: Fix an error handling mistake in psp_sw_init()
If the second call to amdgpu_bo_create_kernel() fails, the memory
allocated from the first call should be cleared. If the third call
fails, the memory from the second call should be cleared.
Fixes: b95b5391684b ("drm/amdgpu/psp: move PSP memory alloc from hw_init to sw_init")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
