ADL (AMD Display Library) Public APIs  Version 17.1
Functions
Wattman (OD N) related APIs

This group describes the Wattman APIs. More...

Functions

int ADL2_CustomFan_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to retrieve the Custom Fan support. More...
 
int ADL2_CustomFan_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNFanControl *lpODFanControl)
 Function to retrieve the Custom Fan current status. More...
 
int ADL2_CustomFan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNFanControl *lpODFanControl)
 Function to set the Custom Fan status. More...
 
int ADL2_OverdriveN_AutoWattman_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported, int *lpDefault)
 
int ADL2_OverdriveN_AutoWattman_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrent)
 
int ADL2_OverdriveN_AutoWattman_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iCurrent)
 
int ADL2_OverdriveN_Capabilities_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNCapabilities *lpODCapabilities)
 Function to retrieve the OverdriveN capabilities. More...
 
int ADL2_OverdriveN_CapabilitiesX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNCapabilitiesX2 *lpODCapabilities)
 Function to retrieve the OverdriveN capabilities. More...
 
int ADL2_OverdriveN_CountOfEvents_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int eventcounterType, int *eventCount)
 
int ADL2_OverdriveN_FanControl_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNFanControl *lpODFanSpeed)
 Function to retrieve the current Fan control settings. More...
 
int ADL2_OverdriveN_FanControl_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNFanControl *lpODFanControl)
 Function to set the current Fan controls settings. More...
 
int ADL2_OverdriveN_MemoryClocks_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevels *lpODPerformanceLevels)
 Function to retrieve the current memory clocks settings. More...
 
int ADL2_OverdriveN_MemoryClocks_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevels *lpODPerformanceLevels)
 Function to sets the current memory clocks settings. More...
 
int ADL2_OverdriveN_MemoryClocksX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevelsX2 *lpODPerformanceLevels)
 Function to retrieve the current memory clocks settings. More...
 
int ADL2_OverdriveN_MemoryClocksX2_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevelsX2 *lpODPerformanceLevels)
 Function to sets the current memory clocks settings. More...
 
int ADL2_OverdriveN_MemoryTimingLevel_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupport, int *lpCurrentValue, int *lpDefaultValue, int *lpNumberLevels, int **lppLevelList)
 Function to retrieve the memory timing . More...
 
int ADL2_OverdriveN_MemoryTimingLevel_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int currentValue)
 Function to change memory timing levels. More...
 
int ADL2_OverdriveN_PerformanceStatus_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceStatus *lpODPerformanceStatus)
 Function to retrieve the current OD performance status. More...
 
int ADL2_OverdriveN_PowerLimit_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPowerLimitSetting *lpODPowerLimit)
 Function to retrieve the current power limit settings. More...
 
int ADL2_OverdriveN_PowerLimit_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPowerLimitSetting *lpODPowerLimit)
 Function to sets the current power limit settings. More...
 
int ADL2_OverdriveN_SCLKAutoOverClock_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpStatus)
 
int ADL2_OverdriveN_SCLKAutoOverClock_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStatus, int *iFlags)
 
int ADL2_OverdriveN_SettingsExt_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpOverdriveNExtCapabilities, int *lpNumberOfODNExtFeatures, ADLODNExtSingleInitSetting **lppInitSettingList, int **lppCurrentSettingList)
 Function to get Fan curve info. More...
 
int ADL2_OverdriveN_SettingsExt_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumberOfODNExtFeatures, int *itemValueValidList, int *lpItemValueList)
 Function to set fan curve (temperature and speed) More...
 
int ADL2_OverdriveN_SystemClocks_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevels *lpODPerformanceLevels)
 Function to retrieve the current GPU clocks settings. More...
 
int ADL2_OverdriveN_SystemClocks_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevels *lpODPerformanceLevels)
 Function to sets the current GPU clocks settings. More...
 
int ADL2_OverdriveN_SystemClocksX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevelsX2 *lpODPerformanceLevels)
 Function to retrieve the current GPU clocks settings. More...
 
int ADL2_OverdriveN_SystemClocksX2_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLODNPerformanceLevelsX2 *lpODPerformanceLevels)
 Function to sets the current GPU clocks settings. More...
 
