Miscellaneous Display APIs
[Display Related APIs]


Functions

int ADL_Display_DisplayInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayInfo **lppInfo, int iForceDetect)
 Function to retrieve the adapter display information.
int ADL_Display_DpMstInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect)
 Function to retrieve the Display Port MST information.
int ADL_Display_NumberOfDisplays_Get (int iAdapterIndex, int *lpNumDisplays)
 Function to retrieve the number of displays supported by an adapter.
int ADL_Display_PreservedAspectRatio_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display perserved aspect ratio of an adapter.
int ADL_Display_PreservedAspectRatio_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display preserved aspect ratio.
int ADL_Display_ImageExpansion_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display image expansion setting.
int ADL_Display_ImageExpansion_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display image expansion setting.
int ADL_Display_Position_Get (int iAdapterIndex, int iDisplayIndex, int *lpX, int *lpY, int *lpXDefault, int *lpYDefault, int *lpMinX, int *lpMinY, int *lpMaxX, int *lpMaxY, int *lpStepX, int *lpStepY)
 Function to get Device Display Position.
int ADL_Display_Position_Set (int iAdapterIndex, int iDisplayIndex, int iX, int iY)
 Function to set the Device Display Position.
int ADL_Display_Size_Get (int iAdapterIndex, int iDisplayIndex, int *lpWidth, int *lpHeight, int *lpDefaultWidth, int *lpDefaultHeight, int *lpMinWidth, int *lpMinHeight, int *lpMaxWidth, int *lpMaxHeight, int *lpStepWidth, int *lpStepHeight)
 Function to get the Device Display Size.
int ADL_Display_Size_Set (int iAdapterIndex, int iDisplayIndex, int iWidth, int iHeight)
 Function to set the Device Display Size.
int ADL_Display_AdjustCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpInfo)
 Function to retrieve the adjustment display information.
int ADL_Display_Capabilities_Get (int iAdapterIndex, int *lpNumberOfControlers, int *lpNumberOfDisplays)
 Function to get the number of displays and controllers supported by an adapter.
int ADL_Display_ConnectedDisplays_Get (int iAdapterIndex, int *lpConnections)
 Function to indicate whether displays are physically connected to an adapter.
int ADL_Display_DeviceConfig_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig)
 Function to get HDTV capability settings.
int ADL_Display_Property_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to get the current display property value.
int ADL_Display_Property_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to set current display property value.
int ADL_Display_SwitchingCapability_Get (int iAdapterIndex, int *lpResult)
 Function to retrieve the Display Switching Flag from the registry.
int ADL_Display_DitherState_Get (int iAdapterIndex, int iDisplayIndex, int *lpDitherState)
 Function to retrieve the dither state.
int ADL_Display_DitherState_Set (int iAdapterIndex, int iDisplayIndex, int iDitherState)
 Function to set the dither state.
int ADL_Display_SupportedPixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the supported pixel format. HDMI only.
int ADL_Display_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the current display pixel format. HDMI only.
int ADL_Display_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iPixelFormat)
 Function to set the current display pixel format. HDMI only.
int ADL_Display_ODClockInfo_Get (int iAdapterIndex, ADLAdapterODClockInfo *lpOdClockInfo)
 Function to retrieve the OD clock information.
int ADL_Display_ODClockConfig_Set (int iAdapterIndex, ADLAdapterODClockConfig *lpOdClockConfig)
 Function to set the OD clock configuration.
int ADL_Display_AdjustmentCoherent_Get (int iAdapterIndex, int iDisplayIndex, int *lpAdjustmentCoherentCurrent, int *lpAdjustmentCoherentDefault)
 Function to retrieve the adjustment coherent setting.
int ADL_Display_AdjustmentCoherent_Set (int iAdapterIndex, int iDisplayIndex, int iAdjustmentCoherent)
 Function to set the adjustment coherent setting.
int ADL_Display_ReducedBlanking_Get (int iAdapterIndex, int iDisplayIndex, int *lpReducedBlankingCurrent, int *lpReducedBlankingDefault)
 Function to retrieve the reduced blanking setting.
int ADL_Display_ReducedBlanking_Set (int iAdapterIndex, int iDisplayIndex, int iReducedBlanking)
 Function to set the reduced blanking setting.
