ADL (AMD Display Library) Public APIs
Version 17.1
|
This group describes the Wattman APIs. More...
Functions | |
int | ADL2_Overdrive5_CurrentActivity_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPMActivity *lpActivity) |
Function to retrieve current power management-related activity. More... | |
int | ADL2_Overdrive5_FanSpeed_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue) |
Function to retrieve the fan speed reported by the thermal controller. More... | |
int | ADL2_Overdrive5_FanSpeed_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue) |
Function to set the fan speed. More... | |
int | ADL2_Overdrive5_FanSpeedInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedInfo *lpFanSpeedInfo) |
Function to retrieve the fan speed reporting capability for thermal controllers. More... | |
int | ADL2_Overdrive5_FanSpeedToDefault_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex) |
Function to set the fan speed to the default fan speed value. More... | |
int | ADL2_Overdrive5_ODParameters_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODParameters *lpOdParameters) |
Function to retrieve the current Overdrive parameters. More... | |
int | ADL2_Overdrive5_ODPerformanceLevels_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDefault, ADLODPerformanceLevels *lpOdPerformanceLevels) |
Function to retrieve the current or default Overdrive performance levels. More... | |
int | ADL2_Overdrive5_ODPerformanceLevels_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODPerformanceLevels *lpOdPerformanceLevels) |
Function to set the current Overdrive performance levels. More... | |
int | ADL2_Overdrive5_PowerControl_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported) |
Function to check for PowerControl capabilities. More... | |
int | ADL2_Overdrive5_PowerControl_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue) |
Function to get values of PowerControl. More... | |
int | ADL2_Overdrive5_PowerControl_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iValue) |
Function to set values of PowerControl. More... | |
int | ADL2_Overdrive5_PowerControlInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPowerControlInfo *lpPowerControlInfo) |
Function to get values of PowerControl information. More... | |
int | ADL2_Overdrive5_Temperature_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature) |
Function to retrieve thermal controller temperatures. More... | |
int | ADL2_Overdrive5_ThermalDevices_Enum (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo) |
Function to retrieve thermal devices information. More... | |
int | ADL2_Overdrive_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion) |
Function to retrieve current power management capabilities. More... | |
int | ADL_Overdrive5_CurrentActivity_Get (int iAdapterIndex, ADLPMActivity *lpActivity) |
Function to retrieve current power management-related activity. More... | |
int | ADL_Overdrive5_FanSpeed_Get (int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue) |
Function to retrieve the fan speed reported by the thermal controller. More... | |
int | ADL_Overdrive5_FanSpeed_Set (int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue) |
Function to set the fan speed. More... | |
int | ADL_Overdrive5_FanSpeedInfo_Get (int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedInfo *lpFanSpeedInfo) |
Function to retrieve the fan speed reporting capability for thermal controllers. More... | |
int | ADL_Overdrive5_FanSpeedToDefault_Set (int iAdapterIndex, int iThermalControllerIndex) |
Function to set the fan speed to the default fan speed value. More... | |
int | ADL_Overdrive5_ODParameters_Get (int iAdapterIndex, ADLODParameters *lpOdParameters) |
Function to retrieve the current Overdrive parameters. More... | |
int | ADL_Overdrive5_ODPerformanceLevels_Get (int iAdapterIndex, int iDefault, ADLODPerformanceLevels *lpOdPerformanceLevels) |
Function to retrieve the current or default Overdrive performance levels. More... | |
int | ADL_Overdrive5_ODPerformanceLevels_Set (int iAdapterIndex, ADLODPerformanceLevels *lpOdPerformanceLevels) |
Function to set the current Overdrive performance levels. More... | |
int | ADL_Overdrive5_PowerControl_Caps (int iAdapterIndex, int *lpSupported) |
Function to check for PowerControl capabilities. More... | |
int | ADL_Overdrive5_PowerControl_Get (int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue) |
Function to get values of PowerControl. More... | |
int | ADL_Overdrive5_PowerControl_Set (int iAdapterIndex, int iValue) |
Function to set values of PowerControl. More... | |
int | ADL_Overdrive5_PowerControlInfo_Get (int iAdapterIndex, ADLPowerControlInfo *lpPowerControlInfo) |
Function to get values of PowerControl information. More... | |
int | ADL_Overdrive5_Temperature_Get (int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature) |
Function to retrieve thermal controller temperatures. More... | |
int | ADL_Overdrive5_ThermalDevices_Enum (int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo) |
Function to retrieve thermal devices information. More... | |
int | ADL_Overdrive_Caps (int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion) |
Function to retrieve current power management capabilities. More... | |
This group describes the Wattman APIs.
int ADL2_Overdrive5_CurrentActivity_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLPMActivity * | lpActivity | ||
) |
Function to retrieve current power management-related activity.
This function retrieves current power management-related activity for a specified adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpActivity | The pointer to the ADLPMActivity structure storing the retrieved power management activity information. |
int ADL2_Overdrive5_FanSpeed_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex, | ||
ADLFanSpeedValue * | lpFanSpeedValue | ||
) |
Function to retrieve the fan speed reported by the thermal controller.
This function retrieves the reported fan speed from a specified thermal controller.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpFanSpeedValue | The pointer to the ADLFanSpeedValue structure storing the retrieved fan speed. |
int ADL2_Overdrive5_FanSpeed_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex, | ||
ADLFanSpeedValue * | lpFanSpeedValue | ||
) |
Function to set the fan speed.
This function sets the fan speed for a specified adapter and thermal controller.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in] | lpFanSpeedValue | The pointer to the ADLFanSpeedValue structure storing the desired fan speed. |
int ADL2_Overdrive5_FanSpeedInfo_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex, | ||
ADLFanSpeedInfo * | lpFanSpeedInfo | ||
) |
Function to retrieve the fan speed reporting capability for thermal controllers.
This function retrieves the fan speed reporting capability for a specified adapter and thermal controller.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpFanSpeedInfo | The pointer to the ADLFanSpeedInfo structure storing the retrieved fan speed information. |
int ADL2_Overdrive5_FanSpeedToDefault_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex | ||
) |
Function to set the fan speed to the default fan speed value.
This function sets the current fan speed for a specified adapter and thermal controller to the default fan speed.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
int ADL2_Overdrive5_ODParameters_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLODParameters * | lpOdParameters | ||
) |
Function to retrieve the current Overdrive parameters.
This function retrieves the current Overdrive parameters for a specified adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpOdParameters | The pointer to the ADLODParameters structure storing the retrieved Overdrive parameters. |
int ADL2_Overdrive5_ODPerformanceLevels_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDefault, | ||
ADLODPerformanceLevels * | lpOdPerformanceLevels | ||
) |
Function to retrieve the current or default Overdrive performance levels.
This function retrieves the current or default Overdrive performance levels for a specified adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDefault | The value indicating whether or not to retrieve the default performance levels. |
[in,out] | lpOdPerformanceLevels | The pointer to the ADLODPerformanceLevels structure storing the retrieved information. |
int ADL2_Overdrive5_ODPerformanceLevels_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLODPerformanceLevels * | lpOdPerformanceLevels | ||
) |
Function to set the current Overdrive performance levels.
This function sets the current Overdrive performance levels for a specified adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | lpOdPerformanceLevels | The pointer to the ADLODPerformanceLevels structure storing the desired performance level. |
int ADL2_Overdrive5_PowerControl_Caps | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpSupported | ||
) |
Function to check for PowerControl capabilities.
The output parameter of the function lets the caller know about whether or not Power control feature is supported.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpSupported | The pointer to the caps of adapter settings |
int ADL2_Overdrive5_PowerControl_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpCurrentValue, | ||
int * | lpDefaultValue | ||
) |
Function to get values of PowerControl.
The parameter of the function lets the caller to get new value of the Power control
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[out] | lpCurrentValue | pointer to the current value of Power control |
[out] | lpDefaultValue | pointer to the Default value of Power control |
int ADL2_Overdrive5_PowerControl_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iValue | ||
) |
Function to set values of PowerControl.
The parameter of the function lets the caller to set new value to the Power control
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[in] | iValue | New value of Power control |
int ADL2_Overdrive5_PowerControlInfo_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLPowerControlInfo * | lpPowerControlInfo | ||
) |
Function to get values of PowerControl information.
The output parameter of the function lets the caller know about Power control adjust limit , step values and default value. parameters.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[out] | lpPowerControlInfo | The pointer to the ADLPowerControlInfo containing value of Power ///control |
int ADL2_Overdrive5_Temperature_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex, | ||
ADLTemperature * | lpTemperature | ||
) |
Function to retrieve thermal controller temperatures.
This function retrieves thermal controller temperature information for a specified adapter and thermal controller.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpTemperature | The pointer to the ADLTemperature structure storing the retrieved temperature information in milli-degrees Celsius. |
int ADL2_Overdrive5_ThermalDevices_Enum | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iThermalControllerIndex, | ||
ADLThermalControllerInfo * | lpThermalControllerInfo | ||
) |
Function to retrieve thermal devices information.
This function retrieves thermal devices information for a specified adapter and thermal controller.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpThermalControllerInfo | The pointer to the ADLThermalControllerInfo structure storing the retrieved thermal device information. |
int ADL2_Overdrive_Caps | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | iSupported, | ||
int * | iEnabled, | ||
int * | iVersion | ||
) |
Function to retrieve current power management capabilities.
This function retrieves current power management capabilities for a specified adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iSupported | The pointer to an int variable which indicates if Overdrive feature is supported ( ADL_TRUE : supported, ADL_FALSE : not supported) |
[in] | iEnabled | The pointer to an int variable which indicates if Overdrive feature is enabled ( ADL_TRUE : enabled, ADL_FALSE : disabled) |
[in] | iEnabled | The pointer to an int variable receiving the Overdrive feature version. |
int ADL_Overdrive5_CurrentActivity_Get | ( | int | iAdapterIndex, |
ADLPMActivity * | lpActivity | ||
) |
Function to retrieve current power management-related activity.
This function retrieves current power management-related activity for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpActivity | The pointer to the ADLPMActivity structure storing the retrieved power management activity information. |
int ADL_Overdrive5_FanSpeed_Get | ( | int | iAdapterIndex, |
int | iThermalControllerIndex, | ||
ADLFanSpeedValue * | lpFanSpeedValue | ||
) |
Function to retrieve the fan speed reported by the thermal controller.
This function retrieves the reported fan speed from a specified thermal controller.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpFanSpeedValue | The pointer to the ADLFanSpeedValue structure storing the retrieved fan speed. |
int ADL_Overdrive5_FanSpeed_Set | ( | int | iAdapterIndex, |
int | iThermalControllerIndex, | ||
ADLFanSpeedValue * | lpFanSpeedValue | ||
) |
Function to set the fan speed.
This function sets the fan speed for a specified adapter and thermal controller.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in] | lpFanSpeedValue | The pointer to the ADLFanSpeedValue structure storing the desired fan speed. |
int ADL_Overdrive5_FanSpeedInfo_Get | ( | int | iAdapterIndex, |
int | iThermalControllerIndex, | ||
ADLFanSpeedInfo * | lpFanSpeedInfo | ||
) |
Function to retrieve the fan speed reporting capability for thermal controllers.
This function retrieves the fan speed reporting capability for a specified adapter and thermal controller.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpFanSpeedInfo | The pointer to the ADLFanSpeedInfo structure storing the retrieved fan speed information. |
int ADL_Overdrive5_FanSpeedToDefault_Set | ( | int | iAdapterIndex, |
int | iThermalControllerIndex | ||
) |
Function to set the fan speed to the default fan speed value.
This function sets the current fan speed for a specified adapter and thermal controller to the default fan speed.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
int ADL_Overdrive5_ODParameters_Get | ( | int | iAdapterIndex, |
ADLODParameters * | lpOdParameters | ||
) |
Function to retrieve the current Overdrive parameters.
This function retrieves the current Overdrive parameters for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpOdParameters | The pointer to the ADLODParameters structure storing the retrieved Overdrive parameters. |
int ADL_Overdrive5_ODPerformanceLevels_Get | ( | int | iAdapterIndex, |
int | iDefault, | ||
ADLODPerformanceLevels * | lpOdPerformanceLevels | ||
) |
Function to retrieve the current or default Overdrive performance levels.
This function retrieves the current or default Overdrive performance levels for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDefault | The value indicating whether or not to retrieve the default performance levels. |
[in,out] | lpOdPerformanceLevels | The pointer to the ADLODPerformanceLevels structure storing the retrieved information. |
int ADL_Overdrive5_ODPerformanceLevels_Set | ( | int | iAdapterIndex, |
ADLODPerformanceLevels * | lpOdPerformanceLevels | ||
) |
Function to set the current Overdrive performance levels.
This function sets the current Overdrive performance levels for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | lpOdPerformanceLevels | The pointer to the ADLODPerformanceLevels structure storing the desired performance level. |
int ADL_Overdrive5_PowerControl_Caps | ( | int | iAdapterIndex, |
int * | lpSupported | ||
) |
Function to check for PowerControl capabilities.
The output parameter of the function lets the caller know about whether or not Power control feature is supported.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpSupported | The pointer to the caps of adapter settings |
int ADL_Overdrive5_PowerControl_Get | ( | int | iAdapterIndex, |
int * | lpCurrentValue, | ||
int * | lpDefaultValue | ||
) |
Function to get values of PowerControl.
The parameter of the function lets the caller to get new value of the Power control
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[out] | lpCurrentValue | pointer to the current value of Power control |
[out] | lpDefaultValue | pointer to the Default value of Power control |
int ADL_Overdrive5_PowerControl_Set | ( | int | iAdapterIndex, |
int | iValue | ||
) |
Function to set values of PowerControl.
The parameter of the function lets the caller to set new value to the Power control
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[in] | iValue | New value of Power control |
int ADL_Overdrive5_PowerControlInfo_Get | ( | int | iAdapterIndex, |
ADLPowerControlInfo * | lpPowerControlInfo | ||
) |
Function to get values of PowerControl information.
The output parameter of the function lets the caller know about Power control adjust limit , step values and default value. parameters.
[in] | iAdapterIndex | The ADL index handle of the desired adapter |
[out] | lpPowerControlInfo | The pointer to the ADLPowerControlInfo containing value of Power ///control |
int ADL_Overdrive5_Temperature_Get | ( | int | iAdapterIndex, |
int | iThermalControllerIndex, | ||
ADLTemperature * | lpTemperature | ||
) |
Function to retrieve thermal controller temperatures.
This function retrieves thermal controller temperature information for a specified adapter and thermal controller.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpTemperature | The pointer to the ADLTemperature structure storing the retrieved temperature information. |
int ADL_Overdrive5_ThermalDevices_Enum | ( | int | iAdapterIndex, |
int | iThermalControllerIndex, | ||
ADLThermalControllerInfo * | lpThermalControllerInfo | ||
) |
Function to retrieve thermal devices information.
This function retrieves thermal devices information for a specified adapter and thermal controller.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iThermalControllerIndex | The ADL index handle of the desired thermal controller. Set to 0. |
[in,out] | lpThermalControllerInfo | The pointer to the ADLThermalControllerInfo structure storing the retrieved thermal device information. |
int ADL_Overdrive_Caps | ( | int | iAdapterIndex, |
int * | iSupported, | ||
int * | iEnabled, | ||
int * | iVersion | ||
) |
Function to retrieve current power management capabilities.
This function retrieves current power management capabilities for a specified adapter.
[in] | iSupported | The pointer to an int variable which indicates if Overdrive feature is supported ( ADL_TRUE : supported, ADL_FALSE : not supported) |
[in] | iEnabled | The pointer to an int variable which indicates if Overdrive feature is enabled ( ADL_TRUE : enabled, ADL_FALSE : disabled) |
[in] | iEnabled | The pointer to an int variable receiving the Overdrive feature version. |