ADL (AMD Display Library) Public APIs  Version 17.1
Macros | Functions
display.h File Reference

Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc. More...

#include "adl_structures.h"

Go to the source code of this file.

Macros

#define ADL_EXTERNC
 

Functions

int ADL2_Adapter_ModeTimingOverride_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support. More...
 
int ADL2_Adapter_VariBright_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion)
 
int ADL2_Adapter_VariBrightEnable_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iEnabled)
 
int ADL2_Adapter_VariBrightLevel_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iDefaultLevel, int *iNumberOfLevels, int *iStep, int *iCurrentLevel)
 
int ADL2_Adapter_VariBrightLevel_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iCurrentLevel, int iApplyImmediately)
 
int ADL2_CDS_UnsafeMode_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int unsafeMode)
 Function to set the current EDS mode enumeration mode. More...
 
int ADL2_CV_DongleSettings_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDongleSetting, int *lpOverrideSettingsSupported, int *lpCurOverrideSettings)
 Function to retrieve the settings of the CV dongle. More...
 
int ADL2_CV_DongleSettings_Reset (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex)
 Function to reset the CV settings to its default settings. More...
 
int ADL2_CV_DongleSettings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to set the current CV dongle settings. More...
 
int ADL2_DFP_AllowOnlyCETimings_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting. More...
 
int ADL2_DFP_AllowOnlyCETimings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting. More...
 
int ADL2_DFP_BaseAudioSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support. More...
 
int ADL2_DFP_GPUScalingEnable_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting. More...
 
int ADL2_DFP_GPUScalingEnable_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting. More...
 
int ADL2_DFP_HDMISupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support. More...
 
int ADL2_DFP_MVPUAnalogSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support. More...
 
int ADL2_DFP_PixelFormat_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps. More...
 
int ADL2_DFP_PixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting. More...
 
int ADL2_DFP_PixelFormat_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting. More...
 
int ADL2_Display_AdjustCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpInfo)
 Function to retrieve the adjustment display information. More...
 
int ADL2_Display_AdjustmentCoherent_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpAdjustmentCoherentCurrent, int *lpAdjustmentCoherentDefault)
 Function to retrieve the adjustment coherent setting. More...
 
int ADL2_Display_AdjustmentCoherent_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iAdjustmentCoherent)
 Function to set the adjustment coherent setting. More...
 
int ADL2_Display_Capabilities_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumberOfControlers, int *lpNumberOfDisplays)
 Function to get the number of displays and controllers supported by an adapter. More...
 
int ADL2_Display_Color_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorType, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the detailed information a specified display color item. More...
 
int ADL2_Display_Color_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorType, int iCurrent)
 Function to set the current value of a specific color and type.
More...
 
int ADL2_Display_ColorCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCaps, int *lpValids)
 Function to get the Color Caps display information. More...
 
int ADL2_Display_ColorDepth_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to get color depth. HDMI and DPonly. More...
 
int ADL2_Display_ColorDepth_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorDepth)
 Function to set color depth. HDMI and DPonly. More...
 
int ADL2_Display_ColorDepthDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpColorDepthDefault)
 
int ADL2_Display_ColorTemperatureSource_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSource)
 Function to get color temperature source. More...
 
int ADL2_Display_ColorTemperatureSource_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iTempSource)
 Function to set the color temperature source. More...
 
int ADL2_Display_ColorTemperatureSourceDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSourceDefault)
 Function to get default color temperature source. More...
 
int ADL2_Display_ConnectedDisplays_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpConnections)
 Function to indicate whether displays are physically connected to an adapter. More...
 
int ADL2_Display_ControllerOverlayAdjustmentCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlayInput, ADLControllerOverlayInfo *lpCapsInfo)
 Function to get the minimum, maximum, and default values of an overlay adjustment. More...
 
int ADL2_Display_ControllerOverlayAdjustmentData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to retrieve the current setting of an overlay adjustment. More...
 
int ADL2_Display_ControllerOverlayAdjustmentData_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to set the current setting of an overlay adjustment. More...
 
int ADL2_Display_CustomizedMode_Add (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode)
 Function to add a customized mode. More...
 
int ADL2_Display_CustomizedMode_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iIndex)
 Function to delete a customized mode. More...
 
int ADL2_Display_CustomizedMode_Validate (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode, int *lpValid)
 Function to validate a customized mode. More...
 
int ADL2_Display_CustomizedModeList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode *lpCustomModeList, int iBuffSize)
 Function to retrieve the customized mode list. More...
 
int ADL2_Display_CustomizedModeListNum_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpListNum)
 Function to retrieve the number of customized modes. More...
 
int ADL2_Display_DCE_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information. More...
 
int ADL2_Display_DCE_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information. More...
 
int ADL2_Display_DDCBlockAccess_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOption, int iCommandIndex, int iSendMsgLen, char *lpucSendMsgBuf, int *lpulRecvMsgLen, char *lpucRecvMsgBuf)
 Function to get Display DDC block access. More...
 
int ADL2_Display_DDCInfo2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDDCInfo2 *lpInfo)
 Function to get the DDC info. More...
 
