ADL (AMD Display Library) Public APIs  Version 17.1
overdrive6.h
Go to the documentation of this file.
1 
7 
15 
16 #ifndef OVERDRIVE6_H_
17 #define OVERDRIVE6_H_
18 
19 #include "adl_structures.h"
20 
21 #ifndef ADL_EXTERNC
22 #ifdef __cplusplus
23 #define ADL_EXTERNC extern "C"
24 #else
25 #define ADL_EXTERNC
26 #endif
27 #endif
28 
29 #ifndef EXPOSED
30 #define EXPOSED
31 #endif /* EXPOSED */
32 
38 
51 
61 
63 
76 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_StateInfo_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo);
77 
88 
89 ADL_EXTERNC int EXPOSED ADL_Overdrive6_StateInfo_Get(int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo);
90 
103 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_State_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo);
104 
115 
116 ADL_EXTERNC int EXPOSED ADL_Overdrive6_State_Set(int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo);
117 
130 
140 
141 ADL_EXTERNC int EXPOSED ADL_Overdrive6_State_Reset(int iAdapterIndex, int iStateType);
142 
155 
165 
167 
180 
190 
192 
205 
215 
216 ADL_EXTERNC int EXPOSED ADL_Overdrive6_Temperature_Get(int iAdapterIndex, int *lpTemperature);
217 
230 
240 
242 
255 
265 
267 
279 
288 
290 
305 
317 
318 ADL_EXTERNC int EXPOSED ADL_Overdrive6_PowerControl_Caps (int iAdapterIndex, int *lpSupported);
319 
331 
340 
342 
354 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_PowerControl_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
355 
365 
366 ADL_EXTERNC int EXPOSED ADL_Overdrive6_PowerControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
367 
379 
389 
390 
402 
403 
412 
414 
426 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_VoltageControl_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
427 
428 
438 ADL_EXTERNC int EXPOSED ADL_Overdrive6_VoltageControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
439 
451 
452 
461 
463 
476 
487 
500 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_StateEx_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState);
501 
512 ADL_EXTERNC int EXPOSED ADL_Overdrive6_StateEx_Get(int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState);
513 
526 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_StateEx_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState);
527 
538 ADL_EXTERNC int EXPOSED ADL_Overdrive6_StateEx_Set(int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState);
539 
550 ADL_EXTERNC int EXPOSED ADL_Overdrive6_ThermalLimitUnlock_Set(int iAdapterIndex, int iStateType, int iEnable);
551 
563 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_ThermalLimitUnlock_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iStateType, int iEnable);
564 
575 ADL_EXTERNC int EXPOSED ADL_Overdrive6_ThermalLimitUnlock_Get(int iAdapterIndex, int iStateType, int* pEnabled);
576 
588 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_ThermalLimitUnlock_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, int* pEnabled);
589 
598 ADL_EXTERNC int EXPOSED ADL_Overdrive6_AdvancedFan_Caps (int iAdapterIndex, int *lpSupported);
599 
611 
619 
629 
637 ADL_EXTERNC int EXPOSED ADL_Overdrive6_TargetTemperatureData_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
638 
648 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_TargetTemperatureData_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
649 
657 
667 
675 
685 
693 ADL_EXTERNC int EXPOSED ADL_Overdrive6_FanPWMLimitData_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
694 
704 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_FanPWMLimitData_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
705 
713 
723 
733 ADL_EXTERNC int EXPOSED ADL2_Overdrive6_CurrentPower_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iPowerType, int *lpCurrentValue);
734 
744 
753 
761 
763 
764 #endif /* OVERDRIVE6_H_ */
ADL_Overdrive6_AdvancedFan_Caps
int ADL_Overdrive6_AdvancedFan_Caps(int iAdapterIndex, int *lpSupported)
Function returns the advanced fan control capability of the specified adapter. Advanced fan control i...
ADL2_Overdrive6_VoltageControl_Set
int ADL2_Overdrive6_VoltageControl_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iValue)
Function to set the current VoltageControl adjustment value.
ADL_Overdrive6_TargetTemperatureData_Set
int ADL_Overdrive6_TargetTemperatureData_Set(int iAdapterIndex, int iCurrentValue)
Function changes the target temperature current value of the specified adapter .
ADL_Overdrive6_ThermalController_Caps
int ADL_Overdrive6_ThermalController_Caps(int iAdapterIndex, ADLOD6ThermalControllerCaps *lpThermalControllerCaps)
Function to retrieve capabilities of the GPU thermal controller.
ADL_Overdrive6_PowerControl_Set
int ADL_Overdrive6_PowerControl_Set(int iAdapterIndex, int iValue)
Function to set the current PowerControl adjustment value.
ADLOD6VoltageControlInfo
Structure containing information about Overdrive 6 PowerControl settings.
Definition: adl_structures.h:2302
ADL2_Overdrive6_TargetTemperatureData_Set
int ADL2_Overdrive6_TargetTemperatureData_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iCurrentValue)
Function changes the target temperature current value of the specified adapter .
ADL_Overdrive6_State_Set
int ADL_Overdrive6_State_Set(int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo)
Function to set the current Overdrive clock ranges.
ADL2_Overdrive6_TargetTemperatureRangeInfo_Get
int ADL2_Overdrive6_TargetTemperatureRangeInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6ParameterRange *lpTargetTemperatureInfo)
Function returns the target temperature range of the specified adapter .
ADL_Overdrive6_PowerControl_Caps
int ADL_Overdrive6_PowerControl_Caps(int iAdapterIndex, int *lpSupported)
Function to check for PowerControl capabilities.
ADL_Overdrive6_FanSpeed_Reset
int ADL_Overdrive6_FanSpeed_Reset(int iAdapterIndex)
Function to reset the fan speed to the default.
ADL_EXTERNC
#define ADL_EXTERNC
Definition: overdrive6.h:25
adl_structures.h
This file contains the structure declarations that are used by the public ADL interfaces for Linux an...
ADLOD6ThermalControllerCaps
Structure containing information about Overdrive 6 thermal contoller capabilities.
Definition: adl_structures.h:2211
ADL2_Overdrive6_ThermalLimitUnlock_Get
int ADL2_Overdrive6_ThermalLimitUnlock_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, int *pEnabled)
Function to retrieve the current Thermal Limit Unlock feature status.
ADL_Overdrive6_FanSpeed_Get
int ADL_Overdrive6_FanSpeed_Get(int iAdapterIndex, ADLOD6FanSpeedInfo *lpFanSpeedInfo)
Function to retrieve the fan speed reported by the thermal controller.
ADL2_Overdrive6_CurrentPower_Get
int ADL2_Overdrive6_CurrentPower_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iPowerType, int *lpCurrentValue)
Function returns the current power of the specified adapter .
ADL2_Overdrive6_VoltageControlInfo_Get
int ADL2_Overdrive6_VoltageControlInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6VoltageControlInfo *lpVoltageControlInfo)
Function to get the VoltageControl adjustment range.
ADL_Overdrive6_PowerControlInfo_Get
int ADL_Overdrive6_PowerControlInfo_Get(int iAdapterIndex, ADLOD6PowerControlInfo *lpPowerControlInfo)
Function to get the PowerControl adjustment range.
ADL_Overdrive6_ThermalLimitUnlock_Get
int ADL_Overdrive6_ThermalLimitUnlock_Get(int iAdapterIndex, int iStateType, int *pEnabled)
Function to retrieve the current Thermal Limit Unlock feature status.
ADL_Overdrive6_Capabilities_Get
int ADL_Overdrive6_Capabilities_Get(int iAdapterIndex, ADLOD6Capabilities *lpODCapabilities)
Function to retrieve the current Overdrive capabilities.
ADL2_Overdrive6_FanPWMLimitRangeInfo_Get
int ADL2_Overdrive6_FanPWMLimitRangeInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6ParameterRange *lpFanPWMLimitInfo)
Function returns the target Fan PWM range of the specified adapter .
ADL_Overdrive6_ThermalLimitUnlock_Set
int ADL_Overdrive6_ThermalLimitUnlock_Set(int iAdapterIndex, int iStateType, int iEnable)
Function to enable the current Thermal Limit Unlock feature.
ADL2_Overdrive6_ControlI2C
int ADL2_Overdrive6_ControlI2C(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iControl)
Function Requests to Acquire or Release I2C of the specified adapter .
ADL_Overdrive6_VoltageControl_Get
int ADL_Overdrive6_VoltageControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get the current and default VoltageControl adjustment values.
ADL2_Overdrive6_ThermalLimitUnlock_Set
int ADL2_Overdrive6_ThermalLimitUnlock_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, int iEnable)
Function to enable the current Thermal Limit Unlock feature.
ADL_Overdrive6_Temperature_Get
int ADL_Overdrive6_Temperature_Get(int iAdapterIndex, int *lpTemperature)
Function to retrieve GPU temperature from the thermal controller.
ADL2_Overdrive6_VoltageControl_Get
int ADL2_Overdrive6_VoltageControl_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get the current and default VoltageControl adjustment values.
ADL_Overdrive6_VoltageControl_Set
int ADL_Overdrive6_VoltageControl_Set(int iAdapterIndex, int iValue)
Function to set the current VoltageControl adjustment value.
ADL_Overdrive6_FanPWMLimitData_Get
int ADL_Overdrive6_FanPWMLimitData_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function returns default target Fan PWM and current Fan PWM value of the specified adapter.
ADLOD6PowerControlInfo
Structure containing information about Overdrive 6 PowerControl settings.
Definition: adl_structures.h:2279
ADL2_Overdrive6_FanPWMLimitData_Get
int ADL2_Overdrive6_FanPWMLimitData_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function returns default target Fan PWM and current Fan PWM value of the specified adapter.
ADL2_Overdrive6_FanPWMLimitData_Set
int ADL2_Overdrive6_FanPWMLimitData_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iCurrentValue)
Function changes the target Fan PWM current value of the specified adapter .
ADL_Overdrive6_TargetTemperatureData_Get
int ADL_Overdrive6_TargetTemperatureData_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function returns default target temperature and current temp. value of the specified adapter.
ADL2_Overdrive6_CurrentStatus_Get
int ADL2_Overdrive6_CurrentStatus_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6CurrentStatus *lpCurrentStatus)
Function to retrieve current Overdrive and performance-related activity.
ADL_Overdrive6_FanPWMLimitData_Set
int ADL_Overdrive6_FanPWMLimitData_Set(int iAdapterIndex, int iCurrentValue)
Function changes the target Fan PWM current value of the specified adapter .
ADL2_Overdrive6_State_Reset
int ADL2_Overdrive6_State_Reset(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType)
Function to reset the Overdrive clock ranges to default.
ADLOD6CapabilitiesEx
Structure containing information about Overdrive 6 extension capabilities.
Definition: adl_structures.h:2469
ADL2_Overdrive6_FuzzyController_Caps
int ADL2_Overdrive6_FuzzyController_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
Function returns the fuzzy control capability of the specified adapter.
ADLOD6StateEx
Structure containing information about Overdrive 6 extension state information.
Definition: adl_structures.h:2497
ADL2_Overdrive6_FanSpeed_Reset
int ADL2_Overdrive6_FanSpeed_Reset(ADL_CONTEXT_HANDLE context, int iAdapterIndex)
Function to reset the fan speed to the default.
ADL2_Overdrive6_PowerControl_Get
int ADL2_Overdrive6_PowerControl_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get the current and default PowerControl adjustment values.
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADL2_Overdrive6_PowerControl_Set
int ADL2_Overdrive6_PowerControl_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iValue)
Function to set the current PowerControl adjustment value.
ADLOD6FanSpeedInfo
Structure containing information about Overdrive 6 fan speed information.
Definition: adl_structures.h:2237
ADLOD6Capabilities
Structure containing information about Overdrive 6 capabilities.
Definition: adl_structures.h:2109
ADL2_Overdrive6_StateEx_Set
int ADL2_Overdrive6_StateEx_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState)
Function to set the current Overdrive extension clock ranges.
ADLOD6ParameterRange
Structure containing information about Overdrive 6 clock range.
Definition: adl_structures.h:2093
ADL_Overdrive6_CapabilitiesEx_Get
int ADL_Overdrive6_CapabilitiesEx_Get(int iAdapterIndex, ADLOD6CapabilitiesEx *lpODCapabilities)
Function to retrieve the current Overdrive extension capabilities.
ADL2_Overdrive6_Temperature_Get
int ADL2_Overdrive6_Temperature_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpTemperature)
Function to retrieve GPU temperature from the thermal controller.
ADL_Overdrive6_FanPWMLimitRangeInfo_Get
int ADL_Overdrive6_FanPWMLimitRangeInfo_Get(int iAdapterIndex, ADLOD6ParameterRange *lpFanPWMLimitInfo)
Function returns the target Fan PWM range of the specified adapter .
ADL2_Overdrive6_StateEx_Get
int ADL2_Overdrive6_StateEx_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState)
Function to retrieve the current or default Overdrive extension clock ranges.
ADL2_Overdrive6_ThermalController_Caps
int ADL2_Overdrive6_ThermalController_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6ThermalControllerCaps *lpThermalControllerCaps)
Function to retrieve capabilities of the GPU thermal controller.
ADLOD6FanSpeedValue
Structure containing information about Overdrive 6 fan speed value.
Definition: adl_structures.h:2258
ADL_Overdrive6_StateInfo_Get
int ADL_Overdrive6_StateInfo_Get(int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo)
Function to retrieve the current or default Overdrive clock ranges.
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
ADLOD6StateInfo
Structure containing information about Overdrive 6 clocks.
Definition: adl_structures.h:2158
ADL_Overdrive6_StateEx_Get
int ADL_Overdrive6_StateEx_Get(int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState)
Function to retrieve the current or default Overdrive extension clock ranges.
ADL_Overdrive6_FanSpeed_Set
int ADL_Overdrive6_FanSpeed_Set(int iAdapterIndex, ADLOD6FanSpeedValue *lpFanSpeedValue)
Function to set the fan speed.
ADL2_Overdrive6_CapabilitiesEx_Get
int ADL2_Overdrive6_CapabilitiesEx_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6CapabilitiesEx *lpODCapabilities)
Function to retrieve the current Overdrive extension capabilities .
ADL2_Overdrive6_FanSpeed_Set
int ADL2_Overdrive6_FanSpeed_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6FanSpeedValue *lpFanSpeedValue)
Function to set the fan speed.
ADL2_Overdrive6_PowerControlInfo_Get
int ADL2_Overdrive6_PowerControlInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6PowerControlInfo *lpPowerControlInfo)
Function to get the PowerControl adjustment range.
ADL2_Overdrive6_Capabilities_Get
int ADL2_Overdrive6_Capabilities_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6Capabilities *lpODCapabilities)
Function to retrieve the current Overdrive capabilities.
ADL_Overdrive6_VoltageControlInfo_Get
int ADL_Overdrive6_VoltageControlInfo_Get(int iAdapterIndex, ADLOD6VoltageControlInfo *lpVoltageControlInfo)
Function to get the VoltageControl adjustment range.
ADL2_Overdrive6_PowerControl_Caps
int ADL2_Overdrive6_PowerControl_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
Function to check for PowerControl capabilities.
ADL2_Overdrive6_TargetTemperatureData_Get
int ADL2_Overdrive6_TargetTemperatureData_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function returns default target temperature and current temp. value of the specified adapter.
ADL_Overdrive6_State_Reset
int ADL_Overdrive6_State_Reset(int iAdapterIndex, int iStateType)
Function to reset the Overdrive clock ranges to default.
ADL_Overdrive6_TargetTemperatureRangeInfo_Get
int ADL_Overdrive6_TargetTemperatureRangeInfo_Get(int iAdapterIndex, ADLOD6ParameterRange *lpTargetTemperatureInfo)
Function returns the target temperature range of the specified adapter .
ADL_Overdrive6_FuzzyController_Caps
int ADL_Overdrive6_FuzzyController_Caps(int iAdapterIndex, int *lpSupported)
Function returns the fuzzy control capability of the specified adapter.
ADL_Overdrive6_PowerControl_Get
int ADL_Overdrive6_PowerControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get the current and default PowerControl adjustment values.
ADL_Overdrive6_StateEx_Set
int ADL_Overdrive6_StateEx_Set(int iAdapterIndex, int iStateType, ADLOD6StateEx *lpODState)
Function to set the current Overdrive extension clock ranges.
ADL2_Overdrive6_State_Set
int ADL2_Overdrive6_State_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo)
Function to set the current Overdrive clock ranges.
ADLOD6CurrentStatus
Structure containing information about current Overdrive 6 performance status.
Definition: adl_structures.h:2181
ADL2_Overdrive6_AdvancedFan_Caps
int ADL2_Overdrive6_AdvancedFan_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
Function returns the advanced fan control capability of the specified adapter. Advanced fan control i...
ADL2_Overdrive6_FanSpeed_Get
int ADL2_Overdrive6_FanSpeed_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLOD6FanSpeedInfo *lpFanSpeedInfo)
Function to retrieve the fan speed reported by the thermal controller.
ADL_Overdrive6_CurrentStatus_Get
int ADL_Overdrive6_CurrentStatus_Get(int iAdapterIndex, ADLOD6CurrentStatus *lpCurrentStatus)
Function to retrieve current Overdrive and performance-related activity.
ADL2_Overdrive6_StateInfo_Get
int ADL2_Overdrive6_StateInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStateType, ADLOD6StateInfo *lpStateInfo)
Function to retrieve the current or default Overdrive clock ranges.

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.