drm/amdgpu: fix hive reference leak when reflecting psp topology info
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 28 Jul 2022 16:36:09 +0000 (12:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:28:54 +0000 (16:28 -0400)
commit1ff186ff32997049a6d263031819517eab4e93aa
treeb619cd1fc021da573cf77f50b875f08e3133c706
parente1c42213f3f9b24200d4b60da806303dbeae5a4d
drm/amdgpu: fix hive reference leak when reflecting psp topology info

Hives that require psp topology info to be reflected will leak hive
reference so fix it.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Shaoyun Liu <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c