Skip to content

Commit 432882b

Browse files
committed
Update ADL to 16.0
1 parent 209538e commit 432882b

File tree

646 files changed

+19046
-12867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

646 files changed

+19046
-12867
lines changed

Public-Documents/API List.md

+176
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
# List of APIs
2+
Below is the list based introducation order.
3+
4+
---
5+
6+
### APIs Intoduced in 15.0
7+
int **ADL2\_Adapter\_AceDefaults\_Restore(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex)**
8+
>ADL local interface Function to restore all the ACE's INF registry defaults.
9+
10+
int **ADL2\_Adapter\_AdapterInfoX4\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* numAdapters, AdapterInfoX2\*\* lppAdapterInfoX2)**<br>
11+
>ADL local interface. Retrieves extended adapter information for given adapter or all OS-known adapters.
12+
13+
int **ADL2\_Adapter\_AdapterInfoX3\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* numAdapters, AdapterInfo\*\* lppAdapterInfo)**
14+
>ADL local interface. Retrieves adapter information for given adapter or all OS-known adapters.
15+
16+
int **ADL2\_Adapter\_AdapterList\_Disable(ADL\_CONTEXT\_HANDLE context, int iNumAdapters, int \*lpAdapterIndexList, bool isSkipSaveDB = false)**
17+
>Function to disable a list of logic adapters once.
18+
19+
int **ADL2\_Adapter\_BigSw\_Info\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* lpBigSwSupportMajor, int\* lpBigSwSupportMinor, int\* lpRedStoneSupport)**
20+
>This function retrieves the Big Software & Red Stone support information for a specified adapter.
21+
22+
int **ADL2\_Adapter\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLAdapterCaps \*adapterCaps)**
23+
>Function to retrieve adapter caps information.
24+
25+
int **ADL2\_Adapter\_ChipSetInfo\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLChipSetInfo \* lpChipSetInfo)**
26+
>Function to retrieve chipset information.
27+
28+
int **ADL2\_Adapter\_Feature\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADL\_UIFEATURES\_GROUP iFeatureID, int \*iIsFeatureSupported)**
29+
>Function to Checks the feature if given GPU (identified by adapter id) supports or not.
30+
31+
int **ADL2\_Adapter\_HBC\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpHbcCapable)**
32+
>Function to retrieve HBC Capability.
33+
34+
int **ADL2\_Adapter\_Headless\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpHeadless)**
35+
>Function to retrieve whether an adapter is Headless or not.
36+
37+
int **ADL2\_Adapter\_IsGamingDriver\_Info\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* lpCwgSupport, int\* lpIsGamingMode)**
38+
>function retrieves the creator who game support information for a specified adapter.
39+
40+
int **ADL2\_Adapter\_MemoryInfo2\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLMemoryInfo2 \*lpMemoryInfo2)**
41+
>Function to retrieve memory information from the adapter. Version 2
42+
43+
int **ADL2\_Adapter\_TRNG\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iTRNGSize, int iTRNGBufferSize, char \*lpTRNGBuffer)**
44+
>Function to retrieve true Hardware generated random number.
45+
46+
int **ADL2\_Adapter\_Modes\_ReEnumerate(ADL\_CONTEXT\_HANDLE context)**
47+
>Function to re-enumerate adapter modes.
48+
49+
int **ADL2\_Adapter\_VideoTheaterModeInfo\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* lpOverlayDisplayMode, int\* lpSavedSettings)**
50+
>Function to get MM video theater mode info
51+
52+
int **ADL2\_Adapter\_VideoTheaterModeInfo\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iOverlayDisplayMode, int iSavedSettings)**
53+
>Function to set MM video theater mode info
54+
55+
int **ADL2\_Feature\_Settings\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADL\_UIFEATURES\_GROUP iFeatureID, int \*iCurrent)**
56+
>Function to retrieve the current value of given feature on a given adapter
57+
58+
int **ADL2\_Feature\_Settings\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADL\_UIFEATURES\_GROUP iFeatureID, int iCurrent)**
59+
>Function sets the current value to driver of given adapter.
60+
61+
int **ADL2\_GcnAsicInfo\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLGcnInfo\* gcnInfo)**
62+
>For given ASIC returns information about components of ASIC GCN architecture. Such as number of compute units, number of Tex (Texture filtering units) , number of ROPs (render back-ends).
63+
64+
int **ADL2\_GPUVMPageSize\_Info\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* iVMPageSizeSupport, int\* iVMPageSizeType)**
65+
>Function to gets the GPU VM PageSize info.
66+
67+
int **ADL2\_GPUVMPageSize\_Info\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iVMPageSizeType)**
68+
>Function to sets the GPU VM PageSize info.
69+
70+
int **ADL2\_RegisterEvent(ADL\_CONTEXT\_HANDLE context, int eventID, void\* evntHandle)**
71+
>Allows the client to register to specific graphics driver event.
72+
73+
int **ADL2\_UnRegisterEvent(ADL\_CONTEXT\_HANDLE context, int eventID, void\* evntHandle)**
74+
>Allows the client to un-register from specific graphics driver event.
75+
76+
int **ADL2\_RegisterEventX2(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int clientID, int eventID, void\* evntHandle)**
77+
>Allows the client to register to specific graphics driver event.
78+
79+
int **ADL2\_UnRegisterEventX2(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int clientID, int eventID, void\* evntHandle)**
80+
>Allows the client to un-register from specific graphics driver event.
81+
82+
int **ADL2\_PerGPU\_GDEvent\_Register(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int clientID, int eventID, void\* evntHandle)**
83+
>Allows the client to register to specific graphics driver event for given GPU for each GPU
84+
85+
int **ADL2\_PerGPU\_GDEvent\_UnRegister(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int clientID, int eventID, void\* evntHandle)**
86+
>Allows the client to un-register to specific graphics driver event for a given GPU or for each GPU
87+
88+
int **ADL2\_MMD\_Features\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLFeatureCaps \*\* lppFeatureCaps, int * lpFeatureCount)**
89+
>Function to obtain capabilities of Multi-Media features
90+
91+
int **ADL2\_MMD\_FeatureValues\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLFeatureValues \*\* lppFeatureValues, int * lpFeatureCount)**
92+
>Function to obtain the values and state of a Multi-Media feature
93+
94+
int **ADL2\_MMD\_FeatureValues\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLFeatureValues \* lpFeatureValues, int iFeatureCount, int ClientID)**
95+
>Function to set the current value of a Multi-Media feature
96+
97+
int **ADL2\_PageMigration\_Settings\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLVirtualSegmentSettingsOutput \*lpVirtualSegSettings)**
98+
>Function to retrieve PageMigration Global Settings.
99+
100+
int **ADL2\_PageMigration\_Settings\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iEnabled, int iNewSize)**
101+
>Function to update PageMigration Global Settings.
102+
103+
int **ADL2\_MGPUSLS\_Status\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iStatus)**
104+
>This function communicates KMD that user changed MGPU SLS feature.
105+
106+
int **ADL2\_Adapter\_CrossfireX2\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADLCrossfireComb \*lpCrossfireComb, ADLCrossfireInfo \*lpCrossfireInfo)**
107+
>Function to get current CrossfireX settings for both QUAD and Software crossfire.
108+
109+
int **ADL2\_ElmCompatibilityMode\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpSupported, int \*lpDefault)**
110+
>Function to retrieve Compatibility Mode setting capability.
111+
112+
int **ADL2\_ElmCompatibilityMode\_Status\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpValue)**
113+
>Function to retrieve Compatibility Mode status whether it is On or Off.
114+
115+
int **ADL2\_ElmCompatibilityMode\_Status\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iValue)**
116+
>Function to update Compatibility Mode status to either On or Off.
117+
118+
int **ADL2\_Chill\_Settings\_Notify(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iChanged)**
119+
>Function to notify DX via KMD that Chill settings have changed.
120+
121+
int **ADL2\_Chill\_Settings\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iEnabled)**
122+
>Function to enable or disable Global Chill.
123+
124+
int **ADL2\_Chill\_Settings\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* lpEnabled)**
125+
>Function to get the Global Chill capabilities.
126+
127+
int **ADL2\_Chill\_Caps\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int\* iSupported, int\* iCheckCaps)**
128+
>Function to get the Global Chill capabilities.
129+
130+
int **ADL2\_PerformanceTuning\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpSupported, int \*lpDefault)**
131+
>Function to retrieve Performance Tuning capability.
132+
133+
int **ADL2\_PerfTuning\_Status\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpPTuningValue)**
134+
>Function to retrieve Performance ui tunning status whether it is On or Off.
135+
136+
int **ADL2\_PerfTuning\_Status\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int lpPTuningValue)**
137+
>Function to update Performance ui tunning status to either On or Off.
138+
139+
int **ADL2\_PPW\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpSupported, int \*lpDefault)**
140+
>Function to retrieve Performance Per Watt setting capability.
141+
142+
int **ADL2\_PPW\_Status\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*lpFPWValue)**
143+
>Function to retrieve Performance Per Watt status whether it is On or Off.
144+
145+
int **ADL2\_PPW\_Status\_Set(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int iFPWValue)**
146+
>Function to update Performance Per Watt status to either On or Off.
147+
148+
int **ADL2\_Adapter\_FrameMetrics\_Caps(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \*iIsFrameMonitorSupported)**
149+
>Function to Checks if given GPU (identified by adapter id) supports Frame Monitoring Metrics or not.
150+
151+
int **ADL2\_Adapter\_FrameMetrics\_Start(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int VidPnSourceId)**
152+
>Function to start frame metrics monitoring on GPU (identified by adapter id).
153+
154+
int **ADL2\_Adapter\_FrameMetrics\_Stop(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int VidPnSourceId)**
155+
>Function to stop frame metrics monitoring on GPU (identified by adapter id).
156+
157+
int **ADL2\_Adapter\_FrameMetrics\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int VidPnSourceId, float \*iFramesPerSecond)**
158+
>Function to retrieve frame metrics information on GPU (identified by adapter id).
159+
160+
int **ADL2\_Adapter\_FrameMetrics\_FrameDuration\_Enable(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADL\_FRAME\_DURATION\_HANDLE\* frameDurationHandle)**
161+
>Function to Enable frame metrics time stamp recording on any GPU.
162+
163+
int **ADL2\_Adapter\_FrameMetrics\_FrameDuration\_Disable(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, ADL\_FRAME\_DURATION\_HANDLE\* frameDurationHandle)**
164+
>Function to Disable frame metrics time stamp recording on any GPU.
165+
166+
int **ADL2\_Adapter\_FrameMetrics\_FrameDuration\_Start(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int VidPnSourceId)**;
167+
>Function to start frame metrics time stamp recording on GPU (identified by adapter id).
168+
169+
int **ADL2\_Adapter\_FrameMetrics\_FrameDuration\_Stop(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int VidPnSourceId)**;
170+
>Function to stop frame metrics time stamp recording on GPU (identified by adapter id).
171+
172+
int **ADL2\_Adapter\_FrameMetrics\_FrameDuration\_Get(ADL\_CONTEXT\_HANDLE context, ADL\_FRAME\_DURATION\_HANDLE frameDurationHandle, unsigned long long \* pFrameDurationsArr, unsigned int frameDurationsArrSize, unsigned int \*elementsCopied)**
173+
>Function to retrieve frame metrics frame duration information on GPU (identified by adapter id).
174+
175+
int **ADL2\_Adapter\_VRAMUsage\_Get(ADL\_CONTEXT\_HANDLE context, int iAdapterIndex, int \* iVRAMUsageInMB)**
176+
>Function to get the current GPU VRAM usage.