int ADL2_OverdriveN_Temperature_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iTemperatureType, int *iTemperature)
 Function to retrieve the current temperture. More...
 
int ADL2_OverdriveN_Test_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iEnabled)
 
int ADL2_OverdriveN_ThrottleNotification_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpStatus, int *lpThrottleFlags)
 
int ADL2_OverdriveN_ZeroRPMFan_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupport, int *lpCurrentValue, int *lpDefaultValue)
 Function to get zero RPM fan control info. More...
 
int ADL2_OverdriveN_ZeroRPMFan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int currentValue)
 Function to change Zero RPM control levels. More...
 

Detailed Description

This group describes the Wattman APIs.

Function Documentation

◆ ADL2_CustomFan_Caps()

int ADL2_CustomFan_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupported 
)

Function to retrieve the Custom Fan support.

This function retrieves the support of Custom Fan for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupported,ifCustom Fan Supported : True else false .
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_CustomFan_Get()

int ADL2_CustomFan_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNFanControl lpODFanControl 
)

Function to retrieve the Custom Fan current status.

This function retrieves the current status of Custom Fan for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODFanControl,returnscurrent status of the fan control.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_CustomFan_Set()

int ADL2_CustomFan_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNFanControl lpODFanControl 
)

Function to set the Custom Fan status.

This function sets the current status of Custom Fan for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iCurrent,ifautowattman enabled : 1 else 0 .
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_AutoWattman_Caps()

int ADL2_OverdriveN_AutoWattman_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupported,
int *  lpDefault 
)
Function to retrieve the Auto Wattman support

This function retrieves the support of Auto wattman for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupported,ifautowattman Supported : True else false .
[out]lpDefault,defaultautowattman value
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_AutoWattman_Get()

int ADL2_OverdriveN_AutoWattman_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpCurrent 
)
Function to retrieve the Auto Wattman current status

This function retrieves the current status of Auto wattman for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpCurrent,ifautowattman enabled : 1 else 0 .
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_AutoWattman_Set()

int ADL2_OverdriveN_AutoWattman_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iCurrent 
)
Function to set the Auto Wattman status

This function sets the current status of Auto wattman for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iCurrent,ifautowattman enabled : 1 else 0 .
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_Capabilities_Get()

int ADL2_OverdriveN_Capabilities_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNCapabilities lpODCapabilities 
)

Function to retrieve the OverdriveN capabilities.

This function retrieves the OverdriveN capabilities for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODCapabilitiesThe pointer to the ADLODNCapabilities structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_OverdriveN_CapabilitiesX2_Get()

int ADL2_OverdriveN_CapabilitiesX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNCapabilitiesX2 lpODCapabilities 
)

Function to retrieve the OverdriveN capabilities.

This function retrieves the OverdriveN capabilities for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODCapabilitiesThe pointer to the ADLODNCapabilitiesX2 structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_CountOfEvents_Get()

int ADL2_OverdriveN_CountOfEvents_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  eventcounterType,
int *  eventCount 
)
Function to retrieve the Events occured

This function retrieves the events counts for a specified adapter. works on earlier OD versions also.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]eventcounterTypeEvent counter type: Thermal event = 0;VPU recovery =1.
[out]eventCount,Thenumber of events occured.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_FanControl_Get()

int ADL2_OverdriveN_FanControl_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNFanControl lpODFanSpeed 
)

Function to retrieve the current Fan control settings.

This function retrieves the current fan for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpOdFanSpeedThe pointer to the ADLODNFanControl structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_FanControl_Set()

int ADL2_OverdriveN_FanControl_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNFanControl lpODFanControl 
)

Function to set the current Fan controls settings.

This function applies the current Fan control for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpOdFanSpeedThe pointer to the ADLODNFanControl structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_MemoryClocks_Get()

int ADL2_OverdriveN_MemoryClocks_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevels lpODPerformanceLevels 
)

Function to retrieve the current memory clocks settings.

This function retrieves the current memory clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_OverdriveN_MemoryClocks_Set()

int ADL2_OverdriveN_MemoryClocks_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevels lpODPerformanceLevels 
)