int ADL2_Display_DDCInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDDCInfo *lpInfo)
 Function to get the DDC info. More...
 
int ADL2_Display_Deflicker_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display. More...
 
int ADL2_Display_Deflicker_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayindex, int iCurrent)
 Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display. More...
 
int ADL2_Display_DeviceConfig_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig)
 Function to get HDTV capability settings. More...
 
int ADL2_Display_DisplayContent_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *pCapContent)
 This function gets the application availability for display content value and ITC flag. More...
 
int ADL2_Display_DisplayContent_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *piContent)
 This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics) More...
 
int ADL2_Display_DisplayContent_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iContent)
 This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'. More...
 
int ADL2_Display_DisplayInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays, ADLDisplayInfo **lppInfo, int iForceDetect)
 Function to retrieve the adapter display information. More...
 
int ADL2_Display_DitherState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDitherState)
 Function to retrieve the dither state. More...
 
int ADL2_Display_DitherState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iDitherState)
 Function to set the dither state. More...
 
int ADL2_Display_Downscaling_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayID, int *lpCaps)
 Function to get the Down-scaling Caps display information. More...
 
int ADL2_Display_DPDceSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDCESupport *pDPDceSupportInfo)
 the Function to get caps of display DEC support flags This caps of display DCE includes voltage swing and PreEmphasis More...
 
int ADL2_Display_DpMstInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect)
 Function to retrieve the Display Port MST information. More...
 
int ADL2_Display_DummyVirtual_Destroy (ADL_CONTEXT_HANDLE context, int iTargetID)
 
int ADL2_Display_DummyVirtual_Get (ADL_CONTEXT_HANDLE context, int iVirtualDisplayType, int *iTargetID)
 
int ADL2_Display_EdidData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayEDIDData *lpEDIDData)
 Function to get the EDID data. More...
 
int ADL2_Display_FilterSVideo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display. More...
 
int ADL2_Display_FilterSVideo_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display. More...
 
int ADL2_Display_FormatsOverride_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSettingsSupported, int *lpSettingsSupportedEx, int *lpCurSettings)
 Function to retrieve the available display formats. More...
 
int ADL2_Display_FormatsOverride_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to overide the display formats. More...
 
int ADL2_Display_FreeSync_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLFreeSyncCap *lpFreeSyncCaps)
 Function to retrieve per display FreeSync capability information. More...
 
int ADL2_Display_FreeSyncState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMinRefreshRateInMicroHz, int *lpMaxRefreshRateInMicroHz)
 Function to get the current state and capability of the FreeSync feature.
More...
 
int ADL2_Display_FreeSyncState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iSetting, int iRefreshRateInMicroHz)
 Function to set the current state of the FreeSync feature.
More...
 
int ADL2_Display_Gamut_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutInfo *lpCap)
 
int ADL2_Display_Gamut_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutData *lpSource)
 
int ADL2_Display_Gamut_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, const ADLGamutData *lpSource)
 
int ADL2_Display_HDCP_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLHDCPSettings *lpHDCPSettings)
 
int ADL2_Display_HDCP_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iSetToDefault, int iEnable)
 
int ADL2_Display_HDRState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *iSupport, int *iEnable)
 
int ADL2_Display_HDRState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int iEnable)
 
int ADL2_Display_ImageExpansion_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display image expansion setting. More...
 
int ADL2_Display_ImageExpansion_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display image expansion setting. More...
 
int ADL2_Display_Limits_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpMaxHRes, int *lpMaxVRes, int *lpMaxRefresh)
 
int ADL2_Display_ModeTimingOverride_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information. More...
 
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. More...
 
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. More...
 
int ADL2_Display_ModeTimingOverrideInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADL_DL_DISPLAY_MODE *lpModeIn, ADL_DL_DISPLAYMODEINFO *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
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. More...
 
int ADL2_Display_ModeTimingOverrideListX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list. More...
 
int ADL2_Display_ModeTimingOverrideListX3_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfoX2 **lpModeInfoList)
 
int ADL2_Display_ModeTimingOverrideX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL2_Display_ModeTimingOverrideX2_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfoX2 *lpMode, int iForceUpdate)
 
int ADL2_Display_ModeTimingOverrideX3_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfoX2 *lpModeInfoOut)
 
int ADL2_Display_MVPUCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLMVPUCaps *lpMvpuCaps)
 Function to retrieve the information about MultiVPU capabilities. More...
 
int ADL2_Display_MVPUStatus_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLMVPUStatus *lpMvpuStatus)
 Function to retrieve information about MultiVPU status. More...
 
int ADL2_Display_NumberOfDisplays_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays)
 Function to retrieve the number of displays supported by an adapter. More...
 
int ADL2_Display_ODClockConfig_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLAdapterODClockConfig *lpOdClockConfig)
 Function to set the OD clock configuration. More...
 
int ADL2_Display_ODClockInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLAdapterODClockInfo *lpOdClockInfo)
 Function to retrieve the OD clock information. More...
 
int ADL2_Display_Overscan_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefualt, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the current value of gamma for each controller. More...
 
int ADL2_Display_Overscan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of gamma for each controller. More...
 
int ADL2_Display_PixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the current display pixel format. HDMI only. More...
 
int ADL2_Display_PixelFormat_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iPixelFormat)
 Function to set the current display pixel format. HDMI only. More...
 
int ADL2_Display_PixelFormatDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDefPixelFormat)
 Function to retrieve the current display pixel format. HDMI only. More...
 
int ADL2_Display_Position_Get (ADL_CONTEXT_HANDLE context, 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. More...
 
int ADL2_Display_Position_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iX, int iY)
 Function to set the Device Display Position. More...
 
int ADL2_Display_PreferredMode_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpNumModes, ADLMode **lppModes)
 
int ADL2_Display_PreservedAspectRatio_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display perserved aspect ratio of an adapter. More...
 
int ADL2_Display_PreservedAspectRatio_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display preserved aspect ratio. More...
 
int ADL2_Display_Property_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to get the current display property value. More...
 
int ADL2_Display_Property_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to set current display property value. More...
 
int ADL2_Display_ReducedBlanking_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpReducedBlankingCurrent, int *lpReducedBlankingDefault)
 Function to retrieve the reduced blanking setting. More...
 
int ADL2_Display_ReducedBlanking_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iReducedBlanking)
 Function to set the reduced blanking setting. More...
 
int ADL2_Display_Size_Get (ADL_CONTEXT_HANDLE context, 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. More...
 
int ADL2_Display_Size_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iWidth, int iHeight)
 Function to set the Device Display Size. More...
 
int ADL2_Display_SupportedColorDepth_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to retrieve the supported color depth. HDMI and DPonly. More...
 
int ADL2_Display_SupportedPixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the supported pixel format. HDMI only. More...
 
int ADL2_Display_SwitchingCapability_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpResult)
 Function to retrieve the Display Switching Flag from the registry. More...
 
int ADL2_Display_TargetTiming_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve current display mode timing override information. More...
 
int ADL2_Display_TargetTimingX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeInfoX2 *lpModeInfoOut)
 
int ADL2_Display_TVCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpcaps)
 Function to retrieve the TV Caps display information. More...
 
int ADL2_Display_UnderScan_Auto_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display. More...
 
int ADL2_Display_UnderScan_Auto_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display. More...
 
int ADL2_Display_Underscan_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the detailed information for underscan. More...
 
int ADL2_Display_Underscan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of underscan.
More...
 
int ADL2_Display_UnderscanState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault)
 Function to get the value of under scan enabled.
More...
 
int ADL2_Display_UnderscanState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iUnderscanEnabled)
 Function to set the value of under scan enabled.
More...
 
int ADL2_Display_UnderscanSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the value of under scan support.
More...
 
int ADL2_Display_ViewPort_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to check if the selected adapter supports the view port control. More...
 
int ADL2_Display_ViewPort_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to get the view position, view size or view pan lock of a selected display. More...
 
int ADL2_Display_ViewPort_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to change the view position, view size or view pan lock of a selected display. More...
 
int ADL2_Display_VirtualType_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADL_VIRTUALDISPLAY_TYPE *iVirtualType)
 
int ADL2_Display_WriteAndReadI2C (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLI2C *plI2C)
 Function to write and read I2C. More...
 
int ADL2_Display_WriteAndReadI2CLargePayload (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLI2CLargePayload *plI2C)
 
int ADL2_Display_WriteAndReadI2CRev_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpMajor, int *lpMinor)
 Function to retrieve the I2C API revision. More...
 
int ADL2_Display_WriteAndReadSMUI2C (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLI2C *plI2C)
 
int ADL2_TurboSyncSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iTurboSyncSupported)
 
int ADL2_TV_Standard_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpSupportedStandards)
 Function to retrieve the TV standard. More...
 
int ADL2_TV_Standard_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the TV standard. More...
 
int ADL2_User_Settings_Notify (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADL_USER_SETTINGS iSetting, int iChanged)
 
