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

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

Go to the source code of this file.

Macros

#define ADL_EXTERNC
 

Functions

int ADL2_FRTCPro_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 
int ADL2_FRTCPro_Settings_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADL_FRTCPRO_Settings *FRTCPROSettings)
 
int ADL2_FRTCPro_Settings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADL_FRTCPRO_Settings FRTCPROSettings, ADL_FRTCPRO_CHANGED_REASON changeReason)
 
int ADL2_Workstation_AdapterNumOfGLSyncConnectors_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumOfGLSyncConnectors)
 Function to retrieve the number of GL-Sync connectors on an adapter. More...
 
int ADL2_Workstation_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpValidBits, int *lpCaps)
 Function to retrieve current workstation capabilities. More...
 
int ADL2_Workstation_DeepBitDepth_Get (ADL_CONTEXT_HANDLE context, int *lpCurDBDState, int *lpDefDBDState, int *lpCurGrayscale, int *lpDefGrayscale, int *lpCurBypass, int *lpDefBypass)
 Function to get current requested state of Deep Bit Depth and related settings. More...
 
int ADL2_Workstation_DeepBitDepth_Set (ADL_CONTEXT_HANDLE context, int iDBDState, int iGrayscale, int iBypassGamma)
 Function to set requested state of Deep Bit Depth and related settings. More...
 
int ADL2_Workstation_DeepBitDepthX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpDefDBDState, int *lpCurDBDState)
 
int ADL2_Workstation_DeepBitDepthX2_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDBDState)
 
int ADL2_Workstation_DisplayGenlockCapable_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCanGenlock)
 Function to determine whether or not a display is capable of Genlock functionality. More...
 
int ADL2_Workstation_DisplayGLSyncMode_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGlSyncMode *lpGlSyncMode)
 Function to retrieve the GL-Sync mode for a display. More...
 
int ADL2_Workstation_DisplayGLSyncMode_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGlSyncMode glSyncMode)
 Function to set the GL-Sync mode for a display. More...
 
int ADL2_Workstation_ECC_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to get ECC (Error Correction Code) Capabilities on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) Capabilities on the specified adapter. More...
 
int ADL2_Workstation_ECC_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpDefaultMode, int *lpCurrentMode, int *lpDesiredMode)
 Function to get ECC (Error Correction Code) current and desired states on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) current mode(driver applied mode) and the desired mode (user requested mode) on the specified adapter. More...
 
int ADL2_Workstation_ECC_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDesiredMode)
 Function to set ECC Mode on the specified adapter This function implements the CI call to set ECC (Error Correction Code) to turn on and off this feature on the specified adapter. More...
 
int ADL2_Workstation_ECCData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLECCData *lpAdlEccData)
 Function to get ECC statistics on the specified adapter. This function implements the CI call to get SEC(Single Error Correct) and DED(Double Error Detect) Counts on the specified adapter. More...
 
int ADL2_Workstation_ECCX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpModeType, int *lpDefaultMode, int *lpCurrentMode, int *lpDesiredMode)
 Function to get ECC (Error Correction Code) current and desired states on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) current mode(driver applied mode) and the desired mode (user requested mode) on the specified adapter. More...
 
int ADL2_Workstation_GLSyncGenlockConfiguration_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, int iGlValidMask, ADLGLSyncGenlockConfig *lpGlSyncGenlockConfig)
 Function to retrieve the GL-Sync Genlock configuration settings. More...
 
int ADL2_Workstation_GLSyncGenlockConfiguration_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, ADLGLSyncGenlockConfig glSyncGenlockConfig)
 Function to set the GL-Sync Genlock configuration settings. More...
 
int ADL2_Workstation_GLSyncModuleDetect_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, ADLGLSyncModuleID *lpGlSyncModuleID)
 Function to detect the GL-Sync module. More...
 
int ADL2_Workstation_GLSyncModuleInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, int *lpNumGLSyncGPUPorts, int *lpNumGlSyncPorts, int *lpMaxSyncDelay, int *lpMaxSampleRate, ADLGLSyncPortCaps **ppGlSyncPorts)
 Function to describe the GL-Sync module caps. More...
 
int ADL2_Workstation_GLSyncPortState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, int iGlSyncPortType, int iNumLEDs, ADLGlSyncPortInfo *lpGlSyncPortInfo, int **ppGlSyncLEDs)
 Function to retrieve GL-Sync port information. More...
 
