m1n1.trace.agx: Fix UAT TTBR PT size

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2022-11-25 21:01:43 +09:00 committed by Hector Martin
parent 1b9cb35104
commit 9ebc38ca73

View file

@ -478,7 +478,7 @@ class AGXTracer(ASCTracer):
return
self.log(f"Dumping UAT for context {ctx}")
self.uat.invalidate_cache()
_, pt = self.uat.get_pt(self.uat.gpu_region + ctx * 16, 8)
_, pt = self.uat.get_pt(self.uat.gpu_region + ctx * 16, 2)
pt[off & 1] = evt.data
self.uat.dump(ctx, log=self.log)
self.add_uatmap_tracers(ctx)