Timing Override APIs
[Display Related APIs]


Functions

int ADL2_Display_ModeTimingOverride_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL_Display_ModeTimingOverride_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL2_Display_ModeTimingOverride_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information.
int ADL_Display_ModeTimingOverride_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information.
int ADL2_Display_ModeTimingOverrideList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list.
int ADL_Display_ModeTimingOverrideList_Get (int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list.

Detailed Description

This group describes the Timing Overide related APIs

Function Documentation

int ADL2_Display_ModeTimingOverride_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayMode lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
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.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
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. It has been replaced with API ADL2_Display_ModeTimingOverrideX2_Get

int ADL_Display_ModeTimingOverride_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayMode lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Deprecated:
This API has been deprecated. It has been replaced with API ADL_Display_ModeTimingOverrideX2_Get

int ADL2_Display_ModeTimingOverride_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayModeInfo lpMode,
int  iForceUpdate 
)

Function to set display mode timing override information.

This function sets display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
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.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpMode The pointer to the ADLDisplayModeInfo structure which sets the display mode timing override information.
[in] iForceUpdate The value which forces the update of the timing override information.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

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.

int ADL_Display_ModeTimingOverride_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayModeInfo lpMode,
int  iForceUpdate 
)

Function to set display mode timing override information.

This function sets display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpMode The pointer to the ADLDisplayModeInfo structure which sets the display mode timing override information.
[in] iForceUpdate The value which forces the update of the timing override information.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Display_ModeTimingOverrideList_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iMaxNumOfOverrides,
ADLDisplayModeInfo lpModeInfoList,
int *  lpNumOfOverrides 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
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.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] iMaxNumOfOverrides The maximum number of elements in the array pointed by lpModeInfoList. The number specified must be > 0.
[out] lpModeInfoList The pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
[out] lpNumOfOverrides The pointer to the actual number of the retrieved overridden modes.
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. It has been replaced with API ADL2_Display_ModeTimingOverrideListX2_Get

int ADL_Display_ModeTimingOverrideList_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int  iMaxNumOfOverrides,
ADLDisplayModeInfo lpModeInfoList,
int *  lpNumOfOverrides 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayIndex The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] iMaxNumOfOverrides The maximum number of elements in the array pointed by lpModeInfoList. The number specified must be > 0.
[out] lpModeInfoList The pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
[out] lpNumOfOverrides The pointer to the actual number of the retrieved overridden modes.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Deprecated:
This API has been deprecated. It has been replaced with API ADL_Display_ModeTimingOverrideListX2_Get


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