diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-04-23 00:19:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 16:55:05 +0300 |
commit | da40bf8f9376370b5bc2fda07aadaaddc308b1eb (patch) | |
tree | 59b5fc2b823d8048a9df094fea9009113bbe5238 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | fb4f4f4256f86501bdd5117a9fe00c3a84519276 (diff) | |
download | linux-da40bf8f9376370b5bc2fda07aadaaddc308b1eb.tar.xz |
drm/amdgpu/psp: move shared buffer frees into single function
So we can properly clean up if any of the TAs or TMR fails
to properly initialize or terminate. This avoids any
memory leaks in the error case.
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_ucode.c')
0 files changed, 0 insertions, 0 deletions