|
| 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. |
0 commit comments