xref: /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_pptable.h (revision c5dbf04160005e07e8ca7232a7faa77ab1547ae0)
1 /*
2  * Copyright 2016 Advanced Micro Devices, Inc.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20  * OTHER DEALINGS IN THE SOFTWARE.
21  *
22  */
23 #ifndef _VEGA10_PPTABLE_H_
24 #define _VEGA10_PPTABLE_H_
25 
26 #pragma pack(push, 1)
27 
28 #define ATOM_VEGA10_PP_FANPARAMETERS_TACHOMETER_PULSES_PER_REVOLUTION_MASK 0x0f
29 #define ATOM_VEGA10_PP_FANPARAMETERS_NOFAN                                 0x80
30 
31 #define ATOM_VEGA10_PP_THERMALCONTROLLER_NONE      0
32 #define ATOM_VEGA10_PP_THERMALCONTROLLER_LM96163   17
33 #define ATOM_VEGA10_PP_THERMALCONTROLLER_VEGA10    24
34 
35 #define ATOM_VEGA10_PP_THERMALCONTROLLER_ADT7473_WITH_INTERNAL   0x89
36 #define ATOM_VEGA10_PP_THERMALCONTROLLER_EMC2103_WITH_INTERNAL   0x8D
37 
38 #define ATOM_VEGA10_PP_PLATFORM_CAP_POWERPLAY                   0x1
39 #define ATOM_VEGA10_PP_PLATFORM_CAP_SBIOSPOWERSOURCE            0x2
40 #define ATOM_VEGA10_PP_PLATFORM_CAP_HARDWAREDC                  0x4
41 #define ATOM_VEGA10_PP_PLATFORM_CAP_BACO                        0x8
42 #define ATOM_VEGA10_PP_PLATFORM_COMBINE_PCC_WITH_THERMAL_SIGNAL 0x10
43 
44 
45 /* ATOM_PPLIB_NONCLOCK_INFO::usClassification */
46 #define ATOM_PPLIB_CLASSIFICATION_UI_MASK               0x0007
47 #define ATOM_PPLIB_CLASSIFICATION_UI_SHIFT              0
48 #define ATOM_PPLIB_CLASSIFICATION_UI_NONE               0
49 #define ATOM_PPLIB_CLASSIFICATION_UI_BATTERY            1
50 #define ATOM_PPLIB_CLASSIFICATION_UI_BALANCED           3
51 #define ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE        5
52 /* 2, 4, 6, 7 are reserved */
53 
54 #define ATOM_PPLIB_CLASSIFICATION_BOOT                  0x0008
55 #define ATOM_PPLIB_CLASSIFICATION_THERMAL               0x0010
56 #define ATOM_PPLIB_CLASSIFICATION_LIMITEDPOWERSOURCE    0x0020
57 #define ATOM_PPLIB_CLASSIFICATION_REST                  0x0040
58 #define ATOM_PPLIB_CLASSIFICATION_FORCED                0x0080
59 #define ATOM_PPLIB_CLASSIFICATION_ACPI                  0x1000
60 
61 /* ATOM_PPLIB_NONCLOCK_INFO::usClassification2 */
62 #define ATOM_PPLIB_CLASSIFICATION2_LIMITEDPOWERSOURCE_2 0x0001
63 
64 #define ATOM_Vega10_DISALLOW_ON_DC                   0x00004000
65 #define ATOM_Vega10_ENABLE_VARIBRIGHT                0x00008000
66 
67 #define ATOM_Vega10_TABLE_REVISION_VEGA10         8
68 
69 #define ATOM_Vega10_VoltageMode_AVFS_Interpolate     0
70 #define ATOM_Vega10_VoltageMode_AVFS_WorstCase       1
71 #define ATOM_Vega10_VoltageMode_Static               2
72 
73 typedef struct _ATOM_Vega10_POWERPLAYTABLE {
74 	struct atom_common_table_header sHeader;
75 	UCHAR  ucTableRevision;
76 	USHORT usTableSize;                        /* the size of header structure */
77 	ULONG  ulGoldenPPID;                       /* PPGen use only */
78 	ULONG  ulGoldenRevision;                   /* PPGen use only */
79 	USHORT usFormatID;                         /* PPGen use only */
80 	ULONG  ulPlatformCaps;                     /* See ATOM_Vega10_CAPS_* */
81 	ULONG  ulMaxODEngineClock;                 /* For Overdrive. */
82 	ULONG  ulMaxODMemoryClock;                 /* For Overdrive. */
83 	USHORT usPowerControlLimit;
84 	USHORT usUlvVoltageOffset;                 /* in mv units */
85 	USHORT usUlvSmnclkDid;
86 	USHORT usUlvMp1clkDid;
87 	USHORT usUlvGfxclkBypass;
88 	USHORT usGfxclkSlewRate;
89 	UCHAR  ucGfxVoltageMode;
90 	UCHAR  ucSocVoltageMode;
91 	UCHAR  ucUclkVoltageMode;
92 	UCHAR  ucUvdVoltageMode;
93 	UCHAR  ucVceVoltageMode;
94 	UCHAR  ucMp0VoltageMode;
95 	UCHAR  ucDcefVoltageMode;
96 	USHORT usStateArrayOffset;                 /* points to ATOM_Vega10_State_Array */
97 	USHORT usFanTableOffset;                   /* points to ATOM_Vega10_Fan_Table */
98 	USHORT usThermalControllerOffset;          /* points to ATOM_Vega10_Thermal_Controller */
99 	USHORT usSocclkDependencyTableOffset;      /* points to ATOM_Vega10_SOCCLK_Dependency_Table */
100 	USHORT usMclkDependencyTableOffset;        /* points to ATOM_Vega10_MCLK_Dependency_Table */
101 	USHORT usGfxclkDependencyTableOffset;      /* points to ATOM_Vega10_GFXCLK_Dependency_Table */
102 	USHORT usDcefclkDependencyTableOffset;     /* points to ATOM_Vega10_DCEFCLK_Dependency_Table */
103 	USHORT usVddcLookupTableOffset;            /* points to ATOM_Vega10_Voltage_Lookup_Table */
104 	USHORT usVddmemLookupTableOffset;          /* points to ATOM_Vega10_Voltage_Lookup_Table */
105 	USHORT usMMDependencyTableOffset;          /* points to ATOM_Vega10_MM_Dependency_Table */
106 	USHORT usVCEStateTableOffset;              /* points to ATOM_Vega10_VCE_State_Table */
107 	USHORT usReserve;                          /* No PPM Support for Vega10 */
108 	USHORT usPowerTuneTableOffset;             /* points to ATOM_Vega10_PowerTune_Table */
109 	USHORT usHardLimitTableOffset;             /* points to ATOM_Vega10_Hard_Limit_Table */
110 	USHORT usVddciLookupTableOffset;           /* points to ATOM_Vega10_Voltage_Lookup_Table */
111 	USHORT usPCIETableOffset;                  /* points to ATOM_Vega10_PCIE_Table */
112 	USHORT usPixclkDependencyTableOffset;      /* points to ATOM_Vega10_PIXCLK_Dependency_Table */
113 	USHORT usDispClkDependencyTableOffset;     /* points to ATOM_Vega10_DISPCLK_Dependency_Table */
114 	USHORT usPhyClkDependencyTableOffset;      /* points to ATOM_Vega10_PHYCLK_Dependency_Table */
115 } ATOM_Vega10_POWERPLAYTABLE;
116 
117 typedef struct _ATOM_Vega10_State {
118 	UCHAR  ucSocClockIndexHigh;
119 	UCHAR  ucSocClockIndexLow;
120 	UCHAR  ucGfxClockIndexHigh;
121 	UCHAR  ucGfxClockIndexLow;
122 	UCHAR  ucMemClockIndexHigh;
123 	UCHAR  ucMemClockIndexLow;
124 	USHORT usClassification;
125 	ULONG  ulCapsAndSettings;
126 	USHORT usClassification2;
127 } ATOM_Vega10_State;
128 
129 typedef struct _ATOM_Vega10_State_Array {
130 	UCHAR ucRevId;
131 	UCHAR ucNumEntries;                                         /* Number of entries. */
132 	ATOM_Vega10_State states[];                             /* Dynamically allocate entries. */
133 } ATOM_Vega10_State_Array;
134 
135 typedef struct _ATOM_Vega10_CLK_Dependency_Record {
136 	ULONG  ulClk;                                               /* Frequency of Clock */
137 	UCHAR  ucVddInd;                                            /* Base voltage */
138 } ATOM_Vega10_CLK_Dependency_Record;
139 
140 typedef struct _ATOM_Vega10_GFXCLK_Dependency_Record {
141 	ULONG  ulClk;                                               /* Clock Frequency */
142 	UCHAR  ucVddInd;                                            /* SOC_VDD index */
143 	USHORT usCKSVOffsetandDisable;                              /* Bits 0~30: Voltage offset for CKS, Bit 31: Disable/enable for the GFXCLK level. */
144 	USHORT usAVFSOffset;                                        /* AVFS Voltage offset */
145 } ATOM_Vega10_GFXCLK_Dependency_Record;
146 
147 typedef struct _ATOM_Vega10_GFXCLK_Dependency_Record_V2 {
148 	ULONG  ulClk;
149 	UCHAR  ucVddInd;
150 	USHORT usCKSVOffsetandDisable;
151 	USHORT usAVFSOffset;
152 	UCHAR  ucACGEnable;
153 	UCHAR  ucReserved[3];
154 } ATOM_Vega10_GFXCLK_Dependency_Record_V2;
155 
156 typedef struct _ATOM_Vega10_MCLK_Dependency_Record {
157 	ULONG  ulMemClk;                                            /* Clock Frequency */
158 	UCHAR  ucVddInd;                                            /* SOC_VDD index */
159 	UCHAR  ucVddMemInd;                                         /* MEM_VDD - only non zero for MCLK record */
160 	UCHAR  ucVddciInd;                                          /* VDDCI   = only non zero for MCLK record */
161 } ATOM_Vega10_MCLK_Dependency_Record;
162 
163 typedef struct _ATOM_Vega10_GFXCLK_Dependency_Table {
164 	UCHAR ucRevId;
165 	UCHAR ucNumEntries;					/* Number of entries. */
166 	ATOM_Vega10_GFXCLK_Dependency_Record entries[];		/* Dynamically allocate entries. */
167 } ATOM_Vega10_GFXCLK_Dependency_Table;
168 
169 typedef struct _ATOM_Vega10_MCLK_Dependency_Table {
170     UCHAR ucRevId;
171     UCHAR ucNumEntries;                                         /* Number of entries. */
172     ATOM_Vega10_MCLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
173 } ATOM_Vega10_MCLK_Dependency_Table;
174 
175 typedef struct _ATOM_Vega10_SOCCLK_Dependency_Table {
176     UCHAR ucRevId;
177     UCHAR ucNumEntries;                                         /* Number of entries. */
178     ATOM_Vega10_CLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
179 } ATOM_Vega10_SOCCLK_Dependency_Table;
180 
181 typedef struct _ATOM_Vega10_DCEFCLK_Dependency_Table {
182     UCHAR ucRevId;
183     UCHAR ucNumEntries;                                         /* Number of entries. */
184     ATOM_Vega10_CLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
185 } ATOM_Vega10_DCEFCLK_Dependency_Table;
186 
187 typedef struct _ATOM_Vega10_PIXCLK_Dependency_Table {
188 	UCHAR ucRevId;
189 	UCHAR ucNumEntries;                                         /* Number of entries. */
190 	ATOM_Vega10_CLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
191 } ATOM_Vega10_PIXCLK_Dependency_Table;
192 
193 typedef struct _ATOM_Vega10_DISPCLK_Dependency_Table {
194 	UCHAR ucRevId;
195 	UCHAR ucNumEntries;                                         /* Number of entries.*/
196 	ATOM_Vega10_CLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
197 } ATOM_Vega10_DISPCLK_Dependency_Table;
198 
199 typedef struct _ATOM_Vega10_PHYCLK_Dependency_Table {
200 	UCHAR ucRevId;
201 	UCHAR ucNumEntries;                                         /* Number of entries. */
202 	ATOM_Vega10_CLK_Dependency_Record entries[];            /* Dynamically allocate entries. */
203 } ATOM_Vega10_PHYCLK_Dependency_Table;
204 
205 typedef struct _ATOM_Vega10_MM_Dependency_Record {
206     UCHAR  ucVddcInd;                                           /* SOC_VDD voltage */
207     ULONG  ulDClk;                                              /* UVD D-clock */
208     ULONG  ulVClk;                                              /* UVD V-clock */
209     ULONG  ulEClk;                                              /* VCE clock */
210     ULONG  ulPSPClk;                                            /* PSP clock */
211 } ATOM_Vega10_MM_Dependency_Record;
212 
213 typedef struct _ATOM_Vega10_MM_Dependency_Table {
214 	UCHAR ucRevId;
215 	UCHAR ucNumEntries;                                         /* Number of entries */
216 	ATOM_Vega10_MM_Dependency_Record entries[];             /* Dynamically allocate entries */
217 } ATOM_Vega10_MM_Dependency_Table;
218 
219 typedef struct _ATOM_Vega10_PCIE_Record {
220 	ULONG ulLCLK;                                               /* LClock */
221 	UCHAR ucPCIEGenSpeed;                                       /* PCIE Speed */
222 	UCHAR ucPCIELaneWidth;                                      /* PCIE Lane Width */
223 } ATOM_Vega10_PCIE_Record;
224 
225 typedef struct _ATOM_Vega10_PCIE_Table {
226 	UCHAR  ucRevId;
227 	UCHAR  ucNumEntries;                                        /* Number of entries */
228 	ATOM_Vega10_PCIE_Record entries[];                      /* Dynamically allocate entries. */
229 } ATOM_Vega10_PCIE_Table;
230 
231 typedef struct _ATOM_Vega10_Voltage_Lookup_Record {
232 	USHORT usVdd;                                               /* Base voltage */
233 } ATOM_Vega10_Voltage_Lookup_Record;
234 
235 typedef struct _ATOM_Vega10_Voltage_Lookup_Table {
236 	UCHAR ucRevId;
237 	UCHAR ucNumEntries;                                          /* Number of entries */
238 	ATOM_Vega10_Voltage_Lookup_Record entries[];             /* Dynamically allocate entries */
239 } ATOM_Vega10_Voltage_Lookup_Table;
240 
241 typedef struct _ATOM_Vega10_Fan_Table {
242 	UCHAR   ucRevId;                         /* Change this if the table format changes or version changes so that the other fields are not the same. */
243 	USHORT  usFanOutputSensitivity;          /* Sensitivity of fan reaction to temepature changes. */
244 	USHORT  usFanRPMMax;                     /* The default value in RPM. */
245 	USHORT  usThrottlingRPM;
246 	USHORT  usFanAcousticLimit;              /* Minimum Fan Controller Frequency Acoustic Limit. */
247 	USHORT  usTargetTemperature;             /* The default ideal temperature in Celcius. */
248 	USHORT  usMinimumPWMLimit;               /* The minimum PWM that the advanced fan controller can set. */
249 	USHORT  usTargetGfxClk;                   /* The ideal Fan Controller GFXCLK Frequency Acoustic Limit. */
250 	USHORT  usFanGainEdge;
251 	USHORT  usFanGainHotspot;
252 	USHORT  usFanGainLiquid;
253 	USHORT  usFanGainVrVddc;
254 	USHORT  usFanGainVrMvdd;
255 	USHORT  usFanGainPlx;
256 	USHORT  usFanGainHbm;
257 	UCHAR   ucEnableZeroRPM;
258 	USHORT  usFanStopTemperature;
259 	USHORT  usFanStartTemperature;
260 } ATOM_Vega10_Fan_Table;
261 
262 typedef struct _ATOM_Vega10_Fan_Table_V2 {
263 	UCHAR   ucRevId;
264 	USHORT  usFanOutputSensitivity;
265 	USHORT  usFanAcousticLimitRpm;
266 	USHORT  usThrottlingRPM;
267 	USHORT  usTargetTemperature;
268 	USHORT  usMinimumPWMLimit;
269 	USHORT  usTargetGfxClk;
270 	USHORT  usFanGainEdge;
271 	USHORT  usFanGainHotspot;
272 	USHORT  usFanGainLiquid;
273 	USHORT  usFanGainVrVddc;
274 	USHORT  usFanGainVrMvdd;
275 	USHORT  usFanGainPlx;
276 	USHORT  usFanGainHbm;
277 	UCHAR   ucEnableZeroRPM;
278 	USHORT  usFanStopTemperature;
279 	USHORT  usFanStartTemperature;
280 	UCHAR   ucFanParameters;
281 	UCHAR   ucFanMinRPM;
282 	UCHAR   ucFanMaxRPM;
283 } ATOM_Vega10_Fan_Table_V2;
284 
285 typedef struct _ATOM_Vega10_Fan_Table_V3 {
286 	UCHAR   ucRevId;
287 	USHORT  usFanOutputSensitivity;
288 	USHORT  usFanAcousticLimitRpm;
289 	USHORT  usThrottlingRPM;
290 	USHORT  usTargetTemperature;
291 	USHORT  usMinimumPWMLimit;
292 	USHORT  usTargetGfxClk;
293 	USHORT  usFanGainEdge;
294 	USHORT  usFanGainHotspot;
295 	USHORT  usFanGainLiquid;
296 	USHORT  usFanGainVrVddc;
297 	USHORT  usFanGainVrMvdd;
298 	USHORT  usFanGainPlx;
299 	USHORT  usFanGainHbm;
300 	UCHAR   ucEnableZeroRPM;
301 	USHORT  usFanStopTemperature;
302 	USHORT  usFanStartTemperature;
303 	UCHAR   ucFanParameters;
304 	UCHAR   ucFanMinRPM;
305 	UCHAR   ucFanMaxRPM;
306 	USHORT  usMGpuThrottlingRPM;
307 } ATOM_Vega10_Fan_Table_V3;
308 
309 typedef struct _ATOM_Vega10_Thermal_Controller {
310 	UCHAR ucRevId;
311 	UCHAR ucType;           /* one of ATOM_VEGA10_PP_THERMALCONTROLLER_*/
312 	UCHAR ucI2cLine;        /* as interpreted by DAL I2C */
313 	UCHAR ucI2cAddress;
314 	UCHAR ucFanParameters;  /* Fan Control Parameters. */
315 	UCHAR ucFanMinRPM;      /* Fan Minimum RPM (hundreds) -- for display purposes only.*/
316 	UCHAR ucFanMaxRPM;      /* Fan Maximum RPM (hundreds) -- for display purposes only.*/
317     UCHAR ucFlags;          /* to be defined */
318 } ATOM_Vega10_Thermal_Controller;
319 
320 typedef struct _ATOM_Vega10_VCE_State_Record {
321     UCHAR  ucVCEClockIndex;         /*index into usVCEDependencyTableOffset of 'ATOM_Vega10_MM_Dependency_Table' type */
322     UCHAR  ucFlag;                  /* 2 bits indicates memory p-states */
323     UCHAR  ucSCLKIndex;             /* index into ATOM_Vega10_SCLK_Dependency_Table */
324     UCHAR  ucMCLKIndex;             /* index into ATOM_Vega10_MCLK_Dependency_Table */
325 } ATOM_Vega10_VCE_State_Record;
326 
327 typedef struct _ATOM_Vega10_VCE_State_Table {
328     UCHAR ucRevId;
329     UCHAR ucNumEntries;
330     ATOM_Vega10_VCE_State_Record entries[];
331 } ATOM_Vega10_VCE_State_Table;
332 
333 typedef struct _ATOM_Vega10_PowerTune_Table {
334 	UCHAR  ucRevId;
335 	USHORT usSocketPowerLimit;
336 	USHORT usBatteryPowerLimit;
337 	USHORT usSmallPowerLimit;
338 	USHORT usTdcLimit;
339 	USHORT usEdcLimit;
340 	USHORT usSoftwareShutdownTemp;
341 	USHORT usTemperatureLimitHotSpot;
342 	USHORT usTemperatureLimitLiquid1;
343 	USHORT usTemperatureLimitLiquid2;
344 	USHORT usTemperatureLimitHBM;
345 	USHORT usTemperatureLimitVrSoc;
346 	USHORT usTemperatureLimitVrMem;
347 	USHORT usTemperatureLimitPlx;
348 	USHORT usLoadLineResistance;
349 	UCHAR  ucLiquid1_I2C_address;
350 	UCHAR  ucLiquid2_I2C_address;
351 	UCHAR  ucVr_I2C_address;
352 	UCHAR  ucPlx_I2C_address;
353 	UCHAR  ucLiquid_I2C_LineSCL;
354 	UCHAR  ucLiquid_I2C_LineSDA;
355 	UCHAR  ucVr_I2C_LineSCL;
356 	UCHAR  ucVr_I2C_LineSDA;
357 	UCHAR  ucPlx_I2C_LineSCL;
358 	UCHAR  ucPlx_I2C_LineSDA;
359 	USHORT usTemperatureLimitTedge;
360 } ATOM_Vega10_PowerTune_Table;
361 
362 typedef struct _ATOM_Vega10_PowerTune_Table_V2 {
363 	UCHAR  ucRevId;
364 	USHORT usSocketPowerLimit;
365 	USHORT usBatteryPowerLimit;
366 	USHORT usSmallPowerLimit;
367 	USHORT usTdcLimit;
368 	USHORT usEdcLimit;
369 	USHORT usSoftwareShutdownTemp;
370 	USHORT usTemperatureLimitHotSpot;
371 	USHORT usTemperatureLimitLiquid1;
372 	USHORT usTemperatureLimitLiquid2;
373 	USHORT usTemperatureLimitHBM;
374 	USHORT usTemperatureLimitVrSoc;
375 	USHORT usTemperatureLimitVrMem;
376 	USHORT usTemperatureLimitPlx;
377 	USHORT usLoadLineResistance;
378 	UCHAR ucLiquid1_I2C_address;
379 	UCHAR ucLiquid2_I2C_address;
380 	UCHAR ucLiquid_I2C_Line;
381 	UCHAR ucVr_I2C_address;
382 	UCHAR ucVr_I2C_Line;
383 	UCHAR ucPlx_I2C_address;
384 	UCHAR ucPlx_I2C_Line;
385 	USHORT usTemperatureLimitTedge;
386 } ATOM_Vega10_PowerTune_Table_V2;
387 
388 typedef struct _ATOM_Vega10_PowerTune_Table_V3 {
389 	UCHAR  ucRevId;
390 	USHORT usSocketPowerLimit;
391 	USHORT usBatteryPowerLimit;
392 	USHORT usSmallPowerLimit;
393 	USHORT usTdcLimit;
394 	USHORT usEdcLimit;
395 	USHORT usSoftwareShutdownTemp;
396 	USHORT usTemperatureLimitHotSpot;
397 	USHORT usTemperatureLimitLiquid1;
398 	USHORT usTemperatureLimitLiquid2;
399 	USHORT usTemperatureLimitHBM;
400 	USHORT usTemperatureLimitVrSoc;
401 	USHORT usTemperatureLimitVrMem;
402 	USHORT usTemperatureLimitPlx;
403 	USHORT usLoadLineResistance;
404 	UCHAR  ucLiquid1_I2C_address;
405 	UCHAR  ucLiquid2_I2C_address;
406 	UCHAR  ucLiquid_I2C_Line;
407 	UCHAR  ucVr_I2C_address;
408 	UCHAR  ucVr_I2C_Line;
409 	UCHAR  ucPlx_I2C_address;
410 	UCHAR  ucPlx_I2C_Line;
411 	USHORT usTemperatureLimitTedge;
412 	USHORT usBoostStartTemperature;
413 	USHORT usBoostStopTemperature;
414 	ULONG  ulBoostClock;
415 	ULONG  Reserved[2];
416 } ATOM_Vega10_PowerTune_Table_V3;
417 
418 typedef struct _ATOM_Vega10_Hard_Limit_Record {
419     ULONG  ulSOCCLKLimit;
420     ULONG  ulGFXCLKLimit;
421     ULONG  ulMCLKLimit;
422     USHORT usVddcLimit;
423     USHORT usVddciLimit;
424     USHORT usVddMemLimit;
425 } ATOM_Vega10_Hard_Limit_Record;
426 
427 typedef struct _ATOM_Vega10_Hard_Limit_Table {
428     UCHAR ucRevId;
429     UCHAR ucNumEntries;
430     ATOM_Vega10_Hard_Limit_Record entries[];
431 } ATOM_Vega10_Hard_Limit_Table;
432 
433 typedef struct _Vega10_PPTable_Generic_SubTable_Header {
434     UCHAR  ucRevId;
435 } Vega10_PPTable_Generic_SubTable_Header;
436 
437 #pragma pack(pop)
438 
439 #endif
440