drm/amdgpu/psp: set boot_time_tmr flag
authorLikun Gao <Likun.Gao@amd.com>
Thu, 26 Oct 2023 09:53:26 +0000 (17:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:18:20 +0000 (17:18 -0500)
commite71658299d458c1384bbc09662830204559cfa47
tree7a9c000faab99a0858af31cc122bf1e153a0f051
parent2fb4460fb84d507c55d3e346dfe95230e6d17c5b
drm/amdgpu/psp: set boot_time_tmr flag

Set boot_time_tmr flag for the ASIC which MP0 ip version
newer than 14.0.2
For runtime TMR:
     Init tmr and load tmr should did.
For boottime TMR:
     If do not support autoload, skip init TMR.
     If support autoload, excute init TMR but skip load tmr.

v2: rebase (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