ADL (AMD Display Library) Public APIs
Version 17.1
|
This group outlines all display related APIs. More...
Modules | |
Color related APIs | |
This group describes the Color related APIs. | |
Component Video APIs | |
This group outlines all component video related APIs. | |
Customized Modes APIs | |
This group describes the APIs related to Customized modes. | |
Digital Flat Panel APIs | |
This group outlines all digital flat panel related APIs. | |
Eyefinity APIs | |
This group outlines the Eyefinity related APIs. | |
I2C, DDC and EDID APIs | |
This group outlines I2C, DDC and EDID related APIs. | |
Overlay APIs | |
This group outlines all Overlay related APIs. | |
Overscan/Underscan APIs | |
This group outlines Overscan and Underscan related APIs. | |
PowerXpress APIs | |
This group outlines PowerXpress Related APIs. | |
TV APIs | |
This group outlines all television related APIs. | |
Timing Override APIs | |
This group describes the Timing Overide related APIs. | |
ViewPort APIs | |
This group outlines ViewPort Related APIs. | |
Functions | |
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_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_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_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_DeviceConfig_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig) |
Function to get HDTV capability settings. 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_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_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_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_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_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_VirtualType_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADL_VIRTUALDISPLAY_TYPE *iVirtualType) |
int | ADL2_Display_WriteAndReadI2CLargePayload (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLI2CLargePayload *plI2C) |
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_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_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_ConnectedDisplays_Get (int iAdapterIndex, int *lpConnections) |
Function to indicate whether displays are physically connected to an adapter. More... | |
int | ADL_Display_DeviceConfig_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig) |
Function to get HDTV capability settings. 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_DpMstInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect) |
Function to retrieve the Display Port MST information. 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_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_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_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_WriteAndReadI2CLargePayload (int iAdapterIndex, ADLI2CLargePayload *plI2C) |
This group outlines all display related APIs.
int ADL2_Adapter_VariBright_Caps | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | iSupported, | ||
int * | iEnabled, | ||
int * | iVersion | ||
) |
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iSupported | The pointer to an int variable which indicates if VariBright is supported ( ADL_TRUE : supported, ADL_FALSE : not supported) |
[in] | iEnabled | The pointer to an int variable which indicates if VariBright is enabled ( ADL_TRUE : enabled, ADL_FALSE : disabled) |
[in] | iEnabled | The pointer to an int variable receiving the VariBright version. |
int ADL2_Adapter_VariBrightEnable_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iEnabled | ||
) |
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iEnabled | ADL_TRUE : enables VariBright, ADL_FALSE : disables VariBright. |
int ADL2_Adapter_VariBrightLevel_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | iDefaultLevel, | ||
int * | iNumberOfLevels, | ||
int * | iStep, | ||
int * | iCurrentLevel | ||
) |
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iDefaultLevel | The pointer to an int variable with the default VariBright level. |
[in] | iNumberOfLevels | The pointer to an int variable receiving the number of VariBright levels (the Maximum value for VariBright level). |
[in] | iStep | The pointer to an int variable receiving the VariBright step. Determines the increments of the VariBright transition from one level to another. |
[in] | iCurrentLevel | The pointer to an int variable receiving the Current VariBright level. |
int ADL2_Adapter_VariBrightLevel_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iCurrentLevel, | ||
int | iApplyImmediately | ||
) |
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iCurrentLevel | The VariBright level to be set. The range is from zero to iNumberOfLevels returned from ADL_Adapter_VariBrightLevel_Get() |
[in] | iApplyImmediately | If set to ADL_TRUE the VariBright level is applied immediately. If ADL_FALSE - the level is applied gradually. |
int ADL2_Display_AdjustCaps_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpInfo | ||
) |
Function to retrieve the adjustment display information.
This function retrieves the display adjustment information for a specified adapter and display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpInfo | The pointer to the adjustment information retrieved from the driver. Display Adjustment Capabilities |
int ADL2_Display_AdjustmentCoherent_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpAdjustmentCoherentCurrent, | ||
int * | lpAdjustmentCoherentDefault | ||
) |
Function to retrieve the adjustment coherent setting.
This function retrieves the current adjustment coherent setting
It is applicable to DFP/DFP2 display types.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpAdjustmentCoherentCurrent | The pointer to the retrieved adjustment coherent setting. 1: Coherent; 0: non-coherent |
[out] | lpAdjustmentCoherentDefault | The pointer to the retrieved default setting. 1: Coherent; 0: Non-coherent |
int ADL2_Display_AdjustmentCoherent_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iAdjustmentCoherent | ||
) |
Function to set the adjustment coherent setting.
This function sets the current adjustment coherent setting to a specified setting.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iAdjustmentCoherent | The desired adjustment coherent setting. 1: Coherent; 0: Non-coherent |
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.
This function retrieves the number of displays and controllers that are supported by a specified adapter.
[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] | lpNumberOfControlers | The pointer to the variable storing the total number of controllers. This variable must be initialized. |
[out] | lpNumberOfDisplays | The pointer to the variable storing the total number of displays. This variable must be initialized. |
int ADL2_Display_ColorDepth_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpColorDepth | ||
) |
Function to get color depth. HDMI and DPonly.
This function retrieves the current display on given adpater's current color depth.
[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 per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpColorDepth | The pointer to the current color depth setting for given display. Define_colordepth_constants |
int ADL2_Display_ColorDepth_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iColorDepth | ||
) |
Function to set color depth. HDMI and DPonly.
This function sets a user select color depth to current display on given adapter.
[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 per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iColorDepth | Requested color depth. Define_colordepth_constants |
int ADL2_Display_ColorDepthDefault_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpColorDepthDefault | ||
) |
This function retrieves the current display on given adpater's default color depth.
[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 per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpColorDepthDefault | The pointer to the default color depth setting for given display. Define_colordepth_constants |
int ADL2_Display_ConnectedDisplays_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpConnections | ||
) |
Function to indicate whether displays are physically connected to an adapter.
This function indicates whether displays are physically connected to a specified adapter.
[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] | lpConnections | The pointer to the bit field indicating whether the output connectors on the specified adapter have devices physically attached to them. |
int ADL2_Display_DeviceConfig_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
ADLDisplayConfig * | lpDisplayConfig | ||
) |
Function to get HDTV capability settings.
This function retrieves HDTV capability settings for a specified display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDisplayConfig | The pointer to the retrieved display configuration. |
int ADL2_Display_DisplayInfo_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpNumDisplays, | ||
ADLDisplayInfo ** | lppInfo, | ||
int | iForceDetect | ||
) |
Function to retrieve the adapter display information.
This function retrieves display information for a specified adapter. Display information includes display index, name, type, and display connection status, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppInfo. Caller is responsible to de-alocate the memory.
[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] | lpNumDisplays | The pointer to the number of displays detected. |
[out] | lppInfo | The pointer to the pointer to the retrieved display information array. Initialize to NULL before calling this API. Refer to the ADLDisplayInfo structure for more information. |
[in] | iForceDetect | 0: Do not force detection of the adapters in the system; 1 : Force detection |
int ADL2_Display_DitherState_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpDitherState | ||
) |
Function to retrieve the dither state.
This function retrieves the dither state for a specified display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDitherState | The pointer to the value storing the retrieved dither state. See Dithering options |
int ADL2_Display_DitherState_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iDitherState | ||
) |
Function to set the dither state.
This function sets the dither state.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iDitherState | The desired dither state. For the list of valid states see Dithering options |
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.
This function retrieves display port MST information for a specified adapter. Display port MST information includes display indexes, names, bandwidth, identifiers, relative address and display connection, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppDisplayDPMstInfo. Caller is responsible to de-alocate the memory.
[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. A value of -1 returns all displays in the system across multiple GPUs. |
[out] | lpNumDisplays | The pointer to the number of displays detected. |
[out] | lppDisplayDPMstInfo | The pointer to the list of the retrieved display port MST information array. Initialize to NULL before calling this API. Refer to the ADLDisplayDPMSTInfo structure for more information. |
[in] | iForceDetect | ADL_FALSE: Do not force detection of the adapters in the system; ADL_TRUE: Force detection |
int ADL2_Display_DummyVirtual_Destroy | ( | ADL_CONTEXT_HANDLE | context, |
int | iTargetID | ||
) |
This function scans to all the adapters and tries to destroy the dummy virtual monitor in each. The driver only allows this type of monitor on one of the GPUs and it is its responsibility to make sure the call succeeds as expected. This is part of a temporary implementation for supporting a virtual xInput device hacked in software until we have a driver for such a device.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iTargetID | The display ID of the dummy virtual display. |
int ADL2_Display_DummyVirtual_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iVirtualDisplayType, | ||
int * | iTargetID | ||
) |
This function scans to all the adapters and tries to find or enable a dummy virtual monitor. The driver only allows this type of monitor on one of the GPUs and it is its responsibility to make sure the call succeeds as expected. This is part of a temporary implementation for supporting a virtual xInput device hacked in software until we have a driver for such a device.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iVirtualDisplayType | The type of virtual display. |
[out] | iTargetID | The display ID of the dummy virtual display. |
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.
This call retrieves the available display formats
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSettingsSupported | The pointer to the supported settings. Formats Override Settings |
[out] | lpSettingsSupportedEx | The pointer to the extended supported settings. Formats Override Settings |
[out] | lpCurSettings | The pointer to the current override settings Formats Override Settings |
int ADL2_Display_FormatsOverride_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iOverrideSettings | ||
) |
Function to overide the display formats.
This call overrides the display formats
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iOverrideSettings | The new format settings Formats Override Settings |
int ADL2_Display_HDCP_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
ADLHDCPSettings * | lpHDCPSettings | ||
) |
This function retrieves the HDCP settings of a display.
[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. |
[in] | iDisplayIndex | The desired display index. |
[out] | lpHDCPSettings | The pointer to the ADLHDCPSettings structure |
int ADL2_Display_HDCP_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iSetToDefault, | ||
int | iEnable | ||
) |
This function sets the HDCP settings of a display. Will require reboot to have settings changed. This reboot does not need to be immediate.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. |
[in] | iSetToDefault | iSetToDefault ==1, set to default value and ignore iEnable value. |
[in] | iEnable | If iSetToDefault ==0 use iEnable. |
int ADL2_Display_HDRState_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDisplayID | displayID, | ||
int * | iSupport, | ||
int * | iEnable | ||
) |
This function retrieves whether a display is HDR supported and Enabled
[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. |
[in] | displayID | The desired display ID. |
[out] | iSupport | The pointer to the int whose value is set to true if the display supports HDR |
[out] | iEnable | The pointer to the int whose value is set to true if the display HDR is enabled |
int ADL2_Display_HDRState_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDisplayID | displayID, | ||
int | iEnable | ||
) |
This function sets HDR state to display
[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. |
[in] | displayID | The desired display ID. |
[in] | iEnable | enable HDR state of Display |
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.
This function retrieves the current, default, and the feature supported values of the image expansion setting.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSupport | The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported. |
[out] | lpCurrent | The pointer to the current setting of display image expansion. Its alternative value is 1 or 0. |
[out] | lpDefault | The pointer to the default setting of display image expansion. Its alternative value is 1 or 0. |
int ADL2_Display_ImageExpansion_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iCurrent | ||
) |
Function to set the display image expansion setting.
This function sets the current value of display image expansion setting.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iCurrent | The desired setting of display image expansion. Possible values are 1 or 0. |
int ADL2_Display_Limits_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpMaxHRes, | ||
int * | lpMaxVRes, | ||
int * | lpMaxRefresh | ||
) |
This function retrieves the maximum horizontal and vertical resolution as well as the maximum refresh rate for a specified display and adapter.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The ADL index handle of the graphics adapter corresponding to the desired display. |
[in] | iDisplayIndex | The ADL index handle of the desired display. |
[out] | lpMaxHRes | The pointer to the maximum horizontal resolution for the specified display. |
[out] | lpMaxVRes | The pointer to the maximum vertical resolution for the specified display. |
[out] | lpMaxRefresh | The pointer to the maximum refresh rate for the specfied display. |
int ADL2_Display_MVPUCaps_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLMVPUCaps * | lpMvpuCaps | ||
) |
Function to retrieve the information about MultiVPU capabilities.
This function retrieves the information about MultiVPU capabilities.
[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. |
[in,out] | lpMvpuCaps | The structure storing the retrieved information about MultiVPU capabilities. |
int ADL2_Display_MVPUStatus_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLMVPUStatus * | lpMvpuStatus | ||
) |
Function to retrieve information about MultiVPU status.
This function retrieves information about MultiVPU status.
[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. |
[in,out] | lpMvpuStatus | The structure storing the retrieved information about MultiVPU status. |
int ADL2_Display_NumberOfDisplays_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpNumDisplays | ||
) |
Function to retrieve the number of displays supported by an adapter.
This function retrieves the number of displays that is supported by a specified adapter. Supported displays include devices that are connected and disconnected together with those enabled and disabled devices.
[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] | lpNumDisplays | The pointer to the number of displays supported by the adapter. |
int ADL2_Display_ODClockConfig_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLAdapterODClockConfig * | lpOdClockConfig | ||
) |
Function to set the OD clock configuration.
This function sets the OD clock configuration.
[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. |
[in] | lpOdClockConfig | The pointer to the structure used to set the OD clock configuration. |
int ADL2_Display_ODClockInfo_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLAdapterODClockInfo * | lpOdClockInfo | ||
) |
Function to retrieve the OD clock information.
This function retrieves the OD clock information.
[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] | lpOdClockInfo | The pointer to the structure storing the retrieved clock information. |
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.
This function retrieves the current display pixel format.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpPixelFormat | The pointer to the pixel format. Pixel Formats values |
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.
This function sets the current display pixel format.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iPixelFormat | The desired pixel format. Pixel Formats values |
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.
This function retrieves the current display pixel format.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDefPixelFormat | The pointer to the default pixel format. Pixel Formats values |
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.
This function retrieves the display position parameters for a specified adapter and display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpX | The pointer to the current X coordinate display position. |
[out] | lpY | The pointer to the current Y coordinate display position. |
[out] | lpXDefault | The pointer to the default X coordinate display position. |
[out] | lpYDefault | The pointer to the default Y coordinate display position. |
[out] | lpMinX | The pointer to the minimum X display size. |
[out] | lpMinY | The pointer to the minimum Y display size. |
[out] | lpMaxX | The pointer to the maximum X display size. |
[out] | lpMaxY | The pointer to the maximum Y display size. |
[out] | lpStepX | The pointer to the step size along the X axis. |
[out] | lpStepY | The pointer to the step size along the Y axis. |
int ADL2_Display_Position_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iX, | ||
int | iY | ||
) |
Function to set the Device Display Position.
This function sets the display X and Y position values for a specified adapter and display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iX | The desired X coordinate position. |
[in] | iY | The desired Y coordinate position. |
int ADL2_Display_PreferredMode_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpNumModes, | ||
ADLMode ** | lppModes | ||
) |
This function retrieves the preferred display mode information.
[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. A value of -1 retrieves all modes for the system across multiple GPUs. |
[in] | iDisplayIndex | The desired display index. If the index is -1, this field is ignored. |
[out] | lpNumModes | The pointer to the number of modes retrieved. |
[out] | lppModes | The pointer to the pointer to the retrieved preffered display modes. Refer to the Display ADLMode structure for more information. |
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.
This function retrieves the current, default, and the feature supported values of the display preserved aspect ratio.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSupport | The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported. |
[out] | lpCurrent | The pointer to the current setting of display preserved aspect ratio. Its alternative value is 1 or 0. |
[out] | lpDefault | The pointer to the default setting of display preserved aspect ratio. Its alternative value is 1 or 0. |
int ADL2_Display_PreservedAspectRatio_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iCurrent | ||
) |
Function to set the display preserved aspect ratio.
This function sets the current value of display preserved aspect ratio.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iCurrent | The desired display preserved aspect ratio setting. Possible values are 1 or 0. |
int ADL2_Display_Property_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
ADLDisplayProperty * | lpDisplayProperty | ||
) |
Function to get the current display property value.
This function retrieves the current display property value for a specified display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDisplayProperty | The pointer to the ADLDisplayProperty structure storing the retrieved display property value. lpDisplayProperty->iExpansionMode contains the Expansion Mode value. |
int ADL2_Display_Property_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
ADLDisplayProperty * | lpDisplayProperty | ||
) |
Function to set current display property value.
This function sets current display property value for a specified display.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | lpDisplayProperty | The pointer to the desired ADLDisplayProperty structure. Set lpDisplayProperty->iExpansionMode with an Expansion Mode value. |
int ADL2_Display_ReducedBlanking_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpReducedBlankingCurrent, | ||
int * | lpReducedBlankingDefault | ||
) |
Function to retrieve the reduced blanking setting.
This function retrieves the current reduced blanking setting.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpReducedBlankingCurrent | The pointer to the current reduced blanking setting. |
[out] | lpReducedBlankingDefault | The pointer to the retrieved default setting. |
int ADL2_Display_ReducedBlanking_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iReducedBlanking | ||
) |
Function to set the reduced blanking setting.
This function sets the current reduced blanking setting to a specified setting.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iReducedBlanking | The desired reduced blanking setting. |
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.
This function retrieves the display position 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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpWidth | The pointer to the current display width. |
[out] | lpHeight | The pointer to the current display height. |
[out] | lpDefaultWidth | The pointer to the default display width. |
[out] | lpDefaultHeight | The pointer to the default display height. |
[out] | lpMinWidth | The pointer to the minimum display width. |
[out] | lpMinHeight | The pointer to the minimum display height. |
[out] | lpMaxWidth | The pointer to the maximum display width. |
[out] | lpMaxHeight | The pointer to the maximum display height. |
[out] | lpStepWidth | The pointer to the step width. |
[out] | lpStepHeight | The pointer to the step height. |
int ADL2_Display_Size_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int | iWidth, | ||
int | iHeight | ||
) |
Function to set the Device Display Size.
This function sets the display width and height values.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iWidth | The desired width of the display. |
[in] | iHeight | The desired height of the display. |
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.
This function retrieves the current display on given adpater's supported color depths –When supported Color depth is one format only, no need expose the User interface.
[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 per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpColorDepth | The pointer to the bit vector of all display supported color depths. define_color_depth_bits |
int ADL2_Display_SupportedPixelFormat_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
int * | lpPixelFormat | ||
) |
Function to retrieve the supported pixel format. HDMI only.
This function retrieves the supported pixel format.
[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. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpPixelFormat | The pointer to the supported pixel format. Pixel Formats values |
int ADL2_Display_SwitchingCapability_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpResult | ||
) |
Function to retrieve the Display Switching Flag from the registry.
This function retrieves the Display Switching Flag from the registery for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpResult | The pointer to value storing the retrieved flag. 1: Driver will not accept display switching request; 0: User can request display switching. |
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
int ADL2_Display_VirtualType_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int | iDisplayIndex, | ||
ADL_VIRTUALDISPLAY_TYPE * | iVirtualType | ||
) |
This function retrieves the type of virtual display for the given display.
[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. |
[in] | iDisplayIndex | The desired display index. |
[out] | iVirtualType | The pointer to ADL_VIRTUALDISPLAY_TYPE telling virtual display type. See ADL_VIRTUALDISPLAY_TYPE |
int ADL2_Display_WriteAndReadI2CLargePayload | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLI2CLargePayload * | plI2C | ||
) |
This function writes and reads I2C.
[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. |
[in,out] | plI2C | A pointer to the ADLI2CLargePayload structure. |
int ADL_Adapter_VariBright_Caps | ( | int | iAdapterIndex, |
int * | iSupported, | ||
int * | iEnabled, | ||
int * | iVersion | ||
) |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iSupported | The pointer to an int variable which indicates if VariBright is supported ( ADL_TRUE : supported, ADL_FALSE : not supported) |
[in] | iEnabled | The pointer to an int variable which indicates if VariBright is enabled ( ADL_TRUE : enabled, ADL_FALSE : disabled) |
[in] | iEnabled | The pointer to an int variable receiving the VariBright version. |
int ADL_Adapter_VariBrightEnable_Set | ( | int | iAdapterIndex, |
int | iEnabled | ||
) |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iEnabled | ADL_TRUE : enables VariBright, ADL_FALSE : disables VariBright. |
int ADL_Adapter_VariBrightLevel_Get | ( | int | iAdapterIndex, |
int * | iDefaultLevel, | ||
int * | iNumberOfLevels, | ||
int * | iStep, | ||
int * | iCurrentLevel | ||
) |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iDefaultLevel | The pointer to an int variable with the default VariBright level. |
[in] | iNumberOfLevels | The pointer to an int variable receiving the number of VariBright levels (the Maximum value for VariBright level). |
[in] | iStep | The pointer to an int variable receiving the VariBright step. Determines the increments of the VariBright transition from one level to another. |
[in] | iCurrentLevel | The pointer to an int variable receiving the Current VariBright level. |
int ADL_Adapter_VariBrightLevel_Set | ( | int | iAdapterIndex, |
int | iCurrentLevel, | ||
int | iApplyImmediately | ||
) |
[in] | iAdapterIndex | The index of the desired adapter. |
[in] | iCurrentLevel | The VariBright level to be set. The range is from zero to iNumberOfLevels returned from ADL_Adapter_VariBrightLevel_Get() |
[in] | iApplyImmediately | If set to ADL_TRUE the VariBright level is applied immediately. If ADL_FALSE - the level is applied gradually. |
int ADL_Display_AdjustCaps_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpInfo | ||
) |
Function to retrieve the adjustment display information.
This function retrieves the display adjustment information for a specified adapter and display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpInfo | The pointer to the adjustment information retrieved from the driver. Display Adjustment Capabilities |
int ADL_Display_AdjustmentCoherent_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpAdjustmentCoherentCurrent, | ||
int * | lpAdjustmentCoherentDefault | ||
) |
Function to retrieve the adjustment coherent setting.
This function retrieves the current adjustment coherent setting
It is applicable to DFP/DFP2 display types.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpAdjustmentCoherentCurrent | The pointer to the retrieved adjustment coherent setting. 1: Coherent; 0: non-coherent |
[out] | lpAdjustmentCoherentDefault | The pointer to the retrieved default setting. 1: Coherent; 0: Non-coherent |
int ADL_Display_AdjustmentCoherent_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iAdjustmentCoherent | ||
) |
Function to set the adjustment coherent setting.
This function sets the current adjustment coherent setting to a specified setting.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iAdjustmentCoherent | The desired adjustment coherent setting. 1: Coherent; 0: Non-coherent |
int ADL_Display_Capabilities_Get | ( | int | iAdapterIndex, |
int * | lpNumberOfControlers, | ||
int * | lpNumberOfDisplays | ||
) |
Function to get the number of displays and controllers supported by an adapter.
This function retrieves the number of displays and controllers that are supported by a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpNumberOfControlers | The pointer to the variable storing the total number of controllers. This variable must be initialized. |
[out] | lpNumberOfDisplays | The pointer to the variable storing the total number of displays. This variable must be initialized. |
int ADL_Display_ColorDepth_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpColorDepth | ||
) |
Function to get color depth. HDMI and DPonly.
This function retrieves the current display on given adpater's current color depth.
[in] | iAdapterIndex | The ADL index handle of the desired adapter per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpColorDepth | The pointer to the current color depth setting for given display. Define_colordepth_constants |
int ADL_Display_ColorDepth_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iColorDepth | ||
) |
Function to set color depth. HDMI and DPonly.
This function sets a user select color depth to current display on given adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iColorDepth | Requested color depth. Define_colordepth_constants |
int ADL_Display_ConnectedDisplays_Get | ( | int | iAdapterIndex, |
int * | lpConnections | ||
) |
Function to indicate whether displays are physically connected to an adapter.
This function indicates whether displays are physically connected to a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpConnections | The pointer to the bit field indicating whether the output connectors on the specified adapter have devices physically attached to them. |
int ADL_Display_DeviceConfig_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
ADLDisplayConfig * | lpDisplayConfig | ||
) |
Function to get HDTV capability settings.
This function retrieves HDTV capability settings for a specified display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDisplayConfig | The pointer to the retrieved display configuration. |
int ADL_Display_DisplayInfo_Get | ( | int | iAdapterIndex, |
int * | lpNumDisplays, | ||
ADLDisplayInfo ** | lppInfo, | ||
int | iForceDetect | ||
) |
Function to retrieve the adapter display information.
This function retrieves display information for a specified adapter. Display information includes display index, name, type, and display connection status, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppInfo. Caller is responsible to de-alocate the memory.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpNumDisplays | The pointer to the number of displays detected. |
[out] | lppInfo | The pointer to the pointer to the retrieved display information array. Initialize to NULL before calling this API. Refer to the ADLDisplayInfo structure for more information. |
[in] | iForceDetect | 0: Do not force detection of the adapters in the system; 1 : Force detection |
int ADL_Display_DitherState_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpDitherState | ||
) |
Function to retrieve the dither state.
This function retrieves the dither state for a specified display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDitherState | The pointer to the value storing the retrieved dither state. See Dithering options |
int ADL_Display_DitherState_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iDitherState | ||
) |
Function to set the dither state.
This function sets the dither state.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iDitherState | The desired dither state. For the list of valid states see Dithering options |
int ADL_Display_DpMstInfo_Get | ( | int | iAdapterIndex, |
int * | lpNumDisplays, | ||
ADLDisplayDPMSTInfo ** | lppDisplayDPMstInfo, | ||
int | iForceDetect | ||
) |
Function to retrieve the Display Port MST information.
This function retrieves display port MST information for a specified adapter. Display port MST information includes display indexes, names, bandwidth, identifiers, relative address and display connection, etc.
This API uses the Caller's Memory Allocation Callback Function to allocate memory pointed by lppDisplayDPMstInfo. Caller is responsible to de-alocate the memory.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. A value of -1 returns all displays in the system across multiple GPUs. |
[out] | lpNumDisplays | The pointer to the number of displays detected. |
[out] | lppDisplayDPMstInfo | The pointer to the list of the retrieved display port MST information array. Initialize to NULL before calling this API. Refer to the ADLDisplayDPMSTInfo structure for more information. |
[in] | iForceDetect | ADL_FALSE: Do not force detection of the adapters in the system; ADL_TRUE: Force detection |
int ADL_Display_FormatsOverride_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpSettingsSupported, | ||
int * | lpSettingsSupportedEx, | ||
int * | lpCurSettings | ||
) |
Function to retrieve the available display formats.
This call retrieves the available display formats
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSettingsSupported | The pointer to the supported settings. Formats Override Settings |
[out] | lpSettingsSupportedEx | The pointer to the extended supported settings. Formats Override Settings |
[out] | lpCurSettings | The pointer to the current override settings Formats Override Settings |
int ADL_Display_FormatsOverride_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iOverrideSettings | ||
) |
Function to overide the display formats.
This call overrides the display formats
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iOverrideSettings | The new format settings Formats Override Settings |
int ADL_Display_ImageExpansion_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpSupport, | ||
int * | lpCurrent, | ||
int * | lpDefault | ||
) |
Function to retrieve the display image expansion setting.
This function retrieves the current, default, and the feature supported values of the image expansion setting.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSupport | The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported. |
[out] | lpCurrent | The pointer to the current setting of display image expansion. Its alternative value is 1 or 0. |
[out] | lpDefault | The pointer to the default setting of display image expansion. Its alternative value is 1 or 0. |
int ADL_Display_ImageExpansion_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iCurrent | ||
) |
Function to set the display image expansion setting.
This function sets the current value of display image expansion setting.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iCurrent | The desired setting of display image expansion. Possible values are 1 or 0. |
int ADL_Display_Limits_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpMaxHRes, | ||
int * | lpMaxVRes, | ||
int * | lpMaxRefresh | ||
) |
This function retrieves the maximum horizontal and vertical resolution as well as the maximum refresh rate for a specified display and adapter.
[in] | iAdapterIndex | The ADL index handle of the graphics adapter corresponding to the desired display. |
[in] | iDisplayIndex | The ADL index handle of the desired display. |
[out] | lpMaxHRes | The pointer to the maximum horizontal resolution for the specified display. |
[out] | lpMaxVRes | The pointer to the maximum vertical resolution for the specified display. |
[out] | lpMaxRefresh | The pointer to the maximum refresh rate for the specfied display. |
int ADL_Display_MVPUCaps_Get | ( | int | iAdapterIndex, |
ADLMVPUCaps * | lpMvpuCaps | ||
) |
Function to retrieve the information about MultiVPU capabilities.
This function retrieves the information about MultiVPU capabilities.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpMvpuCaps | The structure storing the retrieved information about MultiVPU capabilities. |
int ADL_Display_MVPUStatus_Get | ( | int | iAdapterIndex, |
ADLMVPUStatus * | lpMvpuStatus | ||
) |
Function to retrieve information about MultiVPU status.
This function retrieves information about MultiVPU status.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | lpMvpuStatus | The structure storing the retrieved information about MultiVPU status. |
int ADL_Display_NumberOfDisplays_Get | ( | int | iAdapterIndex, |
int * | lpNumDisplays | ||
) |
Function to retrieve the number of displays supported by an adapter.
This function retrieves the number of displays that is supported by a specified adapter. Supported displays include devices that are connected and disconnected together with those enabled and disabled devices.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpNumDisplays | The pointer to the number of displays supported by the adapter. |
int ADL_Display_ODClockConfig_Set | ( | int | iAdapterIndex, |
ADLAdapterODClockConfig * | lpOdClockConfig | ||
) |
Function to set the OD clock configuration.
This function sets the OD clock configuration.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | lpOdClockConfig | The pointer to the structure used to set the OD clock configuration. |
int ADL_Display_ODClockInfo_Get | ( | int | iAdapterIndex, |
ADLAdapterODClockInfo * | lpOdClockInfo | ||
) |
Function to retrieve the OD clock information.
This function retrieves the OD clock information.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpOdClockInfo | The pointer to the structure storing the retrieved clock information. |
int ADL_Display_PixelFormat_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpPixelFormat | ||
) |
Function to retrieve the current display pixel format. HDMI only.
This function retrieves the current display pixel format.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpPixelFormat | The pointer to the pixel format. Pixel Formats values |
int ADL_Display_PixelFormat_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iPixelFormat | ||
) |
Function to set the current display pixel format. HDMI only.
This function sets the current display pixel format.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iPixelFormat | The desired pixel format. Pixel Formats values |
int ADL_Display_Position_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpX, | ||
int * | lpY, | ||
int * | lpXDefault, | ||
int * | lpYDefault, | ||
int * | lpMinX, | ||
int * | lpMinY, | ||
int * | lpMaxX, | ||
int * | lpMaxY, | ||
int * | lpStepX, | ||
int * | lpStepY | ||
) |
Function to get Device Display Position.
This function retrieves the display position parameters for a specified adapter and display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpX | The pointer to the current X coordinate display position. |
[out] | lpY | The pointer to the current Y coordinate display position. |
[out] | lpXDefault | The pointer to the default X coordinate display position. |
[out] | lpYDefault | The pointer to the default Y coordinate display position. |
[out] | lpMinX | The pointer to the minimum X display size. |
[out] | lpMinY | The pointer to the minimum Y display size. |
[out] | lpMaxX | The pointer to the maximum X display size. |
[out] | lpMaxY | The pointer to the maximum Y display size. |
[out] | lpStepX | The pointer to the step size along the X axis. |
[out] | lpStepY | The pointer to the step size along the Y axis. |
int ADL_Display_Position_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iX, | ||
int | iY | ||
) |
Function to set the Device Display Position.
This function sets the display X and Y position values for a specified adapter and display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iX | The desired X coordinate position. |
[in] | iY | The desired Y coordinate position. |
int ADL_Display_PreservedAspectRatio_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpSupport, | ||
int * | lpCurrent, | ||
int * | lpDefault | ||
) |
Function to retrieve the display perserved aspect ratio of an adapter.
This function retrieves the current, default, and the feature supported values of the display preserved aspect ratio.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpSupport | The pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported. |
[out] | lpCurrent | The pointer to the current setting of display preserved aspect ratio. Its alternative value is 1 or 0. |
[out] | lpDefault | The pointer to the default setting of display preserved aspect ratio. Its alternative value is 1 or 0. |
int ADL_Display_PreservedAspectRatio_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iCurrent | ||
) |
Function to set the display preserved aspect ratio.
This function sets the current value of display preserved aspect ratio.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iCurrent | The desired display preserved aspect ratio setting. Possible values are 1 or 0. |
int ADL_Display_Property_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
ADLDisplayProperty * | lpDisplayProperty | ||
) |
Function to get the current display property value.
This function retrieves the current display property value for a specified display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpDisplayProperty | The pointer to the ADLDisplayProperty structure storing the retrieved display property value. lpDisplayProperty->iExpansionMode contains the Expansion Mode value. |
int ADL_Display_Property_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
ADLDisplayProperty * | lpDisplayProperty | ||
) |
Function to set current display property value.
This function sets current display property value for a specified display.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | lpDisplayProperty | The pointer to the desired ADLDisplayProperty structure. Set lpDisplayProperty->iExpansionMode with an Expansion Mode value. |
int ADL_Display_ReducedBlanking_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpReducedBlankingCurrent, | ||
int * | lpReducedBlankingDefault | ||
) |
Function to retrieve the reduced blanking setting.
This function retrieves the current reduced blanking setting.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpReducedBlankingCurrent | The pointer to the current reduced blanking setting. |
[out] | lpReducedBlankingDefault | The pointer to the retrieved default setting. |
int ADL_Display_ReducedBlanking_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iReducedBlanking | ||
) |
Function to set the reduced blanking setting.
This function sets the current reduced blanking setting to a specified setting.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iReducedBlanking | The desired reduced blanking setting. |
int ADL_Display_Size_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpWidth, | ||
int * | lpHeight, | ||
int * | lpDefaultWidth, | ||
int * | lpDefaultHeight, | ||
int * | lpMinWidth, | ||
int * | lpMinHeight, | ||
int * | lpMaxWidth, | ||
int * | lpMaxHeight, | ||
int * | lpStepWidth, | ||
int * | lpStepHeight | ||
) |
Function to get the Device Display Size.
This function retrieves the display position parameters.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpWidth | The pointer to the current display width. |
[out] | lpHeight | The pointer to the current display height. |
[out] | lpDefaultWidth | The pointer to the default display width. |
[out] | lpDefaultHeight | The pointer to the default display height. |
[out] | lpMinWidth | The pointer to the minimum display width. |
[out] | lpMinHeight | The pointer to the minimum display height. |
[out] | lpMaxWidth | The pointer to the maximum display width. |
[out] | lpMaxHeight | The pointer to the maximum display height. |
[out] | lpStepWidth | The pointer to the step width. |
[out] | lpStepHeight | The pointer to the step height. |
int ADL_Display_Size_Set | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int | iWidth, | ||
int | iHeight | ||
) |
Function to set the Device Display Size.
This function sets the display width and height values.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[in] | iWidth | The desired width of the display. |
[in] | iHeight | The desired height of the display. |
int ADL_Display_SupportedColorDepth_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpColorDepth | ||
) |
Function to retrieve the supported color depth. HDMI and DPonly.
This function retrieves the current display on given adpater's supported color depths –When supported Color depth is one format only, no need expose the User interface.
[in] | iAdapterIndex | the ADL index handle of the desired adapter per physical GPU. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpColorDepth | The pointer to the bit vector of all display supported color depths. define_color_depth_bits |
int ADL_Display_SupportedPixelFormat_Get | ( | int | iAdapterIndex, |
int | iDisplayIndex, | ||
int * | lpPixelFormat | ||
) |
Function to retrieve the supported pixel format. HDMI only.
This function retrieves the supported pixel format.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
[out] | lpPixelFormat | The pointer to the supported pixel format. Pixel Formats values |
int ADL_Display_SwitchingCapability_Get | ( | int | iAdapterIndex, |
int * | lpResult | ||
) |
int ADL_Display_WriteAndReadI2CLargePayload | ( | int | iAdapterIndex, |
ADLI2CLargePayload * | plI2C | ||
) |
This function writes and reads I2C.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in,out] | plI2C | A pointer to the ADLI2CLargePayload structure. |