drm/amd/pm: Add throttle limit for SMU v13.0.6
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 20 Sep 2023 06:38:58 +0000 (12:08 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:42:58 +0000 (18:42 -0400)
commitdf7a2808528f213c81d4db5f236d54e0d52c8f46
treead10f92431c3f2e169bc62a8daebdab34c11b2d8
parent2358ecdabe3733336a20d0ab7bdd243af550dbfb
drm/amd/pm: Add throttle limit for SMU v13.0.6

CTF limit represents the max operating temperature and thermal limit
gives the limit at which throttling starts. Add support for both limits.
SOC and HBM may have different limit values.*_emergency_max gives  max
operating temperature and *_crit_max value represents throttle limit.

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/swsmu/smu13/smu_v13_0_6_ppt.c