int ADL2_Workstation_GLSyncPortState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iGlSyncConnector, ADLGlSyncPortControl glSyncPortControl)
 Function to perform GL-Sync port control. More...
 
int ADL2_Workstation_GLSyncSupportedTopology_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iNumSyncModes, ADLGlSyncMode2 *glSyncModes, int *iNumSugSyncModes, ADLGlSyncMode2 **glSugSyncModes)
 Function to get the supported GL-Sync topology. More...
 
int ADL2_Workstation_LoadBalancing_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpResultMask, int *lpResultValue)
 Function to set the load balancing capabilities for the specified adapter. More...
 
int ADL2_Workstation_LoadBalancing_Get (ADL_CONTEXT_HANDLE context, int *lpResultMask, int *lpCurResultValue, int *lpDefResultValue)
 Function to get the load balancing state of the specified adapter. More...
 
int ADL2_Workstation_LoadBalancing_Set (ADL_CONTEXT_HANDLE context, int iCurState)
 Function to set the load balancing state of the specified adapter. More...
 
int ADL2_Workstation_SDI_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 
int ADL2_Workstation_SDI_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLSDIData *lpDefualt, ADLSDIData *lpDriver, ADLSDIData *lpCurrent)
 
int ADL2_Workstation_SDI_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSDIState, int iSizeofSDISegment)
 
int ADL2_Workstation_SDISegmentList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpMemorySegmentCount, int **lppMemorySegmentList)
 
int ADL2_Workstation_Stereo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpDefState, int *lpCurState)
 Function to retreive the worstation stereo mode. More...
 
int ADL2_Workstation_Stereo_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iCurState)
 Function to set the workstation stereo mode. More...
 
int ADL2_WS_Overdrive_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion)
 
int ADL_Workstation_AdapterNumOfGLSyncConnectors_Get (int iAdapterIndex, int *lpNumOfGLSyncConnectors)
 Function to retrieve the number of GL-Sync connectors on an adapter. More...
 
int ADL_Workstation_Caps (int iAdapterIndex, int *lpValidBits, int *lpCaps)
 Function to retrieve current workstation capabilities. More...
 
int ADL_Workstation_DeepBitDepth_Get (int *lpCurDBDState, int *lpDefDBDState, int *lpCurGrayscale, int *lpDefGrayscale, int *lpCurBypass, int *lpDefBypass)
 Function to get current requested state of Deep Bit Depth and related settings. More...
 
int ADL_Workstation_DeepBitDepth_Set (int iDBDState, int iGrayscale, int iBypassGamma)
 Function to set requested state of Deep Bit Depth and related settings. More...
 
int ADL_Workstation_DeepBitDepthX2_Get (int iAdapterIndex, int *lpDefDBDState, int *lpCurDBDState)
 
int ADL_Workstation_DeepBitDepthX2_Set (int iAdapterIndex, int iDBDState)
 
int ADL_Workstation_DisplayGenlockCapable_Get (int iAdapterIndex, int iDisplayIndex, int *lpCanGenlock)
 Function to determine whether or not a display is capable of Genlock functionality. More...
 
int ADL_Workstation_DisplayGLSyncMode_Get (int iAdapterIndex, int iDisplayIndex, ADLGlSyncMode *lpGlSyncMode)
 Function to retrieve the GL-Sync mode for a display. More...
 
int ADL_Workstation_DisplayGLSyncMode_Set (int iAdapterIndex, int iDisplayIndex, ADLGlSyncMode glSyncMode)
 Function to set the GL-Sync mode for a display. More...
 
int ADL_Workstation_ECC_Caps (int iAdapterIndex, int *lpSupported)
 Function to get ECC (Error Correction Code) Capabilities on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) Capabilities on the specified adapter. More...
 
int ADL_Workstation_ECC_Get (int iAdapterIndex, int *lpDefaultMode, int *lpCurrentMode, int *lpDesiredMode)
 Function to get ECC (Error Correction Code) current and desired states on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) current mode(driver applied mode) and the desired mode (user requested mode) on the specified adapter. More...
 
int ADL_Workstation_ECC_Set (int iAdapterIndex, int iDesiredMode)
 Function to set ECC Mode on the specified adapter This function implements the CI call to set ECC (Error Correction Code) to turn on and off this feature on the specified adapter. More...
 
