Power Management

Power Management#

AMD SMI: Power Management
Power Management

Functions

amdsmi_status_t amdsmi_get_target_frequency_range (amdsmi_device_handle device_handle, amdsmi_clk_type_t clk_type, amdsmi_frequency_range_t *range)
 Returns current and supported frequency range for the specified clock type. More...
 

Detailed Description

Function Documentation

◆ amdsmi_get_target_frequency_range()

amdsmi_status_t amdsmi_get_target_frequency_range ( amdsmi_device_handle  device_handle,
amdsmi_clk_type_t  clk_type,
amdsmi_frequency_range_t range 
)

Returns current and supported frequency range for the specified clock type.

Parameters
[in]device_handleDevice which to query
[in]clk_typeClock type for which to get current and supported frequency range.
[out]rangeReference to frequency range structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail