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

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

Go to the source code of this file.

Macros

#define ADL_EXTERNC
 

Functions

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 when DPPE state switching is configured. More...
 
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 DPPE state switching is configured. More...
 
int ADL2_Display_PowerXpressActiveGPU_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpActiveGPU)
 Function to get the active GPU in PowerXpress. More...
 
int ADL2_Display_PowerXpressActiveGPU_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iActiveGPU, int *lpOperationResult)
 Function to set the active GPU in PowerXpress. More...
 
int ADL2_Display_PowerXpressVersion_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpVersion)
 Function to retrieve the PowerXpress version. More...
 
int ADL2_PowerXpress_AncillaryDevices_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices)
 This function gets ancillary GPUs. More...
 
int ADL2_PowerXpress_Config_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXConfigCaps *lpPXConfigCaps)
 This function gets the PowerXpress configuration Caps. More...
 
int ADL2_PowerXpress_Configuration_Get (ADL_CONTEXT_HANDLE context, ADLPxType *lpPxType, ADLBdf *lpIGPUBdf, int *lpNumberOfDGPUs, ADLBdf **lppDGPUBDFs)
 This function gets PX configuration. More...
 
int ADL2_PowerXpress_Scheme_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXScheme *lpPXSchemeRange, ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState)
 This function gets the PowerXpress scheme. More...
 
int ADL2_PowerXpress_Scheme_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLPXScheme scheme)
 This function sets the PowerXpress scheme. More...
 
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. More...
 
int ADL2_Win_IsHybridAI (ADL_CONTEXT_HANDLE context)
 ADL local interface. Function to get Hybrid Discrete graphics support. More...
 
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 when DPPE state switching is configured. More...
 
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 DPPE state switching is configured. More...
 
int ADL_Display_PowerXpressActiveGPU_Get (int iAdapterIndex, int *lpActiveGPU)
 Function to get the active GPU in PowerXpress. More...
 
int ADL_Display_PowerXpressActiveGPU_Set (int iAdapterIndex, int iActiveGPU, int *lpOperationResult)
 Function to set the active GPU in PowerXpress. More...
 
int ADL_Display_PowerXpressVersion_Get (int iAdapterIndex, int *lpVersion)
 Function to retrieve the PowerXpress version. More...
 
int ADL_PowerXpress_AncillaryDevices_Get (int iAdapterIndex, int *lpNumberOfAncillaryDevices, ADLBdf **lppAncillaryDevices)
 This function gets ancillary GPUs. More...
 
int ADL_PowerXpress_Config_Caps (int iAdapterIndex, ADLPXConfigCaps *lpPXConfigCaps)
 This function gets the PowerXpress configuration Caps. More...
 
int ADL_PowerXpress_Scheme_Get (int iAdapterIndex, ADLPXScheme *lpPXSchemeRange, ADLPXScheme *lpPXSchemeCurrentState, ADLPXScheme *lpPXSchemeDefaultState)
 This function gets the PowerXpress scheme. More...
 
int ADL_PowerXpress_Scheme_Set (int iAdapterIndex, ADLPXScheme scheme)
 This function sets the PowerXpress scheme. More...
 

Detailed Description

Copyright (c) 2010 - 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 AMD PowerExpress-related functions exposed by ADL 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 specified function pointers can be used by the appropriate runtime dynamic library loaders. This header file is for AMD internal use only.

Macro Definition Documentation

◆ ADL_EXTERNC

#define ADL_EXTERNC

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