int ADL_Adapter_ModeTimingOverride_Caps (int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support. More...
 
int ADL_Adapter_VariBright_Caps (int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion)
 
int ADL_Adapter_VariBrightEnable_Set (int iAdapterIndex, int iEnabled)
 
int ADL_Adapter_VariBrightLevel_Get (int iAdapterIndex, int *iDefaultLevel, int *iNumberOfLevels, int *iStep, int *iCurrentLevel)
 
int ADL_Adapter_VariBrightLevel_Set (int iAdapterIndex, int iCurrentLevel, int iApplyImmediately)
 
int ADL_CDS_UnsafeMode_Set (int iAdapterIndex, int unsafeMode)
 Function to set the current EDS mode enumeration mode. More...
 
int ADL_CV_DongleSettings_Get (int iAdapterIndex, int iDisplayIndex, int *lpDongleSetting, int *lpOverrideSettingsSupported, int *lpCurOverrideSettings)
 Function to retrieve the settings of the CV dongle. More...
 
int ADL_CV_DongleSettings_Reset (int iAdapterIndex, int iDisplayIndex)
 Function to reset the CV settings to its default settings. More...
 
int ADL_CV_DongleSettings_Set (int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to set the current CV dongle settings. More...
 
int ADL_DFP_AllowOnlyCETimings_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting. More...
 
int ADL_DFP_AllowOnlyCETimings_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting. More...
 
int ADL_DFP_BaseAudioSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support. More...
 
int ADL_DFP_GPUScalingEnable_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting. More...
 
int ADL_DFP_GPUScalingEnable_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting. More...
 
int ADL_DFP_HDMISupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support. More...
 
int ADL_DFP_MVPUAnalogSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support. More...
 
int ADL_DFP_PixelFormat_Caps (int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps. More...
 
int ADL_DFP_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting. More...
 
int ADL_DFP_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting. More...
 
int ADL_Display_AdjustCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpInfo)
 Function to retrieve the adjustment display information. More...
 
int ADL_Display_AdjustmentCoherent_Get (int iAdapterIndex, int iDisplayIndex, int *lpAdjustmentCoherentCurrent, int *lpAdjustmentCoherentDefault)
 Function to retrieve the adjustment coherent setting. More...
 
int ADL_Display_AdjustmentCoherent_Set (int iAdapterIndex, int iDisplayIndex, int iAdjustmentCoherent)
 Function to set the adjustment coherent setting. More...
 
int ADL_Display_Capabilities_Get (int iAdapterIndex, int *lpNumberOfControlers, int *lpNumberOfDisplays)
 Function to get the number of displays and controllers supported by an adapter. More...
 
int ADL_Display_Color_Get (int iAdapterIndex, int iDisplayIndex, int iColorType, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the detailed information a specified display color item. More...
 
int ADL_Display_Color_Set (int iAdapterIndex, int iDisplayIndex, int iColorType, int iCurrent)
 Function to set the current value of a specific color and type.
More...
 
int ADL_Display_ColorCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpCaps, int *lpValids)
 Function to get the Color Caps display information. More...
 
int ADL_Display_ColorDepth_Get (int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to get color depth. HDMI and DPonly. More...
 
int ADL_Display_ColorDepth_Set (int iAdapterIndex, int iDisplayIndex, int iColorDepth)
 Function to set color depth. HDMI and DPonly. More...
 
int ADL_Display_ColorTemperatureSource_Get (int iAdapterIndex, int iDisplayIndex, int *lpTempSource)
 Function to get color temperature source. More...
 
int ADL_Display_ColorTemperatureSource_Set (int iAdapterIndex, int iDisplayIndex, int iTempSource)
 Function to set the color temperature source. More...
 
int ADL_Display_ConnectedDisplays_Get (int iAdapterIndex, int *lpConnections)
 Function to indicate whether displays are physically connected to an adapter. More...
 
int ADL_Display_ControllerOverlayAdjustmentCaps_Get (int iAdapterIndex, ADLControllerOverlayInput *lpOverlayInput, ADLControllerOverlayInfo *lpCapsInfo)
 Function to get the minimum, maximum, and default values of an overlay adjustment. More...
 
int ADL_Display_ControllerOverlayAdjustmentData_Get (int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to retrieve the current setting of an overlay adjustment. More...
 
int ADL_Display_ControllerOverlayAdjustmentData_Set (int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to set the current setting of an overlay adjustment. More...
 
int ADL_Display_CustomizedMode_Add (int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode)
 Function to add a customized mode. More...
 
int ADL_Display_CustomizedMode_Delete (int iAdapterIndex, int iDisplayIndex, int iIndex)
 Function to delete a customized mode. More...
 
int ADL_Display_CustomizedMode_Validate (int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode, int *lpValid)
 Function to validate a customized mode. More...
 
int ADL_Display_CustomizedModeList_Get (int iAdapterIndex, int iDisplayIndex, ADLCustomMode *lpCustomModeList, int iBuffSize)
 Function to retrieve the customized mode list. More...
 
int ADL_Display_CustomizedModeListNum_Get (int iAdapterIndex, int iDisplayIndex, int *lpListNum)
 Function to retrieve the number of customized modes. More...
 
int ADL_Display_DCE_Get (int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information. More...
 
int ADL_Display_DCE_Set (int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information. More...
 
int ADL_Display_DDCBlockAccess_Get (int iAdapterIndex, int iDisplayIndex, int iOption, int iCommandIndex, int iSendMsgLen, char *lpucSendMsgBuf, int *lpulRecvMsgLen, char *lpucRecvMsgBuf)
 Function to get Display DDC block access. More...
 
int ADL_Display_DDCInfo2_Get (int iAdapterIndex, int iDisplayIndex, ADLDDCInfo2 *lpInfo)
 Function to get the DDC info. More...
 
int ADL_Display_DDCInfo_Get (int iAdapterIndex, int iDisplayIndex, ADLDDCInfo *lpInfo)
 Function to get the DDC info. More...
 
int ADL_Display_Deflicker_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display. More...
 
int ADL_Display_Deflicker_Set (int iAdapterIndex, int iDisplayindex, int iCurrent)
 Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display. More...
 
int ADL_Display_DeviceConfig_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig)
 Function to get HDTV capability settings. More...
 
int ADL_Display_DisplayContent_Cap (int iAdapterIndex, int iDisplayIndex, int *pCapContent)
 This function gets the application availability for display content value and ITC flag. More...
 
int ADL_Display_DisplayContent_Get (int iAdapterIndex, int iDisplayIndex, int *piContent)
 This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics) More...
 
int ADL_Display_DisplayContent_Set (int iAdapterIndex, int iDisplayIndex, int iContent)
 This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'. More...
 
int ADL_Display_DisplayInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayInfo **lppInfo, int iForceDetect)
 Function to retrieve the adapter display information. More...
 
int ADL_Display_DitherState_Get (int iAdapterIndex, int iDisplayIndex, int *lpDitherState)
 Function to retrieve the dither state. More...
 
int ADL_Display_DitherState_Set (int iAdapterIndex, int iDisplayIndex, int iDitherState)
 Function to set the dither state. More...
 
int ADL_Display_Downscaling_Caps (int iAdapterIndex, int iDisplayID, int *lpCaps)
 Function to get the Down-scaling Caps display information. More...
 
int ADL_Display_DpMstInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect)
 Function to retrieve the Display Port MST information. More...
 
int ADL_Display_EdidData_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayEDIDData *lpEDIDData)
 Function to get the EDID data. More...
 
int ADL_Display_FilterSVideo_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display. More...
 
int ADL_Display_FilterSVideo_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display. More...
 
int ADL_Display_FormatsOverride_Get (int iAdapterIndex, int iDisplayIndex, int *lpSettingsSupported, int *lpSettingsSupportedEx, int *lpCurSettings)
 Function to retrieve the available display formats. More...
 
int ADL_Display_FormatsOverride_Set (int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to overide the display formats. More...
 
int ADL_Display_FreeSync_Cap (int iAdapterIndex, int iDisplayIndex, ADLFreeSyncCap *lpFreeSyncCaps)
 Function to retrieve per display FreeSync capability information. More...
 
int ADL_Display_FreeSyncState_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMinRefreshRateInMicroHz, int *lpMaxRefreshRateInMicroHz)
 Function to get the current state and capability of the FreeSync feature.
More...
 
int ADL_Display_FreeSyncState_Set (int iAdapterIndex, int iDisplayIndex, int iSetting, int iRefreshRateInMicroHz)
 Function to set the current state of the FreeSync feature.
More...
 
int ADL_Display_Gamut_Caps (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutInfo *lpCap)
 
int ADL_Display_Gamut_Get (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutData *lpSource)
 Function to get the current ADLGamutData setting for the display. This function get the ADLGamutData setting for a specified display. More...
 
int ADL_Display_Gamut_Set (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, const ADLGamutData *lpSource)
 
int ADL_Display_ImageExpansion_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display image expansion setting. More...
 
int ADL_Display_ImageExpansion_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display image expansion setting. More...
 
int ADL_Display_Limits_Get (int iAdapterIndex, int iDisplayIndex, int *lpMaxHRes, int *lpMaxVRes, int *lpMaxRefresh)
 
int ADL_Display_ModeTimingOverride_Delete (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information. More...
 
int ADL_Display_ModeTimingOverride_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL_Display_ModeTimingOverride_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information. More...
 
int ADL_Display_ModeTimingOverrideInfo_Get (int iAdapterIndex, int iDisplayIndex, ADL_DL_DISPLAY_MODE *lpModeIn, ADL_DL_DISPLAYMODEINFO *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL_Display_ModeTimingOverrideList_Get (int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list. More...
 
int ADL_Display_ModeTimingOverrideListX2_Get (int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list. More...
 
int ADL_Display_ModeTimingOverrideX2_Get (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information. More...
 
int ADL_Display_MVPUCaps_Get (int iAdapterIndex, ADLMVPUCaps *lpMvpuCaps)
 Function to retrieve the information about MultiVPU capabilities. More...
 
int ADL_Display_MVPUStatus_Get (int iAdapterIndex, ADLMVPUStatus *lpMvpuStatus)
 Function to retrieve information about MultiVPU status. More...
 
int ADL_Display_NumberOfDisplays_Get (int iAdapterIndex, int *lpNumDisplays)
 Function to retrieve the number of displays supported by an adapter. More...
 
int ADL_Display_ODClockConfig_Set (int iAdapterIndex, ADLAdapterODClockConfig *lpOdClockConfig)
 Function to set the OD clock configuration. More...
 
int ADL_Display_ODClockInfo_Get (int iAdapterIndex, ADLAdapterODClockInfo *lpOdClockInfo)
 Function to retrieve the OD clock information. More...
 
int ADL_Display_Overscan_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefualt, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the current value of gamma for each controller. More...
 
int ADL_Display_Overscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of gamma for each controller. More...
 
int ADL_Display_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the current display pixel format. HDMI only. More...
 
int ADL_Display_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iPixelFormat)
 Function to set the current display pixel format. HDMI only. More...
 
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. More...
 
int ADL_Display_Position_Set (int iAdapterIndex, int iDisplayIndex, int iX, int iY)
 Function to set the Device Display Position. More...
 
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. More...
 
int ADL_Display_PreservedAspectRatio_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display preserved aspect ratio. More...
 
int ADL_Display_Property_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to get the current display property value. More...
 
int ADL_Display_Property_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to set current display property value. More...
 
int ADL_Display_ReducedBlanking_Get (int iAdapterIndex, int iDisplayIndex, int *lpReducedBlankingCurrent, int *lpReducedBlankingDefault)
 Function to retrieve the reduced blanking setting. More...
 
int ADL_Display_ReducedBlanking_Set (int iAdapterIndex, int iDisplayIndex, int iReducedBlanking)
 Function to set the reduced blanking setting. More...
 
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. More...
 
int ADL_Display_Size_Set (int iAdapterIndex, int iDisplayIndex, int iWidth, int iHeight)
 Function to set the Device Display Size. More...
 
int ADL_Display_SupportedColorDepth_Get (int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to retrieve the supported color depth. HDMI and DPonly. More...
 
int ADL_Display_SupportedPixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the supported pixel format. HDMI only. More...
 
int ADL_Display_SwitchingCapability_Get (int iAdapterIndex, int *lpResult)
 
int ADL_Display_TargetTiming_Get (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve current display mode timing override information. More...
 
int ADL_Display_TVCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpcaps)
 Function to retrieve the TV Caps display information. More...
 
int ADL_Display_UnderScan_Auto_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display. More...
 
int ADL_Display_UnderScan_Auto_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display. More...
 
int ADL_Display_Underscan_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the detailed information for underscan. More...
 
int ADL_Display_Underscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of underscan.
More...
 
int ADL_Display_ViewPort_Cap (int iAdapterIndex, int *lpSupported)
 Function to check if the selected adapter supports the view port control. More...
 
int ADL_Display_ViewPort_Get (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to get the view position, view size or view pan lock of a selected display. More...
 
int ADL_Display_ViewPort_Set (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to change the view position, view size or view pan lock of a selected display. More...
 
int ADL_Display_WriteAndReadI2C (int iAdapterIndex, ADLI2C *plI2C)
 Function to write and read I2C. More...
 
int ADL_Display_WriteAndReadI2CLargePayload (int iAdapterIndex, ADLI2CLargePayload *plI2C)
 
int ADL_Display_WriteAndReadI2CRev_Get (int iAdapterIndex, int *lpMajor, int *lpMinor)
 Function to retrieve the I2C API revision. More...
 
int ADL_Display_WriteAndReadSMUI2C (int iAdapterIndex, ADLI2C *plI2C)
 Function to write and read I2C via SMU. More...
 
int ADL_TV_Standard_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpSupportedStandards)
 Function to retrieve the TV standard. More...
 
int ADL_TV_Standard_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the TV standard. More...
 

Detailed Description

Copyright (c) 2008 - 2022 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.

Contains all Display functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms

This file contains all display-related functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms. All functions in this file can be used as a reference to ensure the appropriate function pointers can be used by the appropriate runtime dynamic library loaders.

Macro Definition Documentation

◆ ADL_EXTERNC

#define ADL_EXTERNC

Function Documentation

◆ ADL2_CDS_UnsafeMode_Set()

int ADL2_CDS_UnsafeMode_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  unsafeMode 
)

Function to set the current EDS mode enumeration mode.

This function sets the current EDS mode enumeration mode: Safe or Unsafe(raw modes).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]unsafeModeThe EDS mode enumeration mode to set (0: Safe mode, 1: Unsafe mode).
Returns
Succeed: ADL_OK. Otherwise: ADL error code Result Codes

◆ ADL2_Display_DCE_Get()

int ADL2_Display_DCE_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function retrieves the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpADLDceSettingsThe pointer to the ADLDceSettings structure
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.

◆ ADL2_Display_DCE_Set()

int ADL2_Display_DCE_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function sets the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpADLDceSettingsThe pointer to the ADLDceSettings structure
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.

◆ ADL2_Display_Deflicker_Get()

int ADL2_Display_Deflicker_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current Deflicker setting
[out]lpDefaultThe default Deflicker setting
[out]lpMinThe current Deflicker setting
[out]lpMaxThe default Deflicker setting
[out]lpStepThe current Deflicker setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_Deflicker_Set()

int ADL2_Display_Deflicker_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayindex,
int  iCurrent 
)

Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new Deflicker setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_DisplayContent_Cap()

int ADL2_Display_DisplayContent_Cap ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  pCapContent 
)

This function gets the application availability for display content value and ITC flag.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]pCapContentThe current cap setting(if display content and ITC data are retrievable); where pCapContent returns the bitOR value of all supported ADLDisplayContent.iContentType (i.e. according to definitions of ADLDisplayContent.iContentType, if all content is supported it is expected that pCapContent will return with a value of, Graphics | Photo | Cinema |Game = 15)
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_DisplayContent_Get()

int ADL2_Display_DisplayContent_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  piContent 
)

This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics)

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]piContentThe current display content setting; where piContent is one of ADLDisplayContent.iContentType
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_DisplayContent_Set()

