Fix for multiple hsmp freq sources not reported on some setups

Change-Id: I8afe7076bd7790cf408ef104c50ac8d258b7d3fc
Signed-off-by: Maisam Arif <maisarif@amd.com>
This commit is contained in:
Deepak Mewar
2024-02-16 12:27:51 +00:00
committed by Maisam Arif
parent 703fdb0ed2
commit 84608807da
3 changed files with 30 additions and 10 deletions
+13
View File
@@ -1608,6 +1608,19 @@ typedef struct __attribute__((__packed__)){
uint32_t gfxclk_frequency[8];
} amdsmi_hsmp_metrics_table_t;
/**
* @brief hsmp frequency limit source names
*/
static char* const amdsmi_hsmp_freqlimit_src_names[] = {
"cHTC-Active",
"PROCHOT",
"TDC limit",
"PPT Limit",
"OPN Max",
"Reliability Limit",
"APML Agent",
"HSMP Agent"
};
#endif
/*****************************************************************************/