Function to sets the current memory clocks settings.

This function applies the current memory clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure to set the data to driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_OverdriveN_MemoryClocksX2_Get()

int ADL2_OverdriveN_MemoryClocksX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevelsX2 lpODPerformanceLevels 
)

Function to retrieve the current memory clocks settings.

This function retrieves the current memory clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_MemoryClocksX2_Set()

int ADL2_OverdriveN_MemoryClocksX2_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevelsX2 lpODPerformanceLevels 
)

Function to sets the current memory clocks settings.

This function applies the current memory clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure to set the data to driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_MemoryTimingLevel_Get()

int ADL2_OverdriveN_MemoryTimingLevel_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupport,
int *  lpCurrentValue,
int *  lpDefaultValue,
int *  lpNumberLevels,
int **  lppLevelList 
)

Function to retrieve the memory timing .

This function enables/disables memory timing for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupportan integer ponter of memory timing support flag. If blockchain mode supported, the value is 1, otherwise it is 0.
[out]lpCurrrentValuean integer ponter of blockchain mode currrent state. If blockchain mode is enabled, the value is 1, otherwise it is 0.
[out]lpDfaultValuean integer ponter of blockchain mode default state. If default blockchain mode is enabled, the value is 1, otherwise it is 0.
[out]lpNumberLevelsan integer ponter of pointer of memory timing levels, which stores all memory levels.
[out]lppLevelListan integer ponter of memory timing levels.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes///

◆ ADL2_OverdriveN_MemoryTimingLevel_Set()

int ADL2_OverdriveN_MemoryTimingLevel_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  currentValue 
)

Function to change memory timing levels.

This function set GPU memory timing level for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]currentValueis an integer of GPU memory timing level.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes///

◆ ADL2_OverdriveN_PerformanceStatus_Get()

int ADL2_OverdriveN_PerformanceStatus_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceStatus lpODPerformanceStatus 
)

Function to retrieve the current OD performance status.

This function retrieves the current OD performance for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpOdPerformanceStatusThe pointer to the ADLODNPerformanceStatus structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_PowerLimit_Get()

int ADL2_OverdriveN_PowerLimit_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPowerLimitSetting lpODPowerLimit 
)

Function to retrieve the current power limit settings.

This function retrieves the current power limit for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpOdPowerLimitThe pointer to the ADLODPowerLimitSetting structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_PowerLimit_Set()

int ADL2_OverdriveN_PowerLimit_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPowerLimitSetting lpODPowerLimit 
)

Function to sets the current power limit settings.

This function retrieves the current power limit for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpOdPowerLimitThe pointer to the ADLODPowerLimitSetting structure storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_SCLKAutoOverClock_Get()

int ADL2_OverdriveN_SCLKAutoOverClock_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpStatus 
)
Function to retrieve the OverdriveN SCLK Auto overclock state.

This function retrieves the OverdriveN SCLK Auto overclock for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpStatusAuto overclock state ADL_TRUE ADL_FALSE
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_SCLKAutoOverClock_Set()

int ADL2_OverdriveN_SCLKAutoOverClock_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iStatus,
int *  iFlags 
)
Function to sets the OverdriveN SCLK Auto overclock state.

This function retrieves the OverdriveN SCLK Auto overclock state for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iStatusAuto overclock state ADL_TRUE ADL_FALSE
[in/out]iFlags. this has two meanings. input: when reseting AOC, need to ODNControlType_Default; output: Auto overclock needs reboot or not; flags 0 or 1 - reboot required
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_SettingsExt_Get()

int ADL2_OverdriveN_SettingsExt_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpOverdriveNExtCapabilities,
int *  lpNumberOfODNExtFeatures,
ADLODNExtSingleInitSetting **  lppInitSettingList,
int **  lppCurrentSettingList 
)

Function to get Fan curve info.

This function to retrieve Fan curve for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpOverdriveNCapabilitiesThe pointer to the bit-vector which indicates wich ODN feature is supported. ///
[out]lpNumberPointsan integer ponter of Fan curve points.
[in/out]lpNumberOfODNExtFeatures The pointer to an integer which indicates the number of ODN features. The callee shold input the expected number of features. Then ADL can use this input to support comptiable. When returing, the number is actual number of dricver currently supported features
[out]lpInitSettingListThe pointer to the list of current ODN Ext settingts.
[out]lppInitSettingListThe pointer to the list of current ODN Ext range of settingts.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_SettingsExt_Set()