Public-Documents/README.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,32 @@ ADL binaries are delivered as part of the Catalyst display Driver package while
77

88
---
99

10+
### ADL 16.0 - Release Notes
11+
* Added samples:
12+
* <a href="SmartDC-example.html">SmartDC</a>: Added sample to illustrate how to control SmartDC from ADL.
13+
* <a href="SideBySide-example.html">SideBySide</a>: Added sample to illustrate how to use Side by Side from ADL.
14+
15+
---
16+
1017
### ADL 15.0 - Release Notes
11-
* SDK is renewed with improved layout and documentation
18+
* SDK is renewed with improved layout and documentation.
1219
* ADL APIs are further restructured based on specific functionality.
20+
* <a href="group__WATTMANAPI.html">Wattman Related APIs</a>: Add note for ADL2_Overdrive_Caps.
1321
* <a href="LatestAPIS.html">New APIs</a>:
1422
More than 100 ADL APIs are exposed to Public section.
1523
* New samples:
1624
* <a href="AMDDisplayTool-example.html">AMDDisplayTool</a>: This user interface sample demonstrates configuring different Display specific features. The list includes Virtual Super Resolution, FreeSync, GPU Scaling, Color Depth, Pixel Format and Color (Brightness, Hue, Saturation and Contrast) specific features. This sample also provides way to configure global Chill toggle functionality. This UI interface is localized based on the default UI language if it is in the supported language list.
1725
* <a href="PXRunningApps-example.html">PXRunningApps</a>: This sample demonstrates listing currently running applications on PowerXpress/Hybrid Graphics platform.
26+
* Upgraded samples:
27+
* <a href="Overdrive8-example.html">Overdrive8</a>: Updated sample to illustrate how to set Auto Tuning.
1828
* Bug Fixes:
1929
* SWDEV-196568 - ADL Call Error With WX7100
2030
* SWDEV-202786 - Navi 10 ADL Fan Percentage API ADLSensorType (PMLOG_FAN_PERCENTAGE) value incorrect
2131
* SWDEV-217167 - GPU activity always reported 65535 in RX 5500 with ADL SDK OD8
2232
* SWDEV-244219 - An error about "LoadLibrary failed with error 87:parameter error" popup when do multi display test with "Onboard VGA/DP/HDMI+add-on VGA".
23-
33+
* SWDEV-256913 - Factory Reset "Reboot Later" Unexpectedly Changes GECC Setting
34+
* SWDEV-253674 - Add missed link rate for getting link info.
35+
2436
---
2537

2638
### ADL 14.0 - Release Notes
@@ -80,7 +92,7 @@ ADL binaries are delivered as part of the Catalyst display Driver package while
8092

8193
---
8294
* Supported Driver:
83-
Requires Radeon Software Adrenalin Edition 20.5.1 or later.
95+
Requires Radeon Software Adrenalin Edition 21.5.3 or later.
8496

8597
---
8698
### End User License Agreement
Binary file not shown.

Public-Documents/html/AMDDisplayTool-example.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">ADL (AMD Display Library) Public APIs
25-
&#160;<span id="projectnumber">Version 15.0</span>
25+
&#160;<span id="projectnumber">Version 16.0</span>
2626
</div>
2727
</td>
2828
</tr>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6+
<meta name="generator" content="Doxygen 1.8.18"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
<title>ADL (AMD Display Library) Public APIs: AMDGamemanagerTool</title>
9+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
10+
<script type="text/javascript" src="jquery.js"></script>
11+
<script type="text/javascript" src="dynsections.js"></script>
12+
<link href="search/search.css" rel="stylesheet" type="text/css"/>
13+
<script type="text/javascript" src="search/searchdata.js"></script>
14+
<script type="text/javascript" src="search/search.js"></script>
15+
<link href="doxygen.css" rel="stylesheet" type="text/css" />
16+
</head>
17+
<body>
18+
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
19+
<div id="titlearea">
20+
<table cellspacing="0" cellpadding="0">
21+
<tbody>
22+
<tr style="height: 56px;">
23+
<td id="projectalign" style="padding-left: 0.5em;">
24+
<div id="projectname">ADL (AMD Display Library) Public APIs
25+
&#160;<span id="projectnumber">Version 16.0</span>
26+
</div>
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table>
31+
</div>
32+
<!-- end header part -->
33+
<!-- Generated by Doxygen 1.8.18 -->
34+
<script type="text/javascript">
35+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
36+
var searchBox = new SearchBox("searchBox", "search",false,'Search');
37+
/* @license-end */
38+
</script>
39+
<script type="text/javascript" src="menudata.js"></script>
40+
<script type="text/javascript" src="menu.js"></script>
41+
<script type="text/javascript">
42+
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
43+
$(function() {
44+
initMenu('',true,false,'search.php','Search');
45+
$(document).ready(function() { init_search(); });
46+
});
47+
/* @license-end */</script>
48+
<div id="main-nav"></div>
49+
</div><!-- top -->
50+
<!-- window showing the filter options -->
51+
<div id="MSearchSelectWindow"
52+
onmouseover="return searchBox.OnSearchSelectShow()"
53+
onmouseout="return searchBox.OnSearchSelectHide()"
54+
onkeydown="return searchBox.OnSearchSelectKey(event)">
55+
</div>
56+
57+
<!-- iframe showing the search results (closed by default) -->
58+
<div id="MSearchResultsWindow">
59+
<iframe src="javascript:void(0)" frameborder="0"
60+
name="MSearchResults" id="MSearchResults">
61+
</iframe>
62+
</div>
63+
64+
<div class="header">
65+
<div class="headertitle">
66+
<div class="title">AMDGamemanagerTool</div> </div>
67+
</div><!--header-->
68+
<div class="contents">
69+
<!DOCTYPE html>
70+
<html>
71+
<body>
72+
<p><B>Description:</B> This User interface sample provides the usage model of Graphics APIs. Usage model includes controlling Chill, Anti-Lag, Boost, Radeon Image Sharpening,
73+
FRTC, Anti-Aliasing and etc. </p>
74+
<B>Supported OS:</B> Windows
75+
</br></br>
76+
<b>Init and Destroy:</b> Initialize the library before using it and destroy it after the usage. Refer to InitADL() for initialization and clean-up is done inside main function only.
77+
</br></br>
78+
<b>Functionality:</b>
79+
<ul>
80+
<li>If feature is not supported, the button will be disabled.</li>
81+
<li>“Chill”, “Anti-Lag”, “Boost”, "Radeon Image Sharpening”, "FRTC", "Morphological Anti-Aliasing", "Surface Format Optimization" and "Enhanced SYNC" are presented as on/off toggles.</li>
82+
<li>"Anti" features are offering select list.</li>
83+
</ul>
84+
</p>
85+
<b>Sample Path:</b> Sample\AMDGamemanagerTool
86+
</br>
87+
</body>
88+
</html><div class="fragment"></div><!-- fragment --> </div><!-- contents -->
89+
<hr size="1"><div style="text-align: right;"><small>Copyright &copy 2009-2020 Advanced Micro Devices, Inc. All rights reserved.&nbsp;
90+
<a href="http://developer.amd.com"><img src="53863A_AMD_E_Blk_RGB.PNG" title="developer.amd.com" align="middle" border="0" height="10px"></a></small></div>
91+
</body>
92+
</html>

0 commit comments

Comments
 (0)