summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-04-23 00:19:29 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 16:55:05 +0300
commitda40bf8f9376370b5bc2fda07aadaaddc308b1eb (patch)
tree59b5fc2b823d8048a9df094fea9009113bbe5238 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentfb4f4f4256f86501bdd5117a9fe00c3a84519276 (diff)
downloadlinux-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