ADL (AMD Display Library) Public APIs  Version 17.1
Macros

This group of definitions are the various results returned by all ADL functions
All OK, but need to wait. More...

Macros

#define ADL_ERR   -1
 Generic Error. Most likely one or more of the Escape calls to the driver failed! More...
 
#define ADL_ERR_CALL_TO_INCOMPATIABLE_DRIVER   -22
 escape call failed becuse of incompatiable driver found in driver store More...
 
#define ADL_ERR_DISABLED_ADAPTER   -10
 Call can't be made due to disabled adapter. More...
 
#define ADL_ERR_FEATURESYNC_NOT_STARTED   -24
 Feature Sync Start api is not called yet. More...
 
#define ADL_ERR_INVALID_ADL_IDX   -5
 Invalid ADL index passed. More...
 
#define ADL_ERR_INVALID_CALLBACK   -11
 Invalid Callback. More...
 
#define ADL_ERR_INVALID_CONTROLLER_IDX   -6
 Invalid controller index passed. More...
 
#define ADL_ERR_INVALID_DIPLAY_IDX   -7
 Invalid display index passed. More...
 
#define ADL_ERR_INVALID_PARAM   -3
 One of the parameter passed is invalid. More...
 
#define ADL_ERR_INVALID_PARAM_SIZE   -4
 One of the parameter size is invalid. More...
 
#define ADL_ERR_INVALID_POWER_STATE   -25
 Adapter is in an invalid power state. More...
 
#define ADL_ERR_NO_ADMINISTRATOR_PRIVILEGES   -23
 not running as administrator More...
 
#define ADL_ERR_NO_XDISPLAY   -21
 There's no Linux XDisplay in Linux Console environment. More...
 
#define ADL_ERR_NOT_INIT   -2
 ADL not initialized. More...
 
#define ADL_ERR_NOT_SUPPORTED   -8
 Function not supported by the driver. More...
 
#define ADL_ERR_NULL_POINTER   -9
 Null Pointer error. More...
 
#define ADL_ERR_RESOURCE_CONFLICT   -12
 Display Resource conflict. More...
 
#define ADL_ERR_SET_INCOMPLETE   -20
 
#define ADL_OK   0
 ADL function completed successfully. More...
 
#define ADL_OK_MODE_CHANGE   2
 All OK but need mode change. More...
 
#define ADL_OK_RESTART   3
 All OK, but need restart. More...
 
#define ADL_OK_WAIT   4
 
#define ADL_OK_WARNING   1
 All OK, but with warning. More...
 

Detailed Description

This group of definitions are the various results returned by all ADL functions
All OK, but need to wait.

Macro Definition Documentation

◆ ADL_ERR

#define ADL_ERR   -1

Generic Error. Most likely one or more of the Escape calls to the driver failed!

◆ ADL_ERR_CALL_TO_INCOMPATIABLE_DRIVER

#define ADL_ERR_CALL_TO_INCOMPATIABLE_DRIVER   -22

escape call failed becuse of incompatiable driver found in driver store

◆ ADL_ERR_DISABLED_ADAPTER

#define ADL_ERR_DISABLED_ADAPTER   -10

Call can't be made due to disabled adapter.

◆ ADL_ERR_FEATURESYNC_NOT_STARTED

#define ADL_ERR_FEATURESYNC_NOT_STARTED   -24

Feature Sync Start api is not called yet.

◆ ADL_ERR_INVALID_ADL_IDX

#define ADL_ERR_INVALID_ADL_IDX   -5

Invalid ADL index passed.

◆ ADL_ERR_INVALID_CALLBACK

#define ADL_ERR_INVALID_CALLBACK   -11

Invalid Callback.

◆ ADL_ERR_INVALID_CONTROLLER_IDX

#define ADL_ERR_INVALID_CONTROLLER_IDX   -6

Invalid controller index passed.

◆ ADL_ERR_INVALID_DIPLAY_IDX

#define ADL_ERR_INVALID_DIPLAY_IDX   -7

Invalid display index passed.

◆ ADL_ERR_INVALID_PARAM

#define ADL_ERR_INVALID_PARAM   -3

One of the parameter passed is invalid.

◆ ADL_ERR_INVALID_PARAM_SIZE

#define ADL_ERR_INVALID_PARAM_SIZE   -4

One of the parameter size is invalid.

◆ ADL_ERR_INVALID_POWER_STATE

#define ADL_ERR_INVALID_POWER_STATE   -25

Adapter is in an invalid power state.

◆ ADL_ERR_NO_ADMINISTRATOR_PRIVILEGES

#define ADL_ERR_NO_ADMINISTRATOR_PRIVILEGES   -23

not running as administrator

◆ ADL_ERR_NO_XDISPLAY

#define ADL_ERR_NO_XDISPLAY   -21

There's no Linux XDisplay in Linux Console environment.

◆ ADL_ERR_NOT_INIT

#define ADL_ERR_NOT_INIT   -2

ADL not initialized.

◆ ADL_ERR_NOT_SUPPORTED

#define ADL_ERR_NOT_SUPPORTED   -8

Function not supported by the driver.

◆ ADL_ERR_NULL_POINTER

#define ADL_ERR_NULL_POINTER   -9

Null Pointer error.

◆ ADL_ERR_RESOURCE_CONFLICT

#define ADL_ERR_RESOURCE_CONFLICT   -12

Display Resource conflict.

◆ ADL_ERR_SET_INCOMPLETE

#define ADL_ERR_SET_INCOMPLETE   -20

◆ ADL_OK

#define ADL_OK   0

ADL function completed successfully.

◆ ADL_OK_MODE_CHANGE

#define ADL_OK_MODE_CHANGE   2

All OK but need mode change.

◆ ADL_OK_RESTART

#define ADL_OK_RESTART   3

All OK, but need restart.

◆ ADL_OK_WAIT

#define ADL_OK_WAIT   4

◆ ADL_OK_WARNING

#define ADL_OK_WARNING   1

All OK, but with warning.


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