Add amdsmi_get_gpu_pm_metrics_info and amdsmi_get_gpu_reg_table_info to py-interface (v3)

v2: drop depend on libc
v3: whitespace

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Change-Id: I2eff7aa9d4f0ca8635796f82b106ac0d36176346
Bu işleme şunda yer alıyor:
Tom St Denis
2024-08-01 10:49:04 -04:00
ebeveyn 97e70d44cf
işleme f4506cfd65
4 değiştirilmiş dosya ile 88 ekleme ve 14 silme
+12
Dosyayı Görüntüle
@@ -3182,6 +3182,18 @@ amdsmi_status_t amdsmi_set_gpu_clk_limit(amdsmi_processor_handle processor_handl
amdsmi_clk_limit_type_t limit_type,
uint64_t clk_value);
/**
* @brief Frees heap memory allocated by reg_table and pm_metrics
*
* @platform{gpu_bm_linux}
*
* @details Frees heap memory.
*
* @param[in] p a pointer to the memory to free.
*
*/
void amdsmi_free_name_value_pairs(void *p);
/**
* @brief This function sets the clock frequency information. It is not supported on
* virtual machine guest