[SWDEV-541675] Remove Unnecessary API from amdsmi.h (#530)

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
This commit is contained in:
Narlo, Joseph
2025-07-07 11:14:27 -05:00
zatwierdzone przez GitHub
rodzic 5b95d227bc
commit 2cf6272b53
6 zmienionych plików z 36 dodań i 36 usunięć
-15
Wyświetl plik
@@ -4177,21 +4177,6 @@ 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
*
* @ingroup tagClkPowerPerfQuery
*
* @platform{gpu_bm_linux}
*
* @details Frees heap memory.
*
* @param[in] p a pointer to the memory to free.
*
* @return ::void
*/
void amdsmi_free_name_value_pairs(void *p);
/**
* @brief This function sets the clock frequency information. It is not supported on
* virtual machine guest
@@ -42,6 +42,10 @@
return AMDSMI_STATUS_BUSY; \
}
extern "C" {
void amdsmi_free_name_value_pairs(void *p);
}
amdsmi_status_t smi_amdgpu_find_hwmon_dir(amd::smi::AMDSmiGPUDevice* device, std::string* full_path);
amdsmi_status_t smi_amdgpu_get_board_info(amd::smi::AMDSmiGPUDevice* device, amdsmi_board_info_t *info);
amdsmi_status_t smi_amdgpu_get_power_cap(amd::smi::AMDSmiGPUDevice* device, int *cap);