int ADL_Display_FormatsOverride_Get (int iAdapterIndex, int iDisplayIndex, int *lpSettingsSupported, int *lpSettingsSupportedEx, int *lpCurSettings)
 Function to retrieve the available display formats.
int ADL_Display_FormatsOverride_Set (int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to overide the display formats.
int ADL_Display_MVPUCaps_Get (int iAdapterIndex, ADLMVPUCaps *lpMvpuCaps)
 Function to retrieve the information about MultiVPU capabilities.
int ADL_Display_MVPUStatus_Get (int iAdapterIndex, ADLMVPUStatus *lpMvpuStatus)
 Function to retrieve information about MultiVPU status.

Detailed Description

This group outlines the Miscellaneous Display related APIs.

Function Documentation

int ADL_Display_DisplayInfo_Get ( int  iAdapterIndex,
int *  lpNumDisplays,
ADLDisplayInfo **  lppInfo,
int  iForceDetect 
)

Function to retrieve the adapter display information.

This function retrieves display information for a specified adapter. Display information includes display index, name, type, and display connection status, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppInfo. Caller is responsible to de-alocate the memory.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpNumDisplays The pointer to the number of displays detected.
[out] lppInfo The pointer to the pointer to the retrieved display information array. Initialize to NULL before calling this API. Refer to the ADLDisplayInfo structure for more information.
[in] iForceDetect 0: Do not force detection of the adapters in the system; 1 : Force detection
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
This API uses the memory allocation callback function provided by the user.
Examples:
Sample-Managed/ADL.cs, and Sample/main.c.

int ADL_Display_DpMstInfo_Get ( int  iAdapterIndex,
int *  lpNumDisplays,
ADLDisplayDPMSTInfo **  lppDisplayDPMstInfo,
int  iForceDetect 
)

Function to retrieve the Display Port MST information.

This function retrieves display port MST information for a specified adapter. Display port MST information includes display indexes, names, bandwidth, identifiers, relative address and display connection, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppDisplayDPMstInfo. Caller is responsible to de-alocate the memory.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter. A value of -1 returns all displays in the system across multiple GPUs.
[out] lpNumDisplays The pointer to the number of displays detected.
[out] lppDisplayDPMstInfo The pointer to the list of the retrieved display port MST information array. Initialize to NULL before calling this API. Refer to the ADLDisplayDPMSTInfo structure for more information.
[in] iForceDetect ADL_FALSE: Do not force detection of the adapters in the system; ADL_TRUE: Force detection
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
This API uses the memory allocation callback function provided by the user.

int ADL_Display_NumberOfDisplays_Get ( int  iAdapterIndex,
int *  lpNumDisplays 
)

Function to retrieve the number of displays supported by an adapter.

This function retrieves the number of displays that is supported by a specified adapter. Supported displays include devices that are connected and disconnected together with those enabled and disabled devices.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpNumDisplays The pointer to the number of displays supported by the adapter.
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_PreservedAspectRatio_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to retrieve the display perserved aspect ratio of an adapter.

This function retrieves the current, default, and the feature supported values of the display preserved aspect ratio.

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.
[out] lpSupport The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
[out] lpCurrent The pointer to the current setting of display preserved aspect ratio. Its alternative value is 1 or 0.
[out] lpDefault The pointer to the default setting of display preserved aspect ratio. Its alternative value is 1 or 0.
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_PreservedAspectRatio_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the display preserved aspect ratio.

This function sets the current value of display preserved aspect ratio.

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] iCurrent The desired display preserved aspect ratio setting. Possible values are 1 or 0.
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_ImageExpansion_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to retrieve the display image expansion setting.

This function retrieves the current, default, and the feature supported values of the image expansion setting.

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.
[out] lpSupport The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
[out] lpCurrent The pointer to the current setting of display image expansion. Its alternative value is 1 or 0.
[out] lpDefault The pointer to the default setting of display image expansion. Its alternative value is 1 or 0.
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_ImageExpansion_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the display image expansion setting.

This function sets the current value of display image expansion setting.

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] iCurrent The desired setting of display image expansion. Possible values are 1 or 0.
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_Position_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpX,
int *  lpY,
int *  lpXDefault,
int *  lpYDefault,
int *  lpMinX,
int *  lpMinY,
int *  lpMaxX,
int *  lpMaxY,
int *  lpStepX,
int *  lpStepY 
)

Function to get Device Display Position.

This function retrieves the display position parameters for a specified adapter and 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.
[out] lpX The pointer to the current X coordinate display position.
[out] lpY The pointer to the current Y coordinate display position.
[out] lpXDefault The pointer to the default X coordinate display position.
[out] lpYDefault The pointer to the default Y coordinate display position.
[out] lpMinX The pointer to the minimum X display size.
[out] lpMinY The pointer to the minimum Y display size.
[out] lpMaxX The pointer to the maximum X display size.
[out] lpMaxY The pointer to the maximum Y display size.
[out] lpStepX The pointer to the step size along the X axis.
[out] lpStepY The pointer to the step size along the Y axis.
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_Position_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iX,
int  iY 
)

Function to set the Device Display Position.

This function sets the display X and Y position values for a specified adapter and 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] iX The desired X coordinate position.
[in] iY The desired Y coordinate position.
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_Size_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpWidth,
int *  lpHeight,
int *  lpDefaultWidth,
int *  lpDefaultHeight,
int *  lpMinWidth,
int *  lpMinHeight,
int *  lpMaxWidth,
int *  lpMaxHeight,
int *  lpStepWidth,
int *  lpStepHeight 
)

Function to get the Device Display Size.

This function retrieves the display position parameters.

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.
[out] lpWidth The pointer to the current display width.
[out] lpHeight The pointer to the current display height.
[out] lpDefaultWidth The pointer to the default display width.
[out] lpDefaultHeight The pointer to the default display height.
[out] lpMinWidth The pointer to the minimum display width.
[out] lpMinHeight The pointer to the minimum display height.
[out] lpMaxWidth The pointer to the maximum display width.
[out] lpMaxHeight The pointer to the maximum display height.
[out] lpStepWidth The pointer to the step width.
[out] lpStepHeight The pointer to the step height.
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_Size_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iWidth,
int  iHeight 
)

Function to set the Device Display Size.

This function sets the display width and height values.

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] iWidth The desired width of the display.
[in] iHeight The desired height of the display.
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_AdjustCaps_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpInfo 
)

Function to retrieve the adjustment display information.

This function retrieves the display adjustment information for a specified adapter and 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.
[out] lpInfo The pointer to the adjustment information retrieved from the driver.
Display Adjustment Capabilities
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_Capabilities_Get ( int  iAdapterIndex,
int *  lpNumberOfControlers,
int *  lpNumberOfDisplays 
)

Function to get the number of displays and controllers supported by an adapter.

This function retrieves the number of displays and controllers that are supported by a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpNumberOfControlers The pointer to the variable storing the total number of controllers. This variable must be initialized.
[out] lpNumberOfDisplays The pointer to the variable storing the total number of displays. This variable must be initialized.
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_ConnectedDisplays_Get ( int  iAdapterIndex,
int *  lpConnections 
)

Function to indicate whether displays are physically connected to an adapter.

This function indicates whether displays are physically connected to a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpConnections The pointer to the bit field indicating whether the output connectors on the specified adapter have devices physically attached to them.
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_DeviceConfig_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayConfig lpDisplayConfig 
)

Function to get HDTV capability settings.

This function retrieves HDTV capability settings 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.
[out] lpDisplayConfig The pointer to the retrieved display configuration.
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_Property_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayProperty lpDisplayProperty 
)

Function to get the current display property value.

This function retrieves the current display property value 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.
[out] lpDisplayProperty The pointer to the ADLDisplayProperty structure storing the retrieved display property value. lpDisplayProperty->iExpansionMode contains the Expansion Mode value.
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_Property_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDisplayProperty lpDisplayProperty 
)

Function to set current display property value.

This function sets current display property value 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] lpDisplayProperty The pointer to the desired ADLDisplayProperty structure. Set lpDisplayProperty->iExpansionMode with an Expansion Mode value.
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_SwitchingCapability_Get ( int  iAdapterIndex,
int *  lpResult 
)

Function to retrieve the Display Switching Flag from the registry.

This function retrieves the Display Switching Flag from the registery for a specified adapter.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpResult The pointer to value storing the retrieved flag. 1: Driver will not accept display switching request; 0: User can request display switching.
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_DitherState_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpDitherState 
)

Function to retrieve the dither state.

This function retrieves the dither state 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.
[out] lpDitherState The pointer to the value storing the retrieved dither state, which can be ADL_DL_DISPLAY_DITHER_DISABLED or ADL_DL_DISPLAY_DITHER_ENABLED.
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_DitherState_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iDitherState 
)

Function to set the dither state.

This function sets the dither state.

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] iDitherState The desired dither state, which can be set to either ADL_DL_DISPLAY_DITHER_DISABLED or ADL_DL_DISPLAY_DITHER_ENABLED.
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_SupportedPixelFormat_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpPixelFormat 
)

Function to retrieve the supported pixel format. HDMI only.

This function retrieves the supported pixel format.

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.
[out] lpPixelFormat The pointer to the supported pixel format. Pixel Formats values
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_PixelFormat_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpPixelFormat 
)

Function to retrieve the current display pixel format. HDMI only.

This function retrieves the current display pixel format.

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.
[out] lpPixelFormat The pointer to the pixel format. Pixel Formats values
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_PixelFormat_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iPixelFormat 
)

Function to set the current display pixel format. HDMI only.

This function sets the current display pixel format.

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] iPixelFormat The desired pixel format. Pixel Formats values
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_ODClockInfo_Get ( int  iAdapterIndex,
ADLAdapterODClockInfo lpOdClockInfo 
)

Function to retrieve the OD clock information.

This function retrieves the OD clock information.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpOdClockInfo The pointer to the structure storing the retrieved clock 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_ODClockConfig_Set ( int  iAdapterIndex,
ADLAdapterODClockConfig lpOdClockConfig 
)

Function to set the OD clock configuration.

This function sets the OD clock configuration.

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] lpOdClockConfig The pointer to the structure used to set the OD clock configuration.
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_AdjustmentCoherent_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpAdjustmentCoherentCurrent,
int *  lpAdjustmentCoherentDefault 
)

Function to retrieve the adjustment coherent setting.

This function retrieves the current adjustment coherent setting
It is applicable to DFP/DFP2 display types.

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.
[out] lpAdjustmentCoherentCurrent The pointer to the retrieved adjustment coherent setting. 1: Coherent; 0: non-coherent
[out] lpAdjustmentCoherentDefault The pointer to the retrieved default setting. 1: Coherent; 0: Non-coherent
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_AdjustmentCoherent_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iAdjustmentCoherent 
)

Function to set the adjustment coherent setting.

This function sets the current adjustment coherent setting to a specified setting.

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] iAdjustmentCoherent The desired adjustment coherent setting. 1: Coherent; 0: Non-coherent
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_ReducedBlanking_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpReducedBlankingCurrent,
int *  lpReducedBlankingDefault 
)

Function to retrieve the reduced blanking setting.

This function retrieves the current reduced blanking setting.

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.
[out] lpReducedBlankingCurrent The pointer to the current reduced blanking setting.
[out] lpReducedBlankingDefault The pointer to the retrieved default setting.
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_ReducedBlanking_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iReducedBlanking 
)

Function to set the reduced blanking setting.

This function sets the current reduced blanking setting to a specified setting.

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] iReducedBlanking The desired reduced blanking setting.
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_FormatsOverride_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSettingsSupported,
int *  lpSettingsSupportedEx,
int *  lpCurSettings 
)

Function to retrieve the available display formats.

This call retrieves the available display formats

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.
[out] lpSettingsSupported The pointer to the supported settings. Formats Override Settings
[out] lpSettingsSupportedEx The pointer to the extended supported settings. Formats Override Settings
[out] lpCurSettings The pointer to the current override settings Formats Override Settings
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_FormatsOverride_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iOverrideSettings 
)

Function to overide the display formats.

This call overrides the display formats

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] iOverrideSettings The new format settings Formats Override Settings
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_MVPUCaps_Get ( int  iAdapterIndex,
ADLMVPUCaps lpMvpuCaps 
)

Function to retrieve the information about MultiVPU capabilities.

This function retrieves the information about MultiVPU capabilities.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in,out] lpMvpuCaps The structure storing the retrieved information about MultiVPU capabilities.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks:
The maximum number of adapters is ADL_DL_MAX_MVPU_ADAPTERS

int ADL_Display_MVPUStatus_Get ( int  iAdapterIndex,
ADLMVPUStatus lpMvpuStatus 
)

Function to retrieve information about MultiVPU status.

This function retrieves information about MultiVPU status.

Supported Platforms:
Windows (XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in,out] lpMvpuStatus The structure storing the retrieved information about MultiVPU status.
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