ADL (AMD Display Library) Public APIs  Version 17.1
overdrive5.h
Go to the documentation of this file.
1 
7 
15 
16 #ifndef OVERDRIVE5_H_
17 #define OVERDRIVE5_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 
62 
75 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_ThermalDevices_Enum(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo);
76 
87 ADL_EXTERNC int EXPOSED ADL_Overdrive5_ThermalDevices_Enum(int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo);
88 
101 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_Temperature_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature);
102 
113 ADL_EXTERNC int EXPOSED ADL_Overdrive5_Temperature_Get(int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature);
114 
127 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_FanSpeedInfo_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedInfo *lpFanSpeedInfo);
128 
139 ADL_EXTERNC int EXPOSED ADL_Overdrive5_FanSpeedInfo_Get(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedInfo *lpFanSpeedInfo);
140 
153 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_FanSpeed_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue);
154 
165 ADL_EXTERNC int EXPOSED ADL_Overdrive5_FanSpeed_Get(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue);
166 
179 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_FanSpeed_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue);
180 
191 ADL_EXTERNC int EXPOSED ADL_Overdrive5_FanSpeed_Set(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue);
192 
204 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_FanSpeedToDefault_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iThermalControllerIndex);
205 
215 ADL_EXTERNC int EXPOSED ADL_Overdrive5_FanSpeedToDefault_Set(int iAdapterIndex, int iThermalControllerIndex);
216 
229 
240 
254 
265 ADL_EXTERNC int EXPOSED ADL_Overdrive5_ODPerformanceLevels_Get(int iAdapterIndex, int iDefault, ADLODPerformanceLevels *lpOdPerformanceLevels);
266 
279 
290 
291 
302 
310 
311 ADL_EXTERNC int EXPOSED ADL_Overdrive5_PowerControl_Caps(int iAdapterIndex, int *lpSupported);
312 
323 
331 
333 
343 ADL_EXTERNC int EXPOSED ADL2_Overdrive5_PowerControl_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
344 
352 
353 ADL_EXTERNC int EXPOSED ADL_Overdrive5_PowerControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue);
354 
364 
371 
373 
388 ADL_EXTERNC int EXPOSED ADL2_Overdrive_Caps (ADL_CONTEXT_HANDLE context,int iAdapterIndex, int * iSupported, int * iEnabled, int * iVersion );
389 
402 ADL_EXTERNC int EXPOSED ADL_Overdrive_Caps (int iAdapterIndex, int * iSupported, int * iEnabled, int * iVersion );
403 
405 
406 #endif /* OVERDRIVE5_H_ */
ADL2_Overdrive5_FanSpeedInfo_Get
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.
ADL_Overdrive5_ODParameters_Get
int ADL_Overdrive5_ODParameters_Get(int iAdapterIndex, ADLODParameters *lpOdParameters)
Function to retrieve the current Overdrive parameters.
ADL2_Overdrive5_ODPerformanceLevels_Set
int ADL2_Overdrive5_ODPerformanceLevels_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODPerformanceLevels *lpOdPerformanceLevels)
Function to set the current Overdrive performance levels.
ADLThermalControllerInfo
Structure containing information about thermal controller.
Definition: adl_structures.h:1142
ADL_Overdrive5_ODPerformanceLevels_Set
int ADL_Overdrive5_ODPerformanceLevels_Set(int iAdapterIndex, ADLODPerformanceLevels *lpOdPerformanceLevels)
Function to set the current Overdrive performance levels.
ADL2_Overdrive_Caps
int ADL2_Overdrive_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion)
Function to retrieve current power management capabilities.
adl_structures.h
This file contains the structure declarations that are used by the public ADL interfaces for Linux an...
ADLPMActivity
Structure containing information about current power management related activity.
Definition: adl_structures.h:1111
ADL_Overdrive5_ODPerformanceLevels_Get
int ADL_Overdrive5_ODPerformanceLevels_Get(int iAdapterIndex, int iDefault, ADLODPerformanceLevels *lpOdPerformanceLevels)
Function to retrieve the current or default Overdrive performance levels.
ADL_Overdrive5_FanSpeedInfo_Get
int ADL_Overdrive5_FanSpeedInfo_Get(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedInfo *lpFanSpeedInfo)
Function to retrieve the fan speed reporting capability for thermal controllers.
ADL_Overdrive5_CurrentActivity_Get
int ADL_Overdrive5_CurrentActivity_Get(int iAdapterIndex, ADLPMActivity *lpActivity)
Function to retrieve current power management-related activity.
ADL2_Overdrive5_PowerControlInfo_Get
int ADL2_Overdrive5_PowerControlInfo_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPowerControlInfo *lpPowerControlInfo)
Function to get values of PowerControl information.
ADL2_Overdrive5_FanSpeed_Set
int ADL2_Overdrive5_FanSpeed_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue)
Function to set the fan speed.
ADL2_Overdrive5_Temperature_Get
int ADL2_Overdrive5_Temperature_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature)
Function to retrieve thermal controller temperatures.
ADL_Overdrive5_FanSpeed_Set
int ADL_Overdrive5_FanSpeed_Set(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue)
Function to set the fan speed.
ADL_Overdrive5_PowerControl_Set
int ADL_Overdrive5_PowerControl_Set(int iAdapterIndex, int iValue)
Function to set values of PowerControl.
ADL_Overdrive5_PowerControlInfo_Get
int ADL_Overdrive5_PowerControlInfo_Get(int iAdapterIndex, ADLPowerControlInfo *lpPowerControlInfo)
Function to get values of PowerControl information.
ADL_Overdrive5_PowerControl_Get
int ADL_Overdrive5_PowerControl_Get(int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get values of PowerControl.
ADL2_Overdrive5_CurrentActivity_Get
int ADL2_Overdrive5_CurrentActivity_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPMActivity *lpActivity)
Function to retrieve current power management-related activity.
ADLFanSpeedInfo
Structure containing information about thermal controller fan speed.
Definition: adl_structures.h:1176
ADLTemperature
Structure containing information about thermal controller temperature.
Definition: adl_structures.h:1161
ADL_Overdrive_Caps
int ADL_Overdrive_Caps(int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion)
Function to retrieve current power management capabilities.
ADLODPerformanceLevels
Structure containing information about Overdrive performance levels.
Definition: adl_structures.h:1279
ADL2_Overdrive5_FanSpeed_Get
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.
ADL2_Overdrive5_ThermalDevices_Enum
int ADL2_Overdrive5_ThermalDevices_Enum(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo)
Function to retrieve thermal devices information.
ADL2_Overdrive5_FanSpeedToDefault_Set
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.
ADL_Overdrive5_ThermalDevices_Enum
int ADL_Overdrive5_ThermalDevices_Enum(int iAdapterIndex, int iThermalControllerIndex, ADLThermalControllerInfo *lpThermalControllerInfo)
Function to retrieve thermal devices information.
ADL2_Overdrive5_PowerControl_Caps
int ADL2_Overdrive5_PowerControl_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
Function to check for PowerControl capabilities.
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADLODParameters
Structure containing information about Overdrive parameters.
Definition: adl_structures.h:1235
ADLFanSpeedValue
Structure containing information about fan speed reported by thermal controller.
Definition: adl_structures.h:1199
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
ADL2_Overdrive5_ODParameters_Get
int ADL2_Overdrive5_ODParameters_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODParameters *lpOdParameters)
Function to retrieve the current Overdrive parameters.
ADL_EXTERNC
#define ADL_EXTERNC
Definition: overdrive5.h:25
ADL2_Overdrive5_PowerControl_Set
int ADL2_Overdrive5_PowerControl_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iValue)
Function to set values of PowerControl.
ADL_Overdrive5_PowerControl_Caps
int ADL_Overdrive5_PowerControl_Caps(int iAdapterIndex, int *lpSupported)
Function to check for PowerControl capabilities.
ADL2_Overdrive5_PowerControl_Get
int ADL2_Overdrive5_PowerControl_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrentValue, int *lpDefaultValue)
Function to get values of PowerControl.
ADL_Overdrive5_Temperature_Get
int ADL_Overdrive5_Temperature_Get(int iAdapterIndex, int iThermalControllerIndex, ADLTemperature *lpTemperature)
Function to retrieve thermal controller temperatures.
ADLPowerControlInfo
Structure containing information about an OD5 Power Control feature.
Definition: adl_structures.h:2018
ADL_Overdrive5_FanSpeed_Get
int ADL_Overdrive5_FanSpeed_Get(int iAdapterIndex, int iThermalControllerIndex, ADLFanSpeedValue *lpFanSpeedValue)
Function to retrieve the fan speed reported by the thermal controller.
ADL2_Overdrive5_ODPerformanceLevels_Get
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.
ADL_Overdrive5_FanSpeedToDefault_Set
int ADL_Overdrive5_FanSpeedToDefault_Set(int iAdapterIndex, int iThermalControllerIndex)
Function to set the fan speed to the default fan speed value.

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