File tree Expand file tree Collapse file tree 9 files changed +18
-0
lines changed Expand file tree Collapse file tree 9 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ typedef struct {
358
358
QuadraticInt_t SsCurve ;
359
359
} DpmDescriptor_t ;
360
360
361
+ #pragma pack(push, 1)
361
362
typedef struct {
362
363
uint32_t Version ;
363
364
@@ -609,6 +610,7 @@ typedef struct {
609
610
uint32_t MmHubPadding [8 ];
610
611
611
612
} PPTable_t ;
613
+ #pragma pack(pop)
612
614
613
615
typedef struct {
614
616
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ typedef struct {
122
122
uint16_t Vid ; /* min voltage in SVI2 VID */
123
123
} DisplayClockTable_t ;
124
124
125
+ #pragma pack(push, 1)
125
126
typedef struct {
126
127
/* PowerTune */
127
128
uint16_t SocketPowerLimit ; /* Watts */
@@ -323,6 +324,7 @@ typedef struct {
323
324
uint32_t MmHubPadding [3 ]; /* SMU internal use */
324
325
325
326
} PPTable_t ;
327
+ #pragma pack(pop)
326
328
327
329
typedef struct {
328
330
uint16_t MinClock ; // This is either DCEFCLK or SOCCLK (in MHz)
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ typedef struct {
245
245
QuadraticInt_t SsCurve ;
246
246
} DpmDescriptor_t ;
247
247
248
+ #pragma pack(push, 1)
248
249
typedef struct {
249
250
uint32_t Version ;
250
251
@@ -508,6 +509,7 @@ typedef struct {
508
509
uint32_t MmHubPadding [7 ];
509
510
510
511
} PPTable_t ;
512
+ #pragma pack(pop)
511
513
512
514
typedef struct {
513
515
Original file line number Diff line number Diff line change @@ -464,6 +464,7 @@ typedef struct {
464
464
uint16_t Padding16 ;
465
465
} DpmDescriptor_t ;
466
466
467
+ #pragma pack(push, 1)
467
468
typedef struct {
468
469
uint32_t Version ;
469
470
@@ -733,6 +734,7 @@ typedef struct {
733
734
uint32_t MmHubPadding [8 ]; // SMU internal use
734
735
735
736
} PPTable_t ;
737
+ #pragma pack(pop)
736
738
737
739
typedef struct {
738
740
// Time constant parameters for clock averages in ms
Original file line number Diff line number Diff line change @@ -515,6 +515,7 @@ typedef struct {
515
515
uint32_t BoardLevelEnergyAccumulator ;
516
516
} OutOfBandMonitor_t ;
517
517
518
+ #pragma pack(push, 1)
518
519
typedef struct {
519
520
uint32_t Version ;
520
521
@@ -814,6 +815,7 @@ typedef struct {
814
815
uint32_t MmHubPadding [8 ]; // SMU internal use
815
816
816
817
} PPTable_t ;
818
+ #pragma pack(pop)
817
819
818
820
typedef struct {
819
821
// Time constant parameters for clock averages in ms
Original file line number Diff line number Diff line change @@ -599,6 +599,7 @@ typedef struct {
599
599
uint16_t Fmax ;
600
600
} UclkDpmChangeRange_t ;
601
601
602
+ #pragma pack(push, 1)
602
603
typedef struct {
603
604
// MAJOR SECTION: SKU PARAMETERS
604
605
@@ -957,6 +958,7 @@ typedef struct {
957
958
uint32_t MmHubPadding [8 ]; // SMU internal use
958
959
959
960
} PPTable_t ;
961
+ #pragma pack(pop)
960
962
961
963
typedef struct {
962
964
// MAJOR SECTION: SKU PARAMETERS
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ typedef struct {
267
267
QuadraticInt_t SsCurve ; // Slow-slow curve (GHz->V)
268
268
} DpmDescriptor_t ;
269
269
270
+ #pragma pack(push, 1)
270
271
typedef struct {
271
272
uint32_t Version ;
272
273
@@ -448,6 +449,7 @@ typedef struct {
448
449
uint32_t reserved [14 ];
449
450
450
451
} PPTable_t ;
452
+ #pragma pack(pop)
451
453
452
454
typedef struct {
453
455
// Time constant parameters for clock averages in ms
Original file line number Diff line number Diff line change @@ -1347,10 +1347,12 @@ typedef struct {
1347
1347
uint32_t MmHubPadding [8 ];
1348
1348
} BoardTable_t ;
1349
1349
1350
+ #pragma pack(push, 1)
1350
1351
typedef struct {
1351
1352
SkuTable_t SkuTable ;
1352
1353
BoardTable_t BoardTable ;
1353
1354
} PPTable_t ;
1355
+ #pragma pack(pop)
1354
1356
1355
1357
typedef struct {
1356
1358
// Time constant parameters for clock averages in ms
Original file line number Diff line number Diff line change @@ -1380,10 +1380,12 @@ typedef struct {
1380
1380
uint32_t MmHubPadding [8 ];
1381
1381
} BoardTable_t ;
1382
1382
1383
+ #pragma pack(push, 1)
1383
1384
typedef struct {
1384
1385
SkuTable_t SkuTable ;
1385
1386
BoardTable_t BoardTable ;
1386
1387
} PPTable_t ;
1388
+ #pragma pack(pop)
1387
1389
1388
1390
typedef struct {
1389
1391
// Time constant parameters for clock averages in ms
You can’t perform that action at this time.
0 commit comments