drm/amd/pm: Add critical temp for GC v9.4.3
authorAsad Kamal <asad.kamal@amd.com>
Sat, 12 Aug 2023 14:22:10 +0000 (22:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 21:53:41 +0000 (17:53 -0400)
commit1836bb0a9d09b42ca1e56e90814eb70658aa7c96
tree5cc41e6ca581b322a3b05c46728c6ec634e321ad
parent85609153102ea402e860657e04df4b839b4212ca
drm/amd/pm: Add critical temp for GC v9.4.3

Add critical temperature message support func for smu v13.0.6
and expose critical temperature as part of hw mon attributes
for GC v9.4.3

v2:
Added comment for pmfw version requirement & move the check
to get_thermal_temperature_range function

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c