mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
hv/trace_pmgr.py: Get rid of pwrgate stuff
It's broken Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
71baff4adc
commit
9e2eeeb911
1 changed files with 0 additions and 6 deletions
|
@ -137,12 +137,6 @@ class PMGRTracer(Tracer):
|
|||
ps_addr = addr + idx * 8
|
||||
self.ranges[ps_addr:ps_addr + 8] = self.event_default, ps_addr, f"ps[{i}][{idx}]"
|
||||
|
||||
for i, pg in getattr(self.dev, "pwrgate_regs", []):
|
||||
addr = self.dev.get_reg(pg.reg)[0] + pg.offset
|
||||
for idx in range(32):
|
||||
gate_addr = addr + idx * 8
|
||||
self.ranges[gate_addr:gate_addr + 8] = self.event_default, gate_addr, f"pwrgate[{i}][{idx}]"
|
||||
|
||||
for i, dev in enumerate(self.dev.devices):
|
||||
ps = self.dev.ps_regs[dev.psreg]
|
||||
if dev.psidx or dev.psreg:
|
||||
|
|
Loading…
Reference in a new issue