ADL (AMD Display Library) Public APIs  Version 17.1
adl.h
Go to the documentation of this file.
1 
7 
30 
31 #ifndef ADL_H_
32 #define ADL_H_
33 
34 // Define the API groups here so they can appear in this particular order.
35 // Use Doxygen command "ingroup" to add APIs to these groups from other files.
36 
42 
46 
50 
54 
58 
62 
66 
70 
74 
78 
82 
86 
90 
94 
98 
102 
106 
110 
114 
118 
122 
126 
130 
134 
138 
147 
148 
149 // Enable the top "API Groups" this by adding one more slash line at the beginning of line below...
150 //\defgroup ADL_API API Groups
151 
155 
159 
163 
167 
171 
176 
180 
184 
185 
186 
187 
188 #include "adl_sdk.h"
189 #include "amd_only/amd_structures.h"
190 
191 #include "adapter.h"
192 #include "display.h"
193 #include "workstation.h"
194 #include "displaysmanager.h"
195 
196 #ifndef ADL_EXTERNC
197 #ifdef __cplusplus
198 #define ADL_EXTERNC extern "C"
199 #else
200 #define ADL_EXTERNC
201 #endif
202 #endif
203 
204 
205 #ifndef EXPOSED
206 #define EXPOSED
207 #endif /* EXPOSED */
208 
209 
220 ADL_EXTERNC int EXPOSED ADL_Main_ControlX2_Create ( ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADLThreadingModel threadingModel );
221 
235 ADL_EXTERNC int EXPOSED ADL2_Main_ControlX2_Create ( ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE* context, ADLThreadingModel threadingModel);
236 
253 ADL_EXTERNC int EXPOSED ADL2_Main_ControlX3_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE* context, ADLThreadingModel threadingModel, int adlCreateOptions);
254 
266 ADL_EXTERNC int EXPOSED ADL_Main_Control_Create ( ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters );
267 
280 ADL_EXTERNC int EXPOSED ADL2_Main_Control_Create ( ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE* context);
281 
292 
301 
310 
321 
333 ADL_EXTERNC EXPOSED void* ADL2_Main_Control_GetProcAddress (ADL_CONTEXT_HANDLE context, void* lpModule, char* lpProcName );
334 
344 ADL_EXTERNC EXPOSED void* ADL_Main_Control_GetProcAddress ( void* lpModule, char* lpProcName );
345 
355 
358 ADL_EXTERNC int EXPOSED ADL2_RegisterEvent(ADL_CONTEXT_HANDLE context, int eventID, void* evntHandle);
359 
371 ADL_EXTERNC int EXPOSED ADL2_UnRegisterEvent(ADL_CONTEXT_HANDLE context, int eventID, void* evntHandle);
372 
373 
383 
386 ADL_EXTERNC int EXPOSED ADL2_RegisterEventX2(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void* evntHandle);
387 
399 ADL_EXTERNC int EXPOSED ADL2_UnRegisterEventX2(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void* evntHandle);
400 
417 ADL_EXTERNC int EXPOSED ADL2_PerGPU_GDEvent_Register(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void* evntHandle);
418 
433 ADL_EXTERNC int EXPOSED ADL2_PerGPU_GDEvent_UnRegister(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void* evntHandle);
435 
436 
437 #endif /* ADL_H_ */
ADL_EXTERNC
#define ADL_EXTERNC
Definition: adapter.h:25
ADL_Main_Control_Destroy
int ADL_Main_Control_Destroy()
Function to destroy ADL global pointers. This function should be called last.
ADL2_PerGPU_GDEvent_UnRegister
int ADL2_PerGPU_GDEvent_UnRegister(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void *evntHandle)
ADL2_Main_Control_Destroy
int ADL2_Main_Control_Destroy(ADL_CONTEXT_HANDLE context)
Destroy client's ADL context.
ADL2_Main_ControlX2_Create
int ADL2_Main_ControlX2_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE *context, ADLThreadingModel threadingModel)
Function to initialize the ADL2 interface and issue client's context handle.
ADL2_UnRegisterEvent
int ADL2_UnRegisterEvent(ADL_CONTEXT_HANDLE context, int eventID, void *evntHandle)
ADL_Main_Control_Refresh
int ADL_Main_Control_Refresh()
Function to refresh adapter information. This function generates an adapter index value for all logic...
displaysmanager.h
Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc.
ADL_Main_Control_GetProcAddress
void * ADL_Main_Control_GetProcAddress(void *lpModule, char *lpProcName)
ADL local interface. Function to determine the validity of and retrieve the function pointer (similar...
ADL_Main_Control_Create
int ADL_Main_Control_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters)
Function to initialize the ADL interface. This function should be called first.
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADL2_RegisterEventX2
int ADL2_RegisterEventX2(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void *evntHandle)
ADLThreadingModel
ADLThreadingModel
Definition: adl_defines.h:873
ADL2_Main_Control_Create
int ADL2_Main_Control_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE *context)
Function to initialize the ADL2 interface and to obtain client's context handle.
ADL_MAIN_MALLOC_CALLBACK
void *(* ADL_MAIN_MALLOC_CALLBACK)(int)
Memory Allocation Call back.
Definition: adl_sdk.h:41
adl_sdk.h
Contains the definition of the Memory Allocation Callback. Included in ADL SDK
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
display.h
Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc.
ADL2_RegisterEvent
int ADL2_RegisterEvent(ADL_CONTEXT_HANDLE context, int eventID, void *evntHandle)
ADL_Main_ControlX2_Create
int ADL_Main_ControlX2_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADLThreadingModel threadingModel)
Function to initialize the ADL interface. This function should be called first.
workstation.h
Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc.
adapter.h
Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc.
ADL2_Main_ControlX3_Create
int ADL2_Main_ControlX3_Create(ADL_MAIN_MALLOC_CALLBACK callback, int iEnumConnectedAdapters, ADL_CONTEXT_HANDLE *context, ADLThreadingModel threadingModel, int adlCreateOptions)
Function to initialize the ADL2 interface and issue client's context handle.
ADL2_PerGPU_GDEvent_Register
int ADL2_PerGPU_GDEvent_Register(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void *evntHandle)
ADL2_Main_Control_Refresh
int ADL2_Main_Control_Refresh(ADL_CONTEXT_HANDLE context)
Function to refresh adapter information. This function generates an adapter index value for all logic...
ADL2_UnRegisterEventX2
int ADL2_UnRegisterEventX2(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int clientID, int eventID, void *evntHandle)
ADL2_Main_Control_GetProcAddress
void * ADL2_Main_Control_GetProcAddress(ADL_CONTEXT_HANDLE context, void *lpModule, char *lpProcName)
ADL local interface. Function to determine the validity of and retrieve the function pointer (similar...

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