Functions | |
int | ADL2_Adapter_Active_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpStatus) |
Function to determine if the adapter is active or not. | |
int | ADL_Adapter_Active_Get (int iAdapterIndex, int *lpStatus) |
Function to determine if the adapter is active or not. | |
int | ADL2_Adapter_Aspects_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, char *lpAspects, int iSize) |
ADL local interface. Function to retrieve the supported aspects list. | |
int | ADL_Adapter_Aspects_Get (int iAdapterIndex, char *lpAspects, int iSize) |
ADL local interface. Function to retrieve the supported aspects list. | |
int | ADL2_Adapter_NumberOfAdapters_Get (ADL_CONTEXT_HANDLE context, int *lpNumAdapters) |
Function to retrieve the number of OS-known adapters. | |
int | ADL_Adapter_NumberOfAdapters_Get (int *lpNumAdapters) |
Function to retrieve the number of OS-known adapters. | |
int | ADL2_Flush_Driver_Data (ADL_CONTEXT_HANDLE context, int iAdapterIndex) |
Function to save driver data. | |
int | ADL_Flush_Driver_Data (int iAdapterIndex) |
Function to save driver data. | |
int | ADL2_Adapter_AdapterInfo_Get (ADL_CONTEXT_HANDLE context, LPAdapterInfo lpInfo, int iInputSize) |
Retrieves all OS-known adapter information. | |
int | ADL_Adapter_AdapterInfo_Get (LPAdapterInfo lpInfo, int iInputSize) |
Retrieves all OS-known adapter information. | |
int | ADL2_Adapter_AdapterInfoX2_Get (ADL_CONTEXT_HANDLE context, AdapterInfo **lppAdapterInfo) |
Retrieves all OS-known adapter information. | |
int | ADL_Adapter_AdapterInfoX2_Get (AdapterInfo **lppAdapterInfo) |
Retrieves all OS-known adapter information. | |
int | ADL2_Adapter_ASICFamilyType_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpAsicTypes, int *lpValids) |
Function to get the ASICFamilyType from the adapter. | |
int | ADL_Adapter_ASICFamilyType_Get (int iAdapterIndex, int *lpAsicTypes, int *lpValids) |
Function to get the ASICFamilyType from the adapter. | |
int | ADL2_Adapter_Speed_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCaps, int *lpValid) |
Function to get the current Force3DClock setting from the adapter. | |
int | ADL_Adapter_Speed_Caps (int iAdapterIndex, int *lpCaps, int *lpValid) |
Function to get the current Force3DClock setting from the adapter. | |
int | ADL2_Adapter_Speed_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpCurrent, int *lpDefault) |
Function to get the current Speed setting from the adapter. | |
int | ADL_Adapter_Speed_Get (int iAdapterIndex, int *lpCurrent, int *lpDefault) |
Function to get the current Speed setting from the adapter. | |
int | ADL2_Adapter_Speed_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSpeed) |
Function to set the current Speed setting from the adapter. | |
int | ADL_Adapter_Speed_Set (int iAdapterIndex, int iSpeed) |
Function to set the current Speed setting from the adapter. | |
int | ADL2_Adapter_Accessibility_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpAccessibility) |
Function to check if the GPU is accessible or not at the time of this call. | |
int | ADL_Adapter_Accessibility_Get (int iAdapterIndex, int *lpAccessibility) |
Function to check if the GPU is accessible or not at the time of this call. | |
int | ADL2_Adapter_VideoBiosInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLBiosInfo *lpBiosInfo) |
ADL local interface. Function to retrieve BIOS information. | |
int | ADL_Adapter_VideoBiosInfo_Get (int iAdapterIndex, ADLBiosInfo *lpBiosInfo) |
ADL local interface. Function to retrieve BIOS information. | |
int | ADL2_Adapter_ID_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpAdapterID) |
Function to get the unique identifier of an adapter. | |
int | ADL_Adapter_ID_Get (int iAdapterIndex, int *lpAdapterID) |
Function to get the unique identifier of an adapter. | |
int | ADL2_AdapterX2_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLAdapterCapsX2 *adapterCaps) |
Function to retrieve adapter caps information. | |
int | ADL_AdapterX2_Caps (int iAdapterIndex, ADLAdapterCapsX2 *adapterCaps) |
Function to retrieve adapter caps information. |
int ADL2_Adapter_Active_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpStatus | |||
) |
Function to determine if the adapter is active or not.
The function is used to check if the adapter associated with iAdapterIndex is active. Logic is different for Windows and Linux!
[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] | lpStatus | The pointer to the retrieved status. ADL_TRUE : Active; ADL_FALSE : Disabled. |
int ADL_Adapter_Active_Get | ( | int | iAdapterIndex, | |
int * | lpStatus | |||
) |
Function to determine if the adapter is active or not.
The function is used to check if the adapter associated with iAdapterIndex is active. Logic is different for Windows and Linux!
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpStatus | The pointer to the retrieved status. ADL_TRUE : Active; ADL_FALSE : Disabled. |
int ADL2_Adapter_Aspects_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
char * | lpAspects, | |||
int | iSize | |||
) |
ADL local interface. Function to retrieve the supported aspects list.
This function retrieves the list of supported aspects for 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] | lpAspects | The pointer to the buffer storing the list of aspects supported for the specified adapter. |
[in] | iSize | The size of the lpAspects buffer. |
int ADL_Adapter_Aspects_Get | ( | int | iAdapterIndex, | |
char * | lpAspects, | |||
int | iSize | |||
) |
ADL local interface. Function to retrieve the supported aspects list.
This function retrieves the list of supported aspects for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpAspects | The pointer to the buffer storing the list of aspects supported for the specified adapter. |
[in] | iSize | The size of the lpAspects buffer. |
int ADL2_Adapter_NumberOfAdapters_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int * | lpNumAdapters | |||
) |
Function to retrieve the number of OS-known adapters.
This function retrieves the number of graphics adapters recognized by the OS (OS-known adapters). OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that no longer present in the system but are still recognized by the OS.
[in] | context,: | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[out] | lpNumAdapters | The pointer to the number of OS-known adapters. |
int ADL_Adapter_NumberOfAdapters_Get | ( | int * | lpNumAdapters | ) |
Function to retrieve the number of OS-known adapters.
This function retrieves the number of graphics adapters recognized by the OS (OS-known adapters). OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that no longer present in the system but are still recognized by the OS.
[out] | lpNumAdapters | The pointer to the number of OS-known adapters. |
int ADL2_Flush_Driver_Data | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex | |||
) |
Function to save driver data.
This function saves all required data from driver to persist updated settings
[in] | context,: | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iAdapterIndex | The adapter index to be flushed. |
int ADL_Flush_Driver_Data | ( | int | iAdapterIndex | ) |
Function to save driver data.
This function saves all required data from driver to persist updated settings
[in] | iAdapterIndex | The adapter index to be flushed. |
int ADL2_Adapter_AdapterInfo_Get | ( | ADL_CONTEXT_HANDLE | context, | |
LPAdapterInfo | lpInfo, | |||
int | iInputSize | |||
) |
Retrieves all OS-known adapter information.
This function retrieves the adapter information of all OS-known adapters in the system. OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that are no longer present in the system but are still recognized by the OS.
[in] | context,: | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[in] | iInputSize | The size of the lpInfo buffer. |
[out] | lpInfo | The pointer to the buffer containing the retrieved adapter information. |
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
int ADL_Adapter_AdapterInfo_Get | ( | LPAdapterInfo | lpInfo, | |
int | iInputSize | |||
) |
Retrieves all OS-known adapter information.
This function retrieves the adapter information of all OS-known adapters in the system. OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that are no longer present in the system but are still recognized by the OS.
[in] | iInputSize | The size of the lpInfo buffer. |
[out] | lpInfo | The pointer to the buffer containing the retrieved adapter information. |
int ADL2_Adapter_AdapterInfoX2_Get | ( | ADL_CONTEXT_HANDLE | context, | |
AdapterInfo ** | lppAdapterInfo | |||
) |
Retrieves all OS-known adapter information.
This function retrieves the adapter information of all OS-known adapters in the system. OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that are no longer present in the system but are still recognized by the OS.
[in] | context,: | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
[out] | lppAdapterInfo | is pointer to the pointer of AdapterInfo array. Initialize to NULL before calling this API. ADL will allocate the necessary memory, using the user provided callback function. |
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
int ADL_Adapter_AdapterInfoX2_Get | ( | AdapterInfo ** | lppAdapterInfo | ) |
Retrieves all OS-known adapter information.
This function retrieves the adapter information of all OS-known adapters in the system. OS-known adapters can include adapters that are physically present in the system (logical adapters) as well as ones that are no longer present in the system but are still recognized by the OS.
[out] | lppAdapterInfo | is pointer to the pointer of AdapterInfo array. Initialize to NULL before calling this API. ADL will allocate the necessary memory, using the user provided callback function. |
int ADL2_Adapter_ASICFamilyType_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpAsicTypes, | |||
int * | lpValids | |||
) |
Function to get the ASICFamilyType from the adapter.
This function retrieves the ASIC family types for 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] | lpAsicTypes | The pointer to the Detailed asic types information retrieved from the driver. |
[out] | lpValids | The pointer to the bit vector indicating which bit is valid on the lpAsicTypes returned. |
int ADL_Adapter_ASICFamilyType_Get | ( | int | iAdapterIndex, | |
int * | lpAsicTypes, | |||
int * | lpValids | |||
) |
Function to get the ASICFamilyType from the adapter.
This function retrieves the ASIC family types for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpAsicTypes | The pointer to the Detailed asic types information retrieved from the driver. |
[out] | lpValids | The pointer to the bit vector indicating which bit is valid on the lpAsicTypes returned. |
int ADL2_Adapter_Speed_Caps | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpCaps, | |||
int * | lpValid | |||
) |
Function to get the current Force3DClock setting from the adapter.
This function retrieves the adapter speed information for a specified adapter. Return valud can be ADL_ADAPTER_SPEEDCAPS_SUPPORTED or “0”
[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] | lpCaps | The caps of adapter speed settings |
[out] | lpValid | The valid bits of adapter speed settings |
int ADL_Adapter_Speed_Caps | ( | int | iAdapterIndex, | |
int * | lpCaps, | |||
int * | lpValid | |||
) |
Function to get the current Force3DClock setting from the adapter.
This function retrieves the adapter speed information for a specified adapter. Return valud can be ADL_ADAPTER_SPEEDCAPS_SUPPORTED or “0”
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpCaps | The caps of adapter speed settings |
[out] | lpValid | The valid bits of adapter speed settings |
int ADL2_Adapter_Speed_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpCurrent, | |||
int * | lpDefault | |||
) |
Function to get the current Speed setting from the adapter.
This function retrieves the adapter speed information for a specified adapter. Return value is either ADL_CONTEXT_SPEED_UNFORCED or ADL_CONTEXT_SPEED_FORCEHIGH
[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] | lpCurrent | The current speed setting |
[out] | lpDefault | The default speed setting |
int ADL_Adapter_Speed_Get | ( | int | iAdapterIndex, | |
int * | lpCurrent, | |||
int * | lpDefault | |||
) |
Function to get the current Speed setting from the adapter.
This function retrieves the adapter speed information for a specified adapter. Return value is either ADL_CONTEXT_SPEED_UNFORCED or ADL_CONTEXT_SPEED_FORCEHIGH
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpCurrent | The current speed setting |
[out] | lpDefault | The default speed setting |
int ADL2_Adapter_Speed_Set | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int | iSpeed | |||
) |
Function to set the current Speed setting from the adapter.
This function set the adapter speed information for a specified adapter. Input value is either ADL_CONTEXT_SPEED_UNFORCED or ADL_CONTEXT_SPEED_FORCEHIGH
[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] | iSpeed | The speed to set on specified adapter |
int ADL_Adapter_Speed_Set | ( | int | iAdapterIndex, | |
int | iSpeed | |||
) |
Function to set the current Speed setting from the adapter.
This function set the adapter speed information for a specified adapter. Input value is either ADL_CONTEXT_SPEED_UNFORCED or ADL_CONTEXT_SPEED_FORCEHIGH
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[in] | iSpeed | The speed to set on specified adapter |
int ADL2_Adapter_Accessibility_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpAccessibility | |||
) |
Function to check if the GPU is accessible or not at the time of this call.
Some GPUs enter into various power savings mode when not in use, and during this time, direct access to the GPU can result in failures. Access through proper channels (such as via ADL) always works because the software accounts for the GPU's accessibility. However, direct access outside of authorised mechanisms may fail. Use this API to find out if the GPU is currently accessible or not. If API returns GPU accessible, this status will be maintained for 2 seconds.
[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] | lpAccessibility | The pointer to an int value which indicates if the adapter is accessible or not (ADL_TRUE : Accessible, ADL_FALSE : Not accessible) |
int ADL_Adapter_Accessibility_Get | ( | int | iAdapterIndex, | |
int * | lpAccessibility | |||
) |
Function to check if the GPU is accessible or not at the time of this call.
Some GPUs enter into various power savings mode when not in use, and during this time, direct access to the GPU can result in failures. Access through proper channels (such as via ADL) always works because the software accounts for the GPU's accessibility. However, direct access outside of authorised mechanisms may fail. Use this API to find out if the GPU is currently accessible or not. If API returns GPU accessible, this status will be maintained for 2 seconds.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpAccessibility | The pointer to an int value which indicates if the adapter is accessible or not (ADL_TRUE : Accessible, ADL_FALSE : Not accessible) |
int ADL2_Adapter_VideoBiosInfo_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
ADLBiosInfo * | lpBiosInfo | |||
) |
ADL local interface. Function to retrieve BIOS information.
This function retrieves the BIOS information for 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] | lpBiosInfo | The pointer to the structure storing the retrieved BIOs information. |
int ADL_Adapter_VideoBiosInfo_Get | ( | int | iAdapterIndex, | |
ADLBiosInfo * | lpBiosInfo | |||
) |
ADL local interface. Function to retrieve BIOS information.
This function retrieves the BIOS information for a specified adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpBiosInfo | The pointer to the structure storing the retrieved BIOs information. |
int ADL2_Adapter_ID_Get | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
int * | lpAdapterID | |||
) |
Function to get the unique identifier of an adapter.
This function retrieves the unique identifier of a specified adapter.
The adapter ID is a unique value and will be used to determine what other controllers share the same adapter.
The desktop will use this to find which HDCs are associated with an 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] | lpAdapterID | The pointer to the adapter identifier. Zero means: The adapter is not AMD. |
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.
int ADL_Adapter_ID_Get | ( | int | iAdapterIndex, | |
int * | lpAdapterID | |||
) |
Function to get the unique identifier of an adapter.
This function retrieves the unique identifier of a specified adapter.
The adapter ID is a unique value and will be used to determine what other controllers share the same adapter.
The desktop will use this to find which HDCs are associated with an adapter.
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | lpAdapterID | The pointer to the adapter identifier. Zero means: The adapter is not AMD. |
int ADL2_AdapterX2_Caps | ( | ADL_CONTEXT_HANDLE | context, | |
int | iAdapterIndex, | |||
ADLAdapterCapsX2 * | adapterCaps | |||
) |
Function to retrieve adapter caps information.
This function implements a DI call to retrieve adapter capability 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] | adapterCaps | The pointer to the structure storing the retrieved adapter capability information. |
int ADL_AdapterX2_Caps | ( | int | iAdapterIndex, | |
ADLAdapterCapsX2 * | adapterCaps | |||
) |
Function to retrieve adapter caps information.
This function implements a DI call to retrieve adapter capability information .
[in] | iAdapterIndex | The ADL index handle of the desired adapter. |
[out] | adapterCaps | The pointer to the structure storing the retrieved adapter capability information. |