int ADL2_OverdriveN_SettingsExt_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iNumberOfODNExtFeatures,
int *  itemValueValidList,
int *  lpItemValueList 
)

Function to set fan curve (temperature and speed)

This function to for set fan curve (temperature and speed) a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iNumberOfODNExtFeaturesAn integer which indicates the number of ODN features.
[in]lpItemValueValidListan integer pointer which indicates which element in lpItemValueList is valid
[in]lpItemValueListan integer pointer which indicate the current value
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_OverdriveN_SystemClocks_Get()

int ADL2_OverdriveN_SystemClocks_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevels lpODPerformanceLevels 
)

Function to retrieve the current GPU clocks settings.

This function retrieves the current GPU clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure storing the retrieved data.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_OverdriveN_SystemClocks_Set()

int ADL2_OverdriveN_SystemClocks_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevels lpODPerformanceLevels 
)

Function to sets the current GPU clocks settings.

This function applies the current GPU clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure to set the data to driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
Deprecated:
This API has been deprecated.

◆ ADL2_OverdriveN_SystemClocksX2_Get()

int ADL2_OverdriveN_SystemClocksX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevelsX2 lpODPerformanceLevels 
)

Function to retrieve the current GPU clocks settings.

This function retrieves the current GPU clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure storing the retrieved data.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_SystemClocksX2_Set()

int ADL2_OverdriveN_SystemClocksX2_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLODNPerformanceLevelsX2 lpODPerformanceLevels 
)

Function to sets the current GPU clocks settings.

This function applies the current GPU clocks for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpODPerformanceLevelsThe pointer to the ADLODNPerformanceLevels structure to set the data to driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_Temperature_Get()

int ADL2_OverdriveN_Temperature_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iTemperatureType,
int *  iTemperature 
)

Function to retrieve the current temperture.

This function retrieves the current temperature for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iTemperatureType,temperaturetype. ADLODNTemperatureType
[out]iTemperatureThe integer pointer, storing the retrieved Overdrive parameters.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_Test_Set()

int ADL2_OverdriveN_Test_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iEnabled 
)
Function to enable or disable OVERdrive test This function enables or disables Overdrive testing status for a specified display adapter. works on earlier OD versions also.
Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iEnabledADL_TRUE ADL_FALSE
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_ThrottleNotification_Get()

int ADL2_OverdriveN_ThrottleNotification_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpStatus,
int *  lpThrottleFlags 
)
Function to retrieve the OverdriveN Throttle Notification state and its flags.

This function retrieves the OverdriveN Throttle Notification for a specified adapter.

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]lpStatusThrottle Notification state ADL_TRUE ADL_FALSE
[in]lpThrottleFlagsThrottle Notification flags ADL_ODN_THROTTLE_NOTIFICATION, which tells the reason for low performance
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_OverdriveN_ZeroRPMFan_Get()

int ADL2_OverdriveN_ZeroRPMFan_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupport,
int *  lpCurrentValue,
int *  lpDefaultValue 
)

Function to get zero RPM fan control info.

This function to retrieve zero RPM fan control for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]lpSupportan integer ponter of zero RMP fan control support flag. If zero RPM fan control supported, the value is 1, otherwise it is 0.
[out]lpCurrrentValuean integer ponter of zero RMP fan control currrent state. If zero RPM fan control is enabled, the value is 1, otherwise it is 0.
[out]lpDfaultValuean integer ponter of zero RMP fan control default state. If zero RPM fan control is enabled, the value is 1, otherwise it is 0.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes///

◆ ADL2_OverdriveN_ZeroRPMFan_Set()

int ADL2_OverdriveN_ZeroRPMFan_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  currentValue 
)

Function to change Zero RPM control levels.

This function set GPU Zero RPM cntrol level for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[out]currentValueis an integer of GPU Zero RPM cntrol level.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes///

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