displaysmanager.h File Reference

Contains all functions related to Display Manager that are exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms. More...


Defines

#define ADL_EXTERNC

Functions

int ADL2_Adapter_Active_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStatus, int *lpNewlyActivate)
 Function to set the current extended desktop mode status for a display.
int ADL_Adapter_Active_Set (int iAdapterIndex, int iStatus, int *lpNewlyActivate)
 Function to set the current extended desktop mode status for a display.
int ADL2_Adapter_Active_SetPrefer (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iStatus, int iNumPreferTarget, ADLDisplayTarget *lpPreferTarget, int *lpNewlyActivate)
 Function to set the current extended desktop mode status for the display.
int ADL_Adapter_Active_SetPrefer (int iAdapterIndex, int iStatus, int iNumPreferTarget, ADLDisplayTarget *lpPreferTarget, int *lpNewlyActivate)
 Function to set the current extended desktop mode status for the display.
int ADL2_Adapter_Primary_Get (ADL_CONTEXT_HANDLE context, int *lpPrimaryAdapterIndex)
 Function to retrieve the primary display adapter index.
int ADL_Adapter_Primary_Get (int *lpPrimaryAdapterIndex)
 Function to retrieve the primary display adapter index.
int ADL2_Adapter_Primary_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex)
 Function to set the primary display adapter index.
int ADL_Adapter_Primary_Set (int iAdapterIndex)
 Function to set the primary display adapter index.
int ADL2_Adapter_ModeSwitch (ADL_CONTEXT_HANDLE context, int iAdapterIndex)
 Function to perform a mode switch for an adapter.
int ADL_Adapter_ModeSwitch (int iAdapterIndex)
 Function to perform a mode switch for an adapter.
int ADL2_Display_Modes_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the display mode information.
int ADL_Display_Modes_Get (int iAdapterIndex, int iDisplayIndex, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the display mode information.
int ADL2_Display_Modes_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iNumModes, ADLMode *lpModes)
 Function to set display mode information.
int ADL_Display_Modes_Set (int iAdapterIndex, int iDisplayIndex, int iNumModes, ADLMode *lpModes)
 Function to set display mode information.
int ADL2_Display_PossibleMode_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the OS possible modes list for an adapter (all OS platforms).
int ADL_Display_PossibleMode_Get (int iAdapterIndex, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the OS possible modes list for an adapter (all OS platforms).
int ADL2_Display_ForcibleDisplay_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpStatus)
 Function to retrieve the forcible connected status of a display.
int ADL_Display_ForcibleDisplay_Get (int iAdapterIndex, int iDisplayIndex, int *lpStatus)
 Function to retrieve the forcible connected status of a display.
int ADL2_Display_ForcibleDisplay_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iStatus)
 Function to set the forcible connected status of a display.
int ADL_Display_ForcibleDisplay_Set (int iAdapterIndex, int iDisplayIndex, int iStatus)
 Function to set the forcible connected status of a display.
int ADL2_Adapter_NumberOfActivatableSources_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumSources, ADLActivatableSource **lppSources)
 Function to retrieve the number of Activatable sources based on ADL Index.
int ADL_Adapter_NumberOfActivatableSources_Get (int iAdapterIndex, int *lpNumSources, ADLActivatableSource **lppSources)
 Function to retrieve the number of Activatable sources based on ADL Index.
int ADL2_Adapter_Display_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplayCaps, ADLAdapterDisplayCap **lppAdapterDisplayCaps)
 Function to retrieve the adapter display manner capabilities based on ADL index.
int ADL_Adapter_Display_Caps (int iAdapterIndex, int *lpNumDisplayCaps, ADLAdapterDisplayCap **lppAdapterDisplayCaps)
 Function to retrieve the adapter display manner capabilities based on ADL index.
int ADL2_Display_DisplayMapConfig_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplayMap, ADLDisplayMap **lppDisplayMap, int *lpNumDisplayTarget, ADLDisplayTarget **lppDisplayTarget, int iOptions)
 Function to retrieve current display map configurations.
int ADL_Display_DisplayMapConfig_Get (int iAdapterIndex, int *lpNumDisplayMap, ADLDisplayMap **lppDisplayMap, int *lpNumDisplayTarget, ADLDisplayTarget **lppDisplayTarget, int iOptions)
 Function to retrieve current display map configurations.
int ADL2_Display_DisplayMapConfig_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumDisplayMap, ADLDisplayMap *lpDisplayMap, int iNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget)
 Function to set the current display configuration.
int ADL_Display_DisplayMapConfig_Set (int iAdapterIndex, int iNumDisplayMap, ADLDisplayMap *lpDisplayMap, int iNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget)
 Function to set the current display configuration.
int ADL2_Display_PossibleMapping_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumberOfPresetMapping, ADLPossibleMapping *lpPresetMappings, int iEnquiryControllerIndex, int *lpNumberOfEnquiryPossibleMappings, ADLPossibleMapping **lppEnquiryPossibleMappings)
 Function to retrieve the possible display mappings.
int ADL_Display_PossibleMapping_Get (int iAdapterIndex, int iNumberOfPresetMapping, ADLPossibleMapping *lpPresetMappings, int iEnquiryControllerIndex, int *lpNumberOfEnquiryPossibleMappings, ADLPossibleMapping **lppEnquiryPossibleMappings)
 Function to retrieve the possible display mappings.
int ADL2_Display_DisplayMapConfig_Validate (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumPossibleMap, ADLPossibleMap *lpPossibleMaps, int *lpNumPossibleMapResult, ADLPossibleMapResult **lppPossibleMapResult)
 Function to validate the list of the display configurations based on ADL Index.
int ADL_Display_DisplayMapConfig_Validate (int iAdapterIndex, int iNumPossibleMap, ADLPossibleMap *lpPossibleMaps, int *lpNumPossibleMapResult, ADLPossibleMapResult **lppPossibleMapResult)
 Function to validate the list of the display configurations based on ADL Index.
int ADL2_Display_DisplayMapConfig_PossibleAddAndRemove (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumDisplayMap, ADLDisplayMap *lpDisplayMap, int iNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget, int *lpNumPossibleAddTarget, ADLDisplayTarget **lppPossibleAddTarget, int *lpNumPossibleRemoveTarget, ADLDisplayTarget **lppPossibleRemoveTarget)
 Function to validate a list of display configurations.
int ADL_Display_DisplayMapConfig_PossibleAddAndRemove (int iAdapterIndex, int iNumDisplayMap, ADLDisplayMap *lpDisplayMap, int iNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget, int *lpNumPossibleAddTarget, ADLDisplayTarget **lppPossibleAddTarget, int *lpNumPossibleRemoveTarget, ADLDisplayTarget **lppPossibleRemoveTarget)
 Function to validate a list of display configurations.
int ADL2_Display_SLSGrid_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumSLSGrid, ADLSLSGrid **lppSLSGrid, int iOption)
 Function to get the current supported SLS grid patterns (MxN) for a GPU.
int ADL_Display_SLSGrid_Caps (int iAdapterIndex, int *lpNumSLSGrid, ADLSLSGrid **lppSLSGrid, int iOption)
 Function to get the current supported SLS grid patterns (MxN) for a GPU.
int ADL2_Display_SLSMapIndexList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumSLSMapIndexList, int **lppSLSMapIndexList, int iOptions)
 Function to get the active SLS map index list for a given GPU.
int ADL_Display_SLSMapIndexList_Get (int iAdapterIndex, int *lpNumSLSMapIndexList, int **lppSLSMapIndexList, int iOptions)
 Function to get the active SLS map index list for a given GPU.
int ADL2_Display_SLSMapIndex_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iADLNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget, int *lpSLSMapIndex)
 Function to get the SLS map index for a given adapter and a given display device.
int ADL_Display_SLSMapIndex_Get (int iAdapterIndex, int iADLNumDisplayTarget, ADLDisplayTarget *lpDisplayTarget, int *lpSLSMapIndex)
 Function to get the SLS map index for a given adapter and a given display device.
int ADL2_Display_SLSMapConfigX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, ADLSLSMap *lpSLSMap, int *lpNumSLSTarget, ADLSLSTarget **lppSLSTarget, int *lpNumNativeMode, ADLSLSMode **lppNativeMode, int *lpNumNativeModeOffsets, ADLSLSOffset **lppNativeModeOffsets, int *lpNumBezelMode, ADLBezelTransientMode **lppBezelMode, int *lpNumTransientMode, ADLBezelTransientMode **lppTransientMode, int *lpNumSLSOffset, ADLSLSOffset **lppSLSOffset, int iOption)
 Function to retrieve an SLS configuration.
