drm/amdgpu/psp: handle TMR type via flag
authorLikun Gao <Likun.Gao@amd.com>
Thu, 26 Oct 2023 09:39:17 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:18:16 +0000 (17:18 -0500)
commit2fb4460fb84d507c55d3e346dfe95230e6d17c5b
treeb17a2490542c18f4bce417099e9f956839daaa8d
parent8d339b0df22956ce7e3ed8b1aa08ac8fe7f7952d
drm/amdgpu/psp: handle TMR type via flag

Add flag boot_time_tmr to indicate boot time TMR or runtime TMR
instead of function.

v2: rework logic (Alex)

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h