int ADL_Workstation_ECCData_Get (int iAdapterIndex, ADLECCData *lpAdlEccData)
 Function to get ECC statistics on the specified adapter. This function implements the CI call to get SEC(Single Error Correct) and DED(Double Error Detect) Counts on the specified adapter. More...
 
int ADL_Workstation_ECCX2_Get (int iAdapterIndex, int *lpModeType, int *lpDefaultMode, int *lpCurrentMode, int *lpDesiredMode)
 Function to get ECC (Error Correction Code) current and desired states on the specified adapter. This function implements the CI call to get ECC (Error Correction Code) current mode(driver applied mode) and the desired mode (user requested mode) on the specified adapter. More...
 
int ADL_Workstation_GLSyncGenlockConfiguration_Get (int iAdapterIndex, int iGlSyncConnector, int iGlValidMask, ADLGLSyncGenlockConfig *lpGlSyncGenlockConfig)
 Function to retrieve the GL-Sync Genlock configuration settings. More...
 
int ADL_Workstation_GLSyncGenlockConfiguration_Set (int iAdapterIndex, int iGlSyncConnector, ADLGLSyncGenlockConfig glSyncGenlockConfig)
 Function to set the GL-Sync Genlock configuration settings. More...
 
int ADL_Workstation_GLSyncModuleDetect_Get (int iAdapterIndex, int iGlSyncConnector, ADLGLSyncModuleID *lpGlSyncModuleID)
 Function to detect the GL-Sync module. More...
 
int ADL_Workstation_GLSyncModuleInfo_Get (int iAdapterIndex, int iGlSyncConnector, int *lpNumGLSyncGPUPorts, int *lpNumGlSyncPorts, int *lpMaxSyncDelay, int *lpMaxSampleRate, ADLGLSyncPortCaps **ppGlSyncPorts)
 Function to describe the GL-Sync module caps. More...
 
int ADL_Workstation_GLSyncPortState_Get (int iAdapterIndex, int iGlSyncConnector, int iGlSyncPortType, int iNumLEDs, ADLGlSyncPortInfo *lpGlSyncPortInfo, int **ppGlSyncLEDs)
 Function to retrieve GL-Sync port information. More...
 
int ADL_Workstation_GLSyncPortState_Set (int iAdapterIndex, int iGlSyncConnector, ADLGlSyncPortControl glSyncPortControl)
 Function to perform GL-Sync port control. More...
 
int ADL_Workstation_GLSyncSupportedTopology_Get (int iAdapterIndex, int iNumSyncModes, ADLGlSyncMode2 *glSyncModes, int *iNumSugSyncModes, ADLGlSyncMode2 **glSugSyncModes)
 Function to get the supported GL-Sync topology. More...
 
int ADL_Workstation_LoadBalancing_Caps (int iAdapterIndex, int *lpResultMask, int *lpResultValue)
 Function to set the load balancing capabilities for the specified adapter. More...
 
int ADL_Workstation_LoadBalancing_Get (int *lpResultMask, int *lpCurResultValue, int *lpDefResultValue)
 Function to get the load balancing state of the specified adapter. More...
 
int ADL_Workstation_LoadBalancing_Set (int iCurState)
 Function to set the load balancing state of the specified adapter. More...
 
int ADL_Workstation_SDI_Caps (int iAdapterIndex, int *lpSupported)
 Function to check for Serial Digital Interface capabilities. More...
 
int ADL_Workstation_SDI_Get (int iAdapterIndex, ADLSDIData *lpDefualt, ADLSDIData *lpDriver, ADLSDIData *lpCurrent)
 
int ADL_Workstation_SDI_Set (int iAdapterIndex, int iSDIState, int iSizeofSDISegment)
 
int ADL_Workstation_SDISegmentList_Get (int iAdapterIndex, int *lpMemorySegmentCount, int **lppMemorySegmentList)
 
int ADL_Workstation_Stereo_Get (int iAdapterIndex, int *lpDefState, int *lpCurState)
 Function to retreive the worstation stereo mode. More...
 
int ADL_Workstation_Stereo_Set (int iAdapterIndex, int iCurState)
 Function to set the workstation stereo mode. 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 Workstation exposed functions by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms.

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

Macro Definition Documentation

◆ ADL_EXTERNC

#define ADL_EXTERNC

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