drm/amd/pm: Add GC v9.4.3 thermal limits to hwmon
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 20 Sep 2023 10:19:30 +0000 (15:49 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:43:06 +0000 (18:43 -0400)
commit9cff0879aefeca6eba586f02cad337e409e4f2b0
tree58bb3c5b1feadb6e2f2fd61d27740a9c7de5cd2e
parentdf7a2808528f213c81d4db5f236d54e0d52c8f46
drm/amd/pm: Add GC v9.4.3 thermal limits to hwmon

Publish max operating temperature of SOC and memory as temp*_emergency
nodes in hwmon. temp*_crit will show the throttle temperature limits.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c