Pstate selection#
Pstate selection
Functions | |
amdsmi_status_t | amdsmi_cpu_apb_enable (amdsmi_processor_handle processor_handle) |
Enable APB. More... | |
amdsmi_status_t | amdsmi_cpu_apb_disable (amdsmi_processor_handle processor_handle, uint8_t pstate) |
Disable APB. More... | |
amdsmi_status_t | amdsmi_set_cpu_socket_lclk_dpm_level (amdsmi_processor_handle processor_handle, uint8_t nbio_id, uint8_t min, uint8_t max) |
Set NBIO lclk dpm level value. More... | |
amdsmi_status_t | amdsmi_get_cpu_socket_lclk_dpm_level (amdsmi_processor_handle processor_handle, uint8_t nbio_id, amdsmi_dpm_level_t *nbio) |
Get NBIO LCLK dpm level. More... | |
amdsmi_status_t | amdsmi_set_cpu_pcie_link_rate (amdsmi_processor_handle processor_handle, uint8_t rate_ctrl, uint8_t *prev_mode) |
Set pcie link rate. More... | |
amdsmi_status_t | amdsmi_set_cpu_df_pstate_range (amdsmi_processor_handle processor_handle, uint8_t max_pstate, uint8_t min_pstate) |
Set df pstate range. More... | |
Detailed Description
Function Documentation
◆ amdsmi_cpu_apb_enable()
amdsmi_status_t amdsmi_cpu_apb_enable | ( | amdsmi_processor_handle | processor_handle | ) |
Enable APB.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_cpu_apb_disable()
amdsmi_status_t amdsmi_cpu_apb_disable | ( | amdsmi_processor_handle | processor_handle, |
uint8_t | pstate | ||
) |
Disable APB.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] pstate - pstate value to be set
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_set_cpu_socket_lclk_dpm_level()
amdsmi_status_t amdsmi_set_cpu_socket_lclk_dpm_level | ( | amdsmi_processor_handle | processor_handle, |
uint8_t | nbio_id, | ||
uint8_t | min, | ||
uint8_t | max | ||
) |
Set NBIO lclk dpm level value.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] nbio_id - nbio index [in] min - minimum value to be set [in] max - maximum value to be set
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_socket_lclk_dpm_level()
amdsmi_status_t amdsmi_get_cpu_socket_lclk_dpm_level | ( | amdsmi_processor_handle | processor_handle, |
uint8_t | nbio_id, | ||
amdsmi_dpm_level_t * | nbio | ||
) |
Get NBIO LCLK dpm level.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] nbio_id - nbio index [in,out] nbio - Input buffer to fill lclk dpm level
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_set_cpu_pcie_link_rate()
amdsmi_status_t amdsmi_set_cpu_pcie_link_rate | ( | amdsmi_processor_handle | processor_handle, |
uint8_t | rate_ctrl, | ||
uint8_t * | prev_mode | ||
) |
Set pcie link rate.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] rate_ctrl - rate control value to be set. [in,out] prev_mode - Input buffer to fill previous rate control value.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_set_cpu_df_pstate_range()
amdsmi_status_t amdsmi_set_cpu_df_pstate_range | ( | amdsmi_processor_handle | processor_handle, |
uint8_t | max_pstate, | ||
uint8_t | min_pstate | ||
) |
Set df pstate range.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] max_pstate - maximum pstate value to be set [in] min_pstate - minimum pstate value to be set
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail