mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 17:54:13 +00:00
experiments/agx_tlb.py: Misc tracing changes
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
29ee0d5d32
commit
e50be4bf0d
1 changed files with 13 additions and 8 deletions
|
@ -150,11 +150,16 @@ regs.update({
|
|||
"c_118d8": t(agx.initdata.regionC._addr + 0x118d8),
|
||||
"c_118dc": t(agx.initdata.regionC._addr + 0x118dc),
|
||||
"3d_cmds": t(agx.initdata.regionB.stats_3d.addrof("total_cmds")),
|
||||
"3d_cq": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_cmdqueue")),
|
||||
#"3d_cq": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_cmdqueue")),
|
||||
#"3d_tvb_oflws_1": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_1")),
|
||||
#"3d_tvb_oflws_2": t(agx.initdata.regionB.stats_3d.stats.addrof("tvb_overflows_2")),
|
||||
"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),
|
||||
#"3d_cur_stamp_id": t(agx.initdata.regionB.stats_3d.stats.addrof("cur_stamp_id")),
|
||||
"3d_ts": t(agx.initdata.regionB.stats_3d.stats.addrof("unk_timestamp")),
|
||||
"hoff_lock": agx.uat.handoff.reg.LOCK_AP.addr,
|
||||
"hoff_ctx": agx.uat.handoff.reg.CUR_CTX.addr,
|
||||
"hoff_unk2": agx.uat.handoff.reg.UNK2.addr,
|
||||
"hoff_unk3_lo": agx.uat.handoff.reg.UNK3.addr,
|
||||
"hoff_unk3_hi": agx.uat.handoff.reg.UNK3.addr + 4,
|
||||
})
|
||||
|
||||
for i, r in enumerate(renderers):
|
||||
|
@ -178,12 +183,12 @@ for i, r in enumerate(renderers):
|
|||
f"r{i}_3d_stamp2":t(r.stamp_3d2._addr),
|
||||
})
|
||||
|
||||
for j in range(FRAMES):
|
||||
work = r.work[j]
|
||||
regs.update({
|
||||
f"r{i}_f{j}_3d_ts": t(work.wc_3d.ts1._addr),
|
||||
f"r{i}_f{j}_ta_ts": t(work.wc_ta.ts1._addr),
|
||||
})
|
||||
#for j in range(FRAMES):
|
||||
#work = r.work[j]
|
||||
#regs.update({
|
||||
#f"r{i}_f{j}_3d_ts": t(work.wc_3d.ts1._addr),
|
||||
#f"r{i}_f{j}_ta_ts": t(work.wc_ta.ts1._addr),
|
||||
#})
|
||||
|
||||
div=4
|
||||
ticks = 24000000 // div * 25
|
||||
|
|
Loading…
Reference in a new issue