int ADL2_Display_DisplayContent_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iContent 
)

This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iContentThe display content desired to be set; where iContent is one of ADLDisplayContent.iContentType
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_Downscaling_Caps()

int ADL2_Display_Downscaling_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayID,
int *  lpCaps 
)

Function to get the Down-scaling Caps display information.

This function retrieves the Down-scaling Caps information for a specified adapter and display.

Supported Platforms:
\Win7 and above
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIDThe desired display ID. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCapsThe pointer to the Down-scaling Caps information retrieved from the driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL2_Display_DPDceSupport_Get()

int ADL2_Display_DPDceSupport_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDCESupport pDPDceSupportInfo 
)

the Function to get caps of display DEC support flags This caps of display DCE includes voltage swing and PreEmphasis

Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]pDPDceSupportInfoSupport info, bitmap,voltage swing and PreEmphasis support or not. 1 is support,0 is not support.
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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

◆ ADL2_Display_FilterSVideo_Get()

int ADL2_Display_FilterSVideo_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current FilterSVideo setting
[out]lpDefaultThe default FilterSVideo setting
[out]lpMinThe current FilterSVideo setting
[out]lpMaxThe default FilterSVideo setting
[out]lpStepThe current FilterSVideo setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_FilterSVideo_Set()

int ADL2_Display_FilterSVideo_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new FilterSVideo setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_FreeSync_Cap()

