ADL (AMD Display Library) Public APIs
Version 17.1
|
This group describes the EDID Management APIs. More...
Functions | |
int | ADL2_Adapter_BoardLayout_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpValidFlags, int *lpNumberSlots, ADLBracketSlotInfo **lppBracketSlot, int *lpNumberConnector, ADLConnectorInfo **lppConnector) |
int | ADL2_Adapter_ConnectionData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort, int iQueryType, ADLConnectionData *lpConnectionData) |
Function to gets the emulation data on specified connector. More... | |
int | ADL2_Adapter_ConnectionData_Remove (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort) |
Function to remove emulation on specified connector. More... | |
int | ADL2_Adapter_ConnectionData_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort, ADLConnectionData ConnectionData) |
Function to set the emulation data to on specified connector. More... | |
int | ADL2_Adapter_ConnectionState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort, ADLConnectionState *lpADLConnectionState) |
Function to get the current emulation state of a given connector. More... | |
int | ADL2_Adapter_EDIDManagement_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported) |
Function to retrieve EDID management feature support. More... | |
int | ADL2_Adapter_EmulationMode_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort, int iEmulationMode) |
Function to sets the emulation mode of given connector. More... | |
int | ADL2_Adapter_SupportedConnections_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDevicePort devicePort, ADLSupportedConnections *lpADLSupportedConnections) |
Function to get the supported connection types of given connector. More... | |
int | ADL2_Workstation_GlobalEDIDPersistence_Get (ADL_CONTEXT_HANDLE context, int *lpCurResultValue, int *lpDefResultValue) |
Function to get the EDID Persistence state of the system. More... | |
int | ADL2_Workstation_GlobalEDIDPersistence_Set (ADL_CONTEXT_HANDLE context, int iCurState) |
Function to set the EDID Persistence state of the system. More... | |
int | ADL_Adapter_BoardLayout_Get (int iAdapterIndex, int *lpValidFlags, int *lpNumberSlots, ADLBracketSlotInfo **lppBracketSlot, int *lpNumberConnector, ADLConnectorInfo **lppConnector) |
Function to get the board layout information. More... | |
int | ADL_Adapter_ConnectionData_Get (int iAdapterIndex, ADLDevicePort devicePort, int iQueryType, ADLConnectionData *lpConnectionData) |
Function to gets the emulation data on specified connector. More... | |
int | ADL_Adapter_ConnectionData_Remove (int iAdapterIndex, ADLDevicePort devicePort) |
Function to remove emulation on specified connector. More... | |
int | ADL_Adapter_ConnectionData_Set (int iAdapterIndex, ADLDevicePort devicePort, ADLConnectionData ConnectionData) |
Function to set the emulation data to on specified connector. More... | |
int | ADL_Adapter_ConnectionState_Get (int iAdapterIndex, ADLDevicePort devicePort, ADLConnectionState *lpADLConnectionState) |
Function to get the current emulation state of a given connector. More... | |
int | ADL_Adapter_EDIDManagement_Caps (int iAdapterIndex, int *lpSupported) |
Function to retrieve EDID management feature support. More... | |
int | ADL_Adapter_EmulationMode_Set (int iAdapterIndex, ADLDevicePort devicePort, int iEmulationMode) |
Function to sets the emulation mode of given connector. More... | |
int | ADL_Adapter_SupportedConnections_Get (int iAdapterIndex, ADLDevicePort devicePort, ADLSupportedConnections *lpADLSupportedConnections) |
Function to get the supported connection types of given connector. More... | |
int | ADL_Workstation_GlobalEDIDPersistence_Get (int *lpCurResultValue, int *lpDefResultValue) |
Function to get the EDID Persistence state of the system. More... | |
int | ADL_Workstation_GlobalEDIDPersistence_Set (int iCurState) |
Function to set the EDID Persistence state of the system. More... | |
This group describes the EDID Management APIs.
Function to get the board layout information.
This function retrieves the ASIC layout information of a specified adapter.
layout information includes number of slots, size and number of connectors and properties of connectors
[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] | lpValidFlags | The integer pointer, specifies the valid bits of the slot & connector information. |
[out] | lpNumberSlots | The integer pointer, specifies the number of slots |
[out] | lppBracketSlot | The pointer to the structure, storing the bracket slot information. |
[out] | lpNumberConnector | The integer pointer, specifies the number of connectors in GPU |
[out] | lppConnector | The pointer to the structure, storing the connectors information |
int ADL2_Adapter_BoardLayout_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpValidFlags, | ||
int * | lpNumberSlots, | ||
ADLBracketSlotInfo ** | lppBracketSlot, | ||
int * | lpNumberConnector, | ||
ADLConnectorInfo ** | lppConnector | ||
) |
int ADL2_Adapter_ConnectionData_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort, | ||
int | iQueryType, | ||
ADLConnectionData * | lpConnectionData | ||
) |
Function to gets the emulation data on specified connector.
This function to gets the emulation data
[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] | devicePort | specifies connector index and relative MST address. |
[in] | iQueryType | The Specifies type of query. Define_emulation_query |
[out] | lpConnectionData | The pointer to the structure storing the retrieved information. |
int ADL2_Adapter_ConnectionData_Remove | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort | ||
) |
Function to remove emulation on specified connector.
This function removes the emulation which are emulated already
[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] | devicePort | specifies connector index and relative mst address. |
int ADL2_Adapter_ConnectionData_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort, | ||
ADLConnectionData | ConnectionData | ||
) |
Function to set the emulation data to on specified connector.
This function sets the emulation data
[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] | devicePort | specifies connector index and relative MST address. |
[in] | ConnectionData | contains connection data including the EDID data |
int ADL2_Adapter_ConnectionState_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort, | ||
ADLConnectionState * | lpADLConnectionState | ||
) |
Function to get the current emulation state of a given connector.
This function retrieves the current emulation 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] | devicePort | specifies connector index and relative MST address. |
[out] | lpADLConnectionState | The pointer to the structure storing the retrieved information. |
int ADL2_Adapter_EDIDManagement_Caps | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
int * | lpSupported | ||
) |
Function to retrieve EDID management feature support.
This function retrieves EDID Management supprot for specific 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] | lpSupported | If the specified adapter supports EDID Management then returns ADL_TRUE else ADL_FALSE |
int ADL2_Adapter_EmulationMode_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort, | ||
int | iEmulationMode | ||
) |
Function to sets the emulation mode of given connector.
This function set the emulation mode to the driver
[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] | devicePort | specifies connector index and relative MST address. |
[in] | iEmulationMode | selected Emulated mode. Define_emulation_mode |
int ADL2_Adapter_SupportedConnections_Get | ( | ADL_CONTEXT_HANDLE | context, |
int | iAdapterIndex, | ||
ADLDevicePort | devicePort, | ||
ADLSupportedConnections * | lpADLSupportedConnections | ||
) |
Function to get the supported connection types of given connector.
This function retrieves the supported connection types and its properties
[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] | devicePort | specifies connector index and relative MST address. |
[out] | lpADLSupportedConnections | The pointer to the structure storing the retrieved information. |
int ADL2_Workstation_GlobalEDIDPersistence_Get | ( | ADL_CONTEXT_HANDLE | context, |
int * | lpCurResultValue, | ||
int * | lpDefResultValue | ||
) |
Function to get the EDID Persistence state of the system.
This function implements the functionality to get the EDID Persistence state of the system.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[out] | lpCurResultValue | The int pointer to the current state It can be one of Define_persistence_state |
[out] | lpDefResultValue | The int pointer to the default state It can be one of Define_persistence_state |
int ADL2_Workstation_GlobalEDIDPersistence_Set | ( | ADL_CONTEXT_HANDLE | context, |
int | iCurState | ||
) |
Function to set the EDID Persistence state of the system.
This function implements the functionality to set the EDID Persistence mode for a system.
[in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iCurState | The current state to set for the specified adapter. Define_persistence_state |
int ADL_Adapter_BoardLayout_Get | ( | int | iAdapterIndex, |
int * | lpValidFlags, | ||
int * | lpNumberSlots, | ||
ADLBracketSlotInfo ** | lppBracketSlot, | ||
int * | lpNumberConnector, | ||
ADLConnectorInfo ** | lppConnector | ||
) |
Function to get the board layout information.
This function retrieves the ASIC layout information of a specified adapter.
layout information includes number of slots, size and number of connectors and properties of connectors
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpValidFlags | The integer pointer, specifies the valid bits of the slot & connector information. |
[out] | lpNumberSlots | The integer pointer, specifies the number of slots |
[out] | lppBracketSlot | The pointer to the structure, storing the bracket slot information. |
[out] | lpNumberConnector | The integer pointer, specifies the number of connectors in GPU |
[out] | lppConnector | The pointer to the structure, storing the connectors information |
int ADL_Adapter_ConnectionData_Get | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort, | ||
int | iQueryType, | ||
ADLConnectionData * | lpConnectionData | ||
) |
Function to gets the emulation data on specified connector.
This function to gets the emulation data
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative MST address. |
[in] | iQueryType | The Specifies type of query. Define_emulation_query |
[out] | lpConnectionData | The pointer to the structure storing the retrieved information. |
int ADL_Adapter_ConnectionData_Remove | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort | ||
) |
Function to remove emulation on specified connector.
This function removes the emulation which are emulated already
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative mst address. |
int ADL_Adapter_ConnectionData_Set | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort, | ||
ADLConnectionData | ConnectionData | ||
) |
Function to set the emulation data to on specified connector.
This function sets the emulation data
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative MST address. |
[in] | ConnectionData | contains connection data including the EDID data |
int ADL_Adapter_ConnectionState_Get | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort, | ||
ADLConnectionState * | lpADLConnectionState | ||
) |
Function to get the current emulation state of a given connector.
This function retrieves the current emulation state
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative MST address. |
[out] | lpADLConnectionState | The pointer to the structure storing the retrieved information. |
int ADL_Adapter_EDIDManagement_Caps | ( | int | iAdapterIndex, |
int * | lpSupported | ||
) |
Function to retrieve EDID management feature support.
This function retrieves EDID Management supprot for specific adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpSupported | If the specified adapter supports EDID Management then returns ADL_TRUE else ADL_FALSE |
int ADL_Adapter_EmulationMode_Set | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort, | ||
int | iEmulationMode | ||
) |
Function to sets the emulation mode of given connector.
This function set the emulation mode to the driver
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative MST address. |
[in] | iEmulationMode | selected Emulated mode. Define_emulation_mode |
int ADL_Adapter_SupportedConnections_Get | ( | int | iAdapterIndex, |
ADLDevicePort | devicePort, | ||
ADLSupportedConnections * | lpADLSupportedConnections | ||
) |
Function to get the supported connection types of given connector.
This function retrieves the supported connection types and its properties
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | devicePort | specifies connector index and relative MST address. |
[out] | lpADLSupportedConnections | The pointer to the structure storing the retrieved information. |
int ADL_Workstation_GlobalEDIDPersistence_Get | ( | int * | lpCurResultValue, |
int * | lpDefResultValue | ||
) |
Function to get the EDID Persistence state of the system.
This function implements the functionality to get the EDID Persistence state of the system.
[out] | lpCurResultValue | The int pointer to the current state It can be one of Define_persistence_state |
[out] | lpDefResultValue | The int pointer to the default state It can be one of Define_persistence_state |
int ADL_Workstation_GlobalEDIDPersistence_Set | ( | int | iCurState | ) |
Function to set the EDID Persistence state of the system.
This function implements the functionality to set the EDID Persistence mode for a system.
[in] | iCurState | The current state to set for the specified adapter. Define_persistence_state |