Skip to content

Commit

Permalink
dev: add test data for more RDNA2, RDNA1 and Sea Islands
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-zlobintsev committed Dec 26, 2024
1 parent 5882cf7 commit 08a3d5b
Show file tree
Hide file tree
Showing 136 changed files with 1,323 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.0 GT/s PCIe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
300000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
150000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amdgpu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
139
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
255
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
120000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
90000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
states: 0
Empty file.
6 changes: 6 additions & 0 deletions lact-daemon/src/tests/data/amd/r9-280/card0/device/uevent
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:679A
PCI_SUBSYS_ID=1458:229A
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v00001002d0000679Asv00001458sd0000229Abc03sc00i00
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xxx-xxx-xxx
1 change: 1 addition & 0 deletions lact-daemon/src/tests/data/amd/r9-280/card0/device/vendor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0x1002
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.0 GT/s PCIe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3400
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
875000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1100
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vddgfx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amdgpu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
220000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
220000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
330000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
110000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
255
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
105000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
58000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
108000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
113000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
58000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
junction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
105000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
110000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
62000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mem
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0: 100Mhz
1: 500Mhz
2: 625Mhz
3: 875Mhz *
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0: 2.5GT/s, x16 619Mhz
1: 8.0GT/s, x16 619Mhz *
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0: 300Mhz
1: 1900Mhz
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0: 506Mhz
1: 950Mhz *
2: 1266Mhz
45 changes: 45 additions & 0 deletions lact-daemon/src/tests/data/amd/rx5700xt/card1/device/pp_features
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
features high: 0x00000623 low: 0xa3ddaffb
No. Feature Bit : State
00. DPM_PREFETCHER ( 0) : enabled
01. DPM_GFXCLK ( 1) : enabled
02. DPM_GFX_PACE ( 2) : disabled
03. DPM_UCLK ( 3) : enabled
04. DPM_SOCCLK ( 4) : enabled
05. DPM_MP0CLK ( 5) : enabled
06. DPM_LINK ( 6) : enabled
07. DPM_DCEFCLK ( 7) : enabled
08. MEM_VDDCI_SCALING ( 8) : enabled
09. MEM_MVDD_SCALING ( 9) : enabled
10. DS_GFXCLK (10) : enabled
11. DS_SOCCLK (11) : enabled
12. DS_LCLK (12) : disabled
13. DS_DCEFCLK (13) : enabled
14. DS_UCLK (14) : disabled
15. GFX_ULV (15) : enabled
16. FW_DSTATE (16) : enabled
17. GFXOFF (17) : disabled
18. BACO (18) : enabled
19. VCN_PG (19) : enabled
20. JPEG_PG (20) : enabled
21. USB_PG (21) : disabled
22. RSMU_SMN_CG (22) : enabled
23. PPT (23) : enabled
24. TDC (24) : enabled
25. GFX_EDC (25) : enabled
26. APCC_PLUS (26) : disabled
27. GTHR (27) : disabled
28. ACDC (28) : disabled
29. VR0HOT (29) : enabled
30. VR1HOT (30) : disabled
31. FW_CTF (31) : enabled
32. FAN_CONTROL (32) : enabled
33. THERMAL (33) : enabled
34. GFX_DCS (34) : disabled
35. RM (35) : disabled
36. LED_DISPLAY (36) : disabled
37. GFX_SS (37) : enabled
38. OUT_OF_BAND_MONITOR (38) : disabled
39. TEMP_DEPENDENT_VMIN (39) : disabled
40. MMHUB_PG (40) : disabled
41. ATHUB_PG (41) : enabled
42. APCC_DFLL (42) : enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
states: 1
0 default
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
OD_SCLK:
0: 1351Mhz
1: 1900Mhz
OD_MCLK:
1: 875MHz
OD_VDDC_CURVE:
0: 1351MHz 750mV
1: 1424MHz 805mV
2: 1900MHz 1100mV
OD_RANGE:
SCLK: 800Mhz 2150Mhz
MCLK: 625Mhz 950Mhz
VDDC_CURVE_SCLK[0]: 800Mhz 2150Mhz
VDDC_CURVE_VOLT[0]: 750mV 1200mV
VDDC_CURVE_SCLK[1]: 800Mhz 2150Mhz
VDDC_CURVE_VOLT[1]: 750mV 1200mV
VDDC_CURVE_SCLK[2]: 800Mhz 2150Mhz
VDDC_CURVE_VOLT[2]: 750mV 1200mV
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
PROFILE_INDEX(NAME) CLOCK_TYPE(NAME) FPS MinFreqType MinActiveFreqType MinActiveFreq BoosterFreqType BoosterFreq PD_Data_limit_c PD_Data_error_coeff PD_Data_error_rate_coeff
0 BOOTUP_DEFAULT :
0( GFXCLK) 0 5 1 0 4 800 4587520 -65536 0
1( SOCCLK) 0 5 1 0 3 800 1310720 -6553 0
2( MEMCLK) 0 5 1 0 4 800 327680 -65536 0
1 3D_FULL_SCREEN :
0( GFXCLK) 0 5 1 0 4 650 3932160 -6553 -65536
1( SOCCLK) 0 5 1 850 4 800 1310720 -6553 0
2( MEMCLK) 0 5 4 850 4 800 327680 -65536 0
2 POWER_SAVING :
0( GFXCLK) 0 5 1 0 3 0 5898240 -65536 0
1( SOCCLK) 0 5 1 0 3 0 1310720 -6553 0
2( MEMCLK) 0 5 1 0 3 0 1966080 -65536 0
3 VIDEO :
0( GFXCLK) 0 5 1 0 4 500 4587520 -65536 0
1( SOCCLK) 0 5 1 0 4 500 1310720 -6553 0
2( MEMCLK) 0 5 1 0 4 500 1966080 -65536 0
4 VR :
0( GFXCLK) 0 5 4 1000 4 800 4587520 -65536 0
1( SOCCLK) 0 5 1 0 4 800 327680 -65536 0
2( MEMCLK) 0 5 1 0 4 800 327680 -65536 0
5 COMPUTE :
0( GFXCLK) 0 5 4 1000 3 0 3932160 -65536 -65536
1( SOCCLK) 0 5 4 850 3 0 327680 -65536 -32768
2( MEMCLK) 0 5 4 850 3 0 327680 -65536 -32768
6 CUSTOM*:
0( GFXCLK) 0 5 4 1800 4 800 3932160 -65536 0
1( SOCCLK) 0 5 1 850 4 800 1310720 -6553 0
2( MEMCLK) 0 5 4 850 4 800 327680 -65536 0
Binary file not shown.
6 changes: 6 additions & 0 deletions lact-daemon/src/tests/data/amd/rx5700xt/card1/device/uevent
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DRIVER=amdgpu
PCI_CLASS=30000
PCI_ID=1002:731F
PCI_SUBSYS_ID=1DA2:E409
PCI_SLOT_NAME=0000:28:00.0
MODALIAS=pci:v00001002d0000731Fsv00001DA2sd0000E409bc03sc00i00
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
113-D1990103-O09
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0x1002
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.0 GT/s PCIe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3300
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
96000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mclk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vddgfx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amdgpu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
94000000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
255
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
105000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
110000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
115000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
junction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
100000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-273150
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
105000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
36000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mem
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0: 96Mhz *
1: 541Mhz
2: 675Mhz
3: 875Mhz
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0: 2.5GT/s, x1 81Mhz
1: 8.0GT/s, x8 619Mhz *
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0: 0Mhz *
1: 0Mhz *
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0: 417Mhz
1: 640Mhz *
2: 1200Mhz
Loading

0 comments on commit 08a3d5b

Please sign in to comment.