int ADL2_Display_FreeSync_Cap ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLFreeSyncCap lpFreeSyncCaps 
)

Function to retrieve per display FreeSync capability information.

This function retrieves the FreeSync capabilities of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpFreeSyncCapsThe pointer to the ADLFreeSyncCap structure storing the retrieved FreeSync capabilities for the requested display index.
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.

◆ ADL2_Display_FreeSyncState_Get()

int ADL2_Display_FreeSyncState_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMinRefreshRateInMicroHz,
int *  lpMaxRefreshRateInMicroHz 
)

Function to get the current state and capability of the FreeSync feature.

This function gets the current and default FreeSync settings for a specified display along with the supported FreeSync refresh rate range.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCurrentThe pointer to the FreeSync setting currently applied. It is a bit vector. Define_freesync_usecase
[out]lpDefaultThe pointer to the default FreeSync setting. It is a bit vector. Define_freesync_usecase
[out]lpMinRefreshRateInMicroHzThe pointer to the minimum refresh rate in the range supported by FreeSync in microhertz.
[out]lpMaxRefreshRateInMicroHzThe pointer to the maximum refresh rate in the range supported by FreeSync in microhertz.
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
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.

◆ ADL2_Display_FreeSyncState_Set()

int ADL2_Display_FreeSyncState_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iSetting,
int  iRefreshRateInMicroHz 
)

