ADL (AMD Display Library) Public APIs  Version 17.1
powerxpress.h
Go to the documentation of this file.
1 
7 
14 
15 #ifndef AMD_PX_H_
16 #define AMD_PX_H_
17 
18 #ifndef ADL_EXTERNC
19 #ifdef __cplusplus
20 #define ADL_EXTERNC extern "C"
21 #else
22 #define ADL_EXTERNC
23 #endif
24 #endif
25 
31 
45 
57 
70 
81 
94 ADL_EXTERNC int EXPOSED ADL2_Display_PowerXpressActiveGPU_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iActiveGPU, int * lpOperationResult);
95 
106 ADL_EXTERNC int EXPOSED ADL_Display_PowerXpressActiveGPU_Set(int iAdapterIndex, int iActiveGPU, int * lpOperationResult);
107 
120 ADL_EXTERNC int EXPOSED ADL2_Display_PowerXpress_AutoSwitchConfig_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int *lpAutoSwitchOnACDCEvent, int *lpAutoSwitchOnDCACEvent);
121 
132 ADL_EXTERNC int EXPOSED ADL_Display_PowerXpress_AutoSwitchConfig_Get(int iAdapterIndex, int *lpAutoSwitchOnACDCEvent, int *lpAutoSwitchOnDCACEvent);
133 
146 ADL_EXTERNC int EXPOSED ADL2_Display_PowerXpress_AutoSwitchConfig_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iAutoSwitchOnACDCEvent, int iAutoSwitchOnDCACEvent);
147 
158 ADL_EXTERNC int EXPOSED ADL_Display_PowerXpress_AutoSwitchConfig_Set(int iAdapterIndex, int iAutoSwitchOnACDCEvent, int iAutoSwitchOnDCACEvent);
159 
173 
185 
200  ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState);
201 
214  ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState);
215 
228 
239 
240 
254 ADL_EXTERNC int EXPOSED ADL2_PowerXpress_AncillaryDevices_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices);
255 
267 ADL_EXTERNC int EXPOSED ADL_PowerXpress_AncillaryDevices_Get(int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices);
268 
282 ADL_EXTERNC int EXPOSED ADL2_SwitchableGraphics_Applications_Get(ADL_CONTEXT_HANDLE context, int iListType, int *lpNumApps, ADLSGApplicationInfo **lppAppList);
283 
284 
295 
305 
310 ADL_EXTERNC int EXPOSED ADL2_PowerXpress_Configuration_Get(ADL_CONTEXT_HANDLE context, ADLPxType *lpPxType, ADLBdf *lpIGPUBdf, int *lpNumberOfDGPUs, ADLBdf **lppDGPUBDFs);
311 
313 
314 #endif /* AMD_PX_H_ */
ADL_Display_PowerXpress_AutoSwitchConfig_Get
int ADL_Display_PowerXpress_AutoSwitchConfig_Get(int iAdapterIndex, int *lpAutoSwitchOnACDCEvent, int *lpAutoSwitchOnDCACEvent)
Function to retrieve the auto switch configuration setting for PowerXpress. This is not supported whe...
ADL_PowerXpress_AncillaryDevices_Get
int ADL_PowerXpress_AncillaryDevices_Get(int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices)
This function gets ancillary GPUs.
ADLPXConfigCaps
Structure containing information about driver supported PowerExpress Config Caps.
Definition: adl_structures.h:1891
ADL_Display_PowerXpressActiveGPU_Set
int ADL_Display_PowerXpressActiveGPU_Set(int iAdapterIndex, int iActiveGPU, int *lpOperationResult)
Function to set the active GPU in PowerXpress.
ADL2_SwitchableGraphics_Applications_Get
int ADL2_SwitchableGraphics_Applications_Get(ADL_CONTEXT_HANDLE context, int iListType, int *lpNumApps, ADLSGApplicationInfo **lppAppList)
ADL local interface. Function to get all the recently ran and currently running applications.
ADL2_PowerXpress_Configuration_Get
int ADL2_PowerXpress_Configuration_Get(ADL_CONTEXT_HANDLE context, ADLPxType *lpPxType, ADLBdf *lpIGPUBdf, int *lpNumberOfDGPUs, ADLBdf **lppDGPUBDFs)
This function gets PX configuration.
ADL_EXTERNC
#define ADL_EXTERNC
Definition: powerxpress.h:22
ADL2_Display_PowerXpressVersion_Get
int ADL2_Display_PowerXpressVersion_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpVersion)
Function to retrieve the PowerXpress version.
ADL2_PowerXpress_Config_Caps
int ADL2_PowerXpress_Config_Caps(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXConfigCaps *lpPXConfigCaps)
This function gets the PowerXpress configuration Caps.
ADL2_PowerXpress_AncillaryDevices_Get
int ADL2_PowerXpress_AncillaryDevices_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices)
This function gets ancillary GPUs.
ADL_PowerXpress_Config_Caps
int ADL_PowerXpress_Config_Caps(int iAdapterIndex, ADLPXConfigCaps *lpPXConfigCaps)
This function gets the PowerXpress configuration Caps.
ADLAdapterLocation
Structure containing information about adapter location.
Definition: adl_structures.h:1341
ADL2_Display_PowerXpress_AutoSwitchConfig_Get
int ADL2_Display_PowerXpress_AutoSwitchConfig_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpAutoSwitchOnACDCEvent, int *lpAutoSwitchOnDCACEvent)
Function to retrieve the auto switch configuration setting for PowerXpress. This is not supported whe...
ADL2_Win_IsHybridAI
int ADL2_Win_IsHybridAI(ADL_CONTEXT_HANDLE context)
ADL local interface. Function to get Hybrid Discrete graphics support.
ADL2_PowerXpress_Scheme_Set
int ADL2_PowerXpress_Scheme_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXScheme scheme)
This function sets the PowerXpress scheme.
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADL2_PowerXpress_Scheme_Get
int ADL2_PowerXpress_Scheme_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXScheme *lpPXSchemeRange, ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState)
This function gets the PowerXpress scheme.
ADLSGApplicationInfo
Structure containing information about an application.
Definition: adl_structures.h:3496
ADL2_Display_PowerXpressActiveGPU_Get
int ADL2_Display_PowerXpressActiveGPU_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpActiveGPU)
Function to get the active GPU in PowerXpress.
ADL_PowerXpress_Scheme_Set
int ADL_PowerXpress_Scheme_Set(int iAdapterIndex, ADLPXScheme scheme)
This function sets the PowerXpress scheme.
ADL_PowerXpress_Scheme_Get
int ADL_PowerXpress_Scheme_Get(int iAdapterIndex, ADLPXScheme *lpPXSchemeRange, ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState)
This function gets the PowerXpress scheme.
ADLPXScheme
ADLPXScheme
PX Schemes.
Definition: adl_defines.h:1326
ADL_Display_PowerXpress_AutoSwitchConfig_Set
int ADL_Display_PowerXpress_AutoSwitchConfig_Set(int iAdapterIndex, int iAutoSwitchOnACDCEvent, int iAutoSwitchOnDCACEvent)
Function to set the auto switch configuration setting for PowerXpress. This is not supported when DPP...
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
ADL_Display_PowerXpressVersion_Get
int ADL_Display_PowerXpressVersion_Get(int iAdapterIndex, int *lpVersion)
Function to retrieve the PowerXpress version.
ADL2_Display_PowerXpressActiveGPU_Set
int ADL2_Display_PowerXpressActiveGPU_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iActiveGPU, int *lpOperationResult)
Function to set the active GPU in PowerXpress.
ADL2_Display_PowerXpress_AutoSwitchConfig_Set
int ADL2_Display_PowerXpress_AutoSwitchConfig_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iAutoSwitchOnACDCEvent, int iAutoSwitchOnDCACEvent)
Function to set the auto switch configuration setting for PowerXpress. This is not supported when DPP...
ADLPxType
ADLPxType
Enum containing PX or HG type.
Definition: adl_structures.h:1910
ADL_Display_PowerXpressActiveGPU_Get
int ADL_Display_PowerXpressActiveGPU_Get(int iAdapterIndex, int *lpActiveGPU)
Function to get the active GPU in PowerXpress.

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