mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
m1n1.trace.agx: Decode VDM on G14X
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
d8e40382cd
commit
a95a828ac3
1 changed files with 5 additions and 0 deletions
|
@ -1027,6 +1027,11 @@ class AGXTracer(ASCTracer):
|
|||
self.log(f" tilemap @ {reg.data:#x}:")
|
||||
data = read(reg.data, 0x100000)
|
||||
chexdump(data, print_fn=self.log)
|
||||
elif reg.number == 0x1c880:
|
||||
if self.agxdecode:
|
||||
self.log("Decode VDM")
|
||||
self.uat.invalidate_cache()
|
||||
self.agxdecode.libagxdecode_vdm(reg.data, b"VDM", True)
|
||||
|
||||
def handle_3d(self, wi):
|
||||
self.log(f"Got 3D WI{wi.cmdid:d}")
|
||||
|
|
Loading…
Reference in a new issue