Function to set the current state of the FreeSync feature.

This function sets the FreeSync feature enable state for a specified display. There is a second input parameter that may be used to request a specific refresh rate to be applied.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iSettingThe desired FreeSync setting to be applied for the specified display. Define_freesync_usecase
[in]iRefreshRateInMicroHzIf non-zero value is specified, this indicates a request to set a specific refresh rate in microhertz. Otherwise, driver default will decide FreeSync refresh rate dynamically.
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.

◆ ADL2_Display_TargetTiming_Get()

int ADL2_Display_TargetTiming_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve current display mode timing override information.

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

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpModeInfoOutThe 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.

◆ ADL2_Display_TargetTimingX2_Get()

int ADL2_Display_TargetTimingX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeInfoX2 lpModeInfoOut 
)
Function to retrieve current display mode timing override information.

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

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpModeInfoOutThe 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.

◆ ADL2_Display_UnderScan_Auto_Get()

int ADL2_Display_UnderScan_Auto_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current underscan auto setting
[out]lpDefaultThe default underscan auto setting
[out]lpMinThe current underscan auto setting
[out]lpMaxThe default underscan auto setting
[out]lpStepThe current underscan auto setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_Display_UnderScan_Auto_Set()

int ADL2_Display_UnderScan_Auto_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new underscan auto setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL2_TurboSyncSupport_Get()

int ADL2_TurboSyncSupport_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  iTurboSyncSupported 
)
Checks if given GPU (identified by adapter id) supports Turbo Sync functionality or not

Checks if given GPU (identified by adapter id) supports Turbo Sync functionality or not

Supported Platforms:
Windows 7, 10 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.
[out]

◆ ADL2_User_Settings_Notify()

int ADL2_User_Settings_Notify ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADL_USER_SETTINGS  iSetting,
int  iChanged 
)
Function to notify KMD that user settings have changed. This function is called from client to communicate DX via KMD that user settings(TurboSync aka Enhanced Sync) have changed
Supported Platforms:
Windows 7, 10 and above; 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe index of the desired adapter.
[in]iSettinguser blob features. ADL_USER_SETTINGS
[in]iChangedADL_TRUE ADL_FALSE
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

◆ ADL_CDS_UnsafeMode_Set()

int ADL_CDS_UnsafeMode_Set ( int  iAdapterIndex,
int  unsafeMode 
)

Function to set the current EDS mode enumeration mode.

This function sets the current EDS mode enumeration mode: Safe or Unsafe(raw modes).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]unsafeModeThe EDS mode enumeration mode to set (0: Safe mode, 1: Unsafe mode).
Returns
Succeed: ADL_OK. Otherwise: ADL error code Result Codes

◆ ADL_Display_DCE_Get()

