Skip to content

Commit 69012c0

Browse files
Mario Hrosmarcan
authored andcommitted
experiments/cpu_pstate_latencies.py: Extend for T6021
Signed-off-by: Mario Hros <[email protected]>
1 parent e71ad13 commit 69012c0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

proxyclient/experiments/cpu_pstate_latencies.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@
1515
CLUSTER_PSTATE = 0x20020
1616
CLUSTER_STATUS = 0x20050
1717

18-
if u.adt["/chosen"].chip_id == 0x8103:
18+
chip_id = u.adt["/chosen"].chip_id
19+
20+
if chip_id == 0x8103:
1921
CREG = [
2022
0x210e00000,
2123
0x211e00000,
2224
]
2325

2426
MAX_PSTATE = [5, 15]
2527

26-
elif u.adt["/chosen"].chip_id == 0x8112:
28+
elif chip_id == 0x8112 or chip_id == 0x6021:
2729
CREG = [
2830
0x210e00000,
2931
0x211e00000,

0 commit comments

Comments
 (0)