int ADL_Display_SLSMapConfigX2_Get (int iAdapterIndex, int iSLSMapIndex, ADLSLSMap *lpSLSMap, int *lpNumSLSTarget, ADLSLSTarget **lppSLSTarget, int *lpNumNativeMode, ADLSLSMode **lppNativeMode, int *lpNumNativeModeOffsets, ADLSLSOffset **lppNativeModeOffsets, int *lpNumBezelMode, ADLBezelTransientMode **lppBezelMode, int *lpNumTransientMode, ADLBezelTransientMode **lppTransientMode, int *lpNumSLSOffset, ADLSLSOffset **lppSLSOffset, int iOption)
 Function to retrieve an SLS configuration.
int ADL2_Display_SLSMapConfig_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, ADLSLSMap *lpSLSMap, int *lpNumSLSTarget, ADLSLSTarget **lppSLSTarget, int *lpNumNativeMode, ADLSLSMode **lppNativeMode, int *lpNumBezelMode, ADLBezelTransientMode **lppBezelMode, int *lpNumTransientMode, ADLBezelTransientMode **lppTransientMode, int *lpNumSLSOffset, ADLSLSOffset **lppSLSOffset, int iOption)
 Function to retrieve an SLS configuration.
int ADL_Display_SLSMapConfig_Get (int iAdapterIndex, int iSLSMapIndex, ADLSLSMap *lpSLSMap, int *lpNumSLSTarget, ADLSLSTarget **lppSLSTarget, int *lpNumNativeMode, ADLSLSMode **lppNativeMode, int *lpNumBezelMode, ADLBezelTransientMode **lppBezelMode, int *lpNumTransientMode, ADLBezelTransientMode **lppTransientMode, int *lpNumSLSOffset, ADLSLSOffset **lppSLSOffset, int iOption)
 Function to retrieve an SLS configuration.
int ADL2_Display_SLSMapConfig_Create (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLSLSMap SLSMap, int iNumTarget, ADLSLSTarget *lpSLSTarget, int iBezelModePercent, int *lpSLSMapIndex, int iOption)
 Function to create an SLS configuration.
int ADL_Display_SLSMapConfig_Create (int iAdapterIndex, ADLSLSMap SLSMap, int iNumTargetTarget, ADLSLSTarget *lpSLSTarget, int iBezelModePercent, int *lpSLSMapIndex, int iOption)
 Function to create an SLS configuration.
int ADL2_Display_SLSMapConfig_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex)
 Function to delete an SLS map from the driver database.
int ADL_Display_SLSMapConfig_Delete (int iAdapterIndex, int iSLSMapIndex)
 Function to delete an SLS map from the driver database.
int ADL2_Display_SLSMapConfigX2_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumSLSMapIndex, int *lpSLSMapIndexes)
 Function to delete an list of SLS map indexes from the driver database.
int ADL2_Display_SLSMapConfig_SetState (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int iState)
 Function to enable/disable SLS bind.
int ADL_Display_SLSMapConfig_SetState (int iAdapterIndex, int iSLSMapIndex, int iState)
 Function to enable/disable SLS bind.
int ADL2_Display_SLSMapConfig_Rearrange (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int iNumDisplayTarget, ADLSLSTarget *lpSLSTarget, ADLSLSMap slsMap, int iOption)
 Function to rearrange display orders in an SLS map.
int ADL_Display_SLSMapConfig_Rearrange (int iAdapterIndex, int iSLSMapIndex, int iNumDisplayTarget, ADLSLSTarget *lpSLSTarget, ADLSLSMap slsMap, int iOption)
 Function to rearrange display orders in an SLS map.
int ADL2_Display_PossibleMode_WinXP_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumDisplayTargets, ADLDisplayTarget *lpDisplayTargets, int iLargeDesktopSupportedType, int iDevicePanningControl, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the ATI possible modes list for an adapter and preset mapping (Windows XP).
int ADL_Display_PossibleMode_WinXP_Get (int iAdapterIndex, int iNumDisplayTargets, ADLDisplayTarget *lpDisplayTargets, int iLargeDesktopSupportedType, int iDevicePanningControl, int *lpNumModes, ADLMode **lppModes)
 Function to retrieve the ATI possible modes list for an adapter and preset mapping (Windows XP).
int ADL2_Display_BezelOffsetSteppingSize_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumBezelOffsetSteppingSize, ADLBezelOffsetSteppingSize **lppBezelOffsetSteppingSize)
 Get bezel offset stepping size for the input adapter.
