drm/amdgpu: skip unload tmr when tmr is not loaded
authorTong Liu01 <Tong.Liu01@amd.com>
Tue, 21 Mar 2023 09:10:04 +0000 (17:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Mar 2023 22:20:14 +0000 (18:20 -0400)
commitf5a5b08139e8fdab024c1e52854e24fe1e8b428b
tree2bbcc61061cbae4f462daa8451505b2e8211ea25
parent5ee33d905f89c18d4b33da6e5eefdae6060502df
drm/amdgpu: skip unload tmr when tmr is not loaded

[why]
Skip TMR unload for Navi12 and CHIP_SIENNA_CICHLID SRIOV as TMR is
not loaded at all

Signed-off-by: Tong Liu01 <Tong.Liu01@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c