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>
Wed, 30 Aug 2023 18:57:44 +0000 (14:57 -0400)
commit078649113570c001d6543a8c7eab32282031064a
treef067fecc4dee4b24a37ab53bb2b83ee444691622
parent709c280ad5264790b898620d901245f4b99218b5
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