int ADL_Display_DCE_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function retrieves the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpFreeSyncCapsThe pointer to the ADLDceSettings structure
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_DCE_Set()

int ADL_Display_DCE_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function sets the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpADLDceSettingsThe pointer to the ADLDceSettings structure
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_Deflicker_Get()

int ADL_Display_Deflicker_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current Deflicker setting
[out]lpDefaultThe default Deflicker setting
[out]lpMinThe current Deflicker setting
[out]lpMaxThe default Deflicker setting
[out]lpStepThe current Deflicker setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

◆ ADL_Display_Deflicker_Set()

int ADL_Display_Deflicker_Set ( int  iAdapterIndex,
int  iDisplayindex,
int  iCurrent 
)

Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new Deflicker setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_Display_DisplayContent_Cap()

int ADL_Display_DisplayContent_Cap ( int  iAdapterIndex,
int  iDisplayIndex,
int *  pCapContent 
)

This function gets the application availability for display content value and ITC flag.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]pCapContentThe current cap setting(if display content and ITC data are retrievable); where pCapContent returns the bitOR value of all supported ADLDisplayContent.iContentType (i.e. according to definitions of ADLDisplayContent.iContentType, if all content is supported it is expected that pCapContent will return with a value of, Graphics | Photo | Cinema |Game = 15)
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_Display_DisplayContent_Get()

int ADL_Display_DisplayContent_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  piContent 
)

This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics)

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]piContentThe current display content setting; where piContent is one of ADLDisplayContent.iContentType
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

◆ ADL_Display_DisplayContent_Set()

int ADL_Display_DisplayContent_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iContent 
)

This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iContentThe display content desired to be set; where iContent is one of ADLDisplayContent.iContentType
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_Display_Downscaling_Caps()

int ADL_Display_Downscaling_Caps ( int  iAdapterIndex,
int  iDisplayID,
int *  lpCaps 
)

Function to get the Down-scaling Caps display information.

This function retrieves the Down-scaling Caps information for a specified adapter and display.

Supported Platforms:
\Win7 and above
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIDThe desired display ID. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCapsThe pointer to the Down-scaling Caps information retrieved from the driver.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_FilterSVideo_Get()

int ADL_Display_FilterSVideo_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current FilterSVideo setting
[out]lpDefaultThe default FilterSVideo setting
[out]lpMinThe current FilterSVideo setting
[out]lpMaxThe default FilterSVideo setting
[out]lpStepThe current FilterSVideo setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

◆ ADL_Display_FilterSVideo_Set()

int ADL_Display_FilterSVideo_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new FilterSVideo setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_Display_FreeSync_Cap()

int ADL_Display_FreeSync_Cap ( int  iAdapterIndex,
int  iDisplayIndex,
ADLFreeSyncCap lpFreeSyncCaps 
)

Function to retrieve per display FreeSync capability information.

This function retrieves the FreeSync capabilities of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpFreeSyncCapsThe pointer to the ADLFreeSyncCap structure storing the retrieved FreeSync capabilities for the requested display index.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_Display_FreeSyncState_Get()

int ADL_Display_FreeSyncState_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMinRefreshRateInMicroHz,
int *  lpMaxRefreshRateInMicroHz 
)

Function to get the current state and capability of the FreeSync feature.

This function gets the current and default FreeSync settings for a specified display along with the supported FreeSync refresh rate range.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCurrentThe pointer to the FreeSync setting currently applied. It is a bit vector. Define_freesync_usecase
[out]lpDefaultThe pointer to the default FreeSync setting. It is a bit vector. Define_freesync_usecase
[out]lpMinRefreshRateInMicroHzThe pointer to the minimum refresh rate in the range supported by FreeSync in microhertz.
[out]lpMaxRefreshRateInMicroHzThe pointer to the maximum refresh rate in the range supported by FreeSync in microhertz.
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
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.

◆ ADL_Display_FreeSyncState_Set()

int ADL_Display_FreeSyncState_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iSetting,
int  iRefreshRateInMicroHz 
)

Function to set the current state of the FreeSync feature.

This function sets the FreeSync feature enable state for a specified display. There is a second input parameter that may be used to request a specific refresh rate to be applied.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iSettingThe desired FreeSync setting to be applied for the specified display. Define_freesync_usecase
[in]iRefreshRateInMicroHzIf non-zero value is specified, this indicates a request to set a specific refresh rate in microhertz. Otherwise, driver default will decide FreeSync refresh rate dynamically.
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.

◆ ADL_Display_TargetTiming_Get()

int ADL_Display_TargetTiming_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve current display mode timing override information.

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

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]displayIDThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpModeInfoOutThe 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

◆ ADL_Display_UnderScan_Auto_Get()

int ADL_Display_UnderScan_Auto_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[out]lpCurrentThe current underscan auto setting
[out]lpDefaultThe default underscan auto setting
[out]lpMinThe current underscan auto setting
[out]lpMaxThe default underscan auto setting
[out]lpStepThe current underscan auto setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

◆ ADL_Display_UnderScan_Auto_Set()

int ADL_Display_UnderScan_Auto_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe index of the desired adapter.
[in]iDisplayIndexThe index of the desired display.
[in]iCurrentThe new underscan auto setting
Returns
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

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