int ADL_Display_BezelOffsetSteppingSize_Get (int iAdapterIndex, int *lpNumBezelOffsetSteppingSize, ADLBezelOffsetSteppingSize **lppBezelOffsetSteppingSize)
 Get bezel offset stepping size for the input adapter.
int ADL2_Display_BezelOffset_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int iNumBezelOffset, LPADLSLSOffset lpBezelOffset, ADLSLSMap SLSMap, int iOption)
 Set SLS bezel offsets for each display index.
int ADL_Display_BezelOffset_Set (int iAdapterIndex, int iSLSMapIndex, int iNumBezelOffset, LPADLSLSOffset lpBezelOffset, ADLSLSMap SLSMap, int iOption)
 Set SLS bezel offsets for each display index.
int ADL2_Display_BezelSupported_Validate (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumPossibleSLSMap, LPADLPossibleSLSMap lpPossibleSLSMaps, int *lpNumPossibleSLSMapResult, LPADLPossibleMapResult *lppPossibleMapResult)
 Validate the list of the SLS display configurations to determine if bezel is supported or not.
int ADL_Display_BezelSupported_Validate (int iAdapterIndex, int iNumPossibleSLSMap, LPADLPossibleSLSMap lpPossibleSLSMaps, int *lpNumPossibleSLSMapResult, LPADLPossibleMapResult *lppPossibleMapResult)
 Validate the list of the SLS display configurations to determine if bezel is supported or not.
int ADL2_Display_Overlap_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int iNumOverlappedModes, LPADLSLSTargetOverlap lpOverlappedModes, int iNumTargetOffsets, LPADLSLSOffset lpTargetOffsets, ADLSLSMap SLSMap)
 Set SLS overlap offsets for each display index.
int ADL_Display_Overlap_Set (int iAdapterIndex, int iSLSMapIndex, int iNumOverlappedModes, LPADLSLSTargetOverlap lpOverlappedModes, int iNumTargetOffsets, LPADLSLSOffset lpTargetOffsets, ADLSLSMap SLSMap)
 Set SLS overlap offsets for each display index.
int ADL2_Display_SLSMiddleMode_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int *lpMiddleModeSupported, int *lpMaxNumMiddleModeToSet, int *lpNumAvailableSLSMiddleMode, ADLSLSMode **lppAvailableSLSMiddleMode, int *lpNumCurrentSLSMiddleMode, ADLSLSMode **lppCurrentSLSMiddleMode, int *lpNumDefaultSLSMiddleMode, ADLSLSMode **lppDefaultSLSMiddleMode, int iOption)
 Get SLS middle mode for specific adapter.
int ADL_Display_SLSMiddleMode_Get (int iAdapterIndex, int iSLSMapIndex, int *lpMiddleModeSupported, int *lpMaxNumMiddleModeToSet, int *lpNumAvailableSLSMiddleMode, ADLSLSMode **lppAvailableSLSMiddleMode, int *lpNumCurrentSLSMiddleMode, ADLSLSMode **lppCurrentSLSMiddleMode, int *lpNumDefaultSLSMiddleMode, ADLSLSMode **lppDefaultSLSMiddleMode, int iOption)
 Get SLS middle mode for specific adapter.
int ADL2_Display_SLSMiddleMode_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSLSMapIndex, int iNumCurrentSLSMiddleMode, ADLSLSMode *lpCurrentSLSMiddleMode, int iOption)
 Set SLS middle mode for specific adapter.
int ADL_Display_SLSMiddleMode_Set (int iAdapterIndex, int iSLSMapIndex, int iNumCurrentSLSMiddleMode, ADLSLSMode *lpCurrentSLSMiddleMode, int iOption)
 Set SLS middle mode for specific adapter.
int ADL2_Workstation_EnableUnsupportedDisplayModes (ADL_CONTEXT_HANDLE context, int iAdapterIndex)
 Function to set the Registry key "UnsupportedMonitorModesAllowed" when 10bit Pixel format is enabled from workstation aspect.
int ADL_Workstation_EnableUnsupportedDisplayModes (int iAdapterIndex)
 Function to set the Registry key "UnsupportedMonitorModesAllowed" when 10bit Pixel format is enabled from workstation aspect.
int ADL2_Display_SLSRecords_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfRecords, int **lppGridIDList)
 Function to Get an SLS records from the driver database.
int ADL_Display_SLSRecords_Get (int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfRecords, int **lppGridIDList)
 Function to Get an SLS records from the driver database.
int ADL2_Adapter_AMDAndNonAMDDIsplayClone_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpHasAMDAndNonAMDDIsplays)
 ADL local interface. Retrieves GPU information of any AMD and non-AMD displays cloned for given GPU or all OS-known GPUs.
int ADL2_Adapter_CloneTypes_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCloneTypes)
 ADL local interface. Retrieves GPU information of special clone types for given GPU or all OS-known GPUs.
int ADL2_Adapter_CrossGPUClone_Disable (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iOptions)
 ADL local interface. Disable all cross-GPU clone for given GPU or all OS-known GPUs.


Detailed Description

Contains all functions related to Display Manager that are exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms.

Copyright (c) 2008 - 2009 Advanced Micro Devices, Inc. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. This file contains all Displays Manager functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms. All functions found in this file can be used as a reference to ensure the specified function pointers can be used by the appropriate runtime dynamic library loaders.


Define Documentation

#define ADL_EXTERNC


Function Documentation

int ADL2_Display_SLSRecords_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfRecords,
int **  lppGridIDList 
)

Function to Get an SLS records from the driver database.

This function to Get an SLS records from the driver database.

Supported Platforms:
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 of the desired adapter. This function does not support -1.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpNumOfRecords gets the number of SLS Grids for the given adapter and display
[out] lppGridIDList gets the SLS Grid IDs for the given adapter and display
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.

int ADL_Display_SLSRecords_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfRecords,
int **  lppGridIDList 
)

Function to Get an SLS records from the driver database.

This function to Get an SLS records from the driver database.

Supported Platforms:
Windows (XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index of the desired adapter. This function does not support -1.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpNumOfRecords gets the number of SLS Grids for the given adapter and display
[out] lppGridIDList gets the SLS Grid IDs for the given adapter and display
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Adapter_AMDAndNonAMDDIsplayClone_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpHasAMDAndNonAMDDIsplays 
)

ADL local interface. Retrieves GPU information of any AMD and non-AMD displays cloned for given GPU or all OS-known GPUs.

This function retrieves information for passed adapter or -1 for all GPUs.

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(one of GPU adapter index) or -1 if all GPUs are desired. For A+I system, please pass -1 only.
[out] lpHasAMDAndNonAMDDIsplays pointer to an integer. It is 1 if there is any AMd and non-AMD displays cloned in the GPU or the system
Supported Platforms:
or above
Returns:
If the function valid, the return value is 1. Otherwise it is 0.
Remarks:
This API uses the memory allocation callback function provided by the user.

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 ADL2_Adapter_CloneTypes_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpCloneTypes 
)

ADL local interface. Retrieves GPU information of special clone types for given GPU or all OS-known GPUs.

This function retrieves special clone types information for passed adapter or -1 for all GPUs. Currently, cross-GPU-clone and corss-GPU-clone-AMDWithNonAMD

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(one of GPU adapter index) or -1 if all GPUs are desired. For A+I system, please pass -1 only.
[out] lpCloneTypes pointer to an integer. It is bit vector. If the first bit is 1, the clone is cross-GPU-clone. It is may AMD with AMD or AMD with non-AMD. If The second bit is 1, the clone is cross-GPU-clone, but with non-AMD displays. It is available in WIN10 and WIN 8.1 PX A+I system
Supported Platforms:
or above
Returns:
If the function valid, the return value is 1. Otherwise it is 0.
Remarks:
if iAdapterIndex is not -1 and if there is one of cross-GPU clones found in the GPU, then cross-GPU clone is true

if the iAdapertIndex is -1 and if there is one of cross-GPU clones found in the system, then cross-GPU clone is true

int ADL2_Adapter_CrossGPUClone_Disable ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iOptions 
)

ADL local interface. Disable all cross-GPU clone for given GPU or all OS-known GPUs.

This function disables the cross-GPU clone for passed adapter(GPU) or -1 for all GPUs.

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(one of GPU adapter index) or -1 if all GPUs are desired. For A+I system, please pass -1 only.
[in] iOptions is an integer, which decides the displays from other GPUs will be disabled or changed to extended mode. Currently, the API only supports the "disabled". This filed is just for extension for future useage.
Supported Platforms:
or above
Returns:
If the function valid, the return value is 1. Otherwise it is 0.
Remarks:
iOption support only 0 currently.


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