Timing Override APIs
[Display Related APIs]


Functions

int ADL_Display_ModeTimingOverride_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve 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 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 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 Windows 7); 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

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 Windows 7); 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 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 Windows 7); 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


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer