Digital Flat Panel APIs
[DFP, TV, Component Video APIs]


Functions

int ADL_DFP_BaseAudioSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support.
int ADL_DFP_HDMISupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support.
int ADL_DFP_MVPUAnalogSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support.
int ADL_DFP_PixelFormat_Caps (int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps.
int ADL_DFP_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting.
int ADL_DFP_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting.
int ADL_DFP_GPUScalingEnable_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting.
int ADL_DFP_GPUScalingEnable_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting.
int ADL_DFP_AllowOnlyCETimings_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting.
int ADL_DFP_AllowOnlyCETimings_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting.

Detailed Description

This group outlines all digital flat panel related APIs.

Function Documentation

int ADL_DFP_BaseAudioSupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display base audio support.

This function determines whether base display audio support is available.

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 int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_DFP_HDMISupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display HDMI support.

This function determines whether the base display HDMI support is available.

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 int pointer indicating whether the feature is supported by the driver. If the feature is supported, a value of 1 is stored. Otherwise, a value of 0 is stored.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_DFP_MVPUAnalogSupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display MVPU analog support.

This function determines whether display MVPU analog support is available.

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 int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_DFP_PixelFormat_Caps ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpValidBits,
int *  lpValidCaps 
)

Function to retrieve PixelFormat caps.

This function retrieves the pixel format caps 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] lpValidBits The pointer to the bit field indicating which bits in the lpValidCaps parameter are valid.
[out] lpValidCaps The pointer to the valid pixel formats caps. 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:
This API is supported only by HDMI.

int ADL_DFP_PixelFormat_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurState,
int *  lpDefault 
)

Function to retrieve current pixel format setting.

This function retrieves the pixel format setting 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] lpCurState The pointer to the current pixel format of the display. Pixel Formats values
[out] lpDefault The pointer to the default pixel format of the display. 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:
This API is supported only by HDMI.

int ADL_DFP_PixelFormat_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iState 
)

Function to set the current pixel format setting.

This function sets the pixel format setting 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] iState The desired pixel format for the specified display. 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:
This API is supported only by HDMI.

int ADL_DFP_GPUScalingEnable_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting 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] lpSupport The pointer to the value indicating whether GPUScalingEnable is supported. 1: supported; 0: not supported.
[in] lpCurrent The pointer to the value indicating whether GPUScalingEnable is currently enabled. 1: enabled; 0: disabled.
[in] lpDefault The pointer to the GPUScalingEnable default setting.
Returns:
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes

int ADL_DFP_GPUScalingEnable_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting 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] iCurrent The desired GPU Scaling Enable state for the specified display. 1: enabled; 0: disabled..
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_DFP_AllowOnlyCETimings_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting 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] lpSupport The pointer to the value indicating whether AllowOnlyCETimings is supported. 1: supported; 0: not supported.
[in] lpCurrent The pointer to the value indicating whether AllowOnlyCETimings is currently enabled. 1: enabled; 0: disabled.
[in] lpDefault The pointer to the AllowOnlyCETimings default setting.
Returns:
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes

int ADL_DFP_AllowOnlyCETimings_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting 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] iCurrent The desired Allow Only CE Timings state for the specified display. 1: enabled; 0: disabled..
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.


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