mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-11 10:07:05 +00:00
m1n1fw.agx.cmdqueue: Update barrier stamp field names
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
8923ffdaa4
commit
b6fde95d88
2 changed files with 4 additions and 4 deletions
|
@ -310,8 +310,8 @@ class GPURenderer:
|
||||||
|
|
||||||
barrier_cmd = agx.kobj.new(WorkCommandBarrier, track=False)
|
barrier_cmd = agx.kobj.new(WorkCommandBarrier, track=False)
|
||||||
barrier_cmd.stamp = self.stamp_ta2
|
barrier_cmd.stamp = self.stamp_ta2
|
||||||
barrier_cmd.stamp_value1 = self.stamp_value_ta
|
barrier_cmd.stamp_value_ta = self.stamp_value_ta
|
||||||
barrier_cmd.stamp_value2 = self.stamp_value_ta
|
barrier_cmd.stamp_value_3d = self.stamp_value_3d
|
||||||
barrier_cmd.event = ev_ta.id
|
barrier_cmd.event = ev_ta.id
|
||||||
barrier_cmd.uuid = uuid_3d
|
barrier_cmd.uuid = uuid_3d
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,9 @@ class WorkCommandBarrier(ConstructClass):
|
||||||
"magic" / Const(0x4, Int32ul),
|
"magic" / Const(0x4, Int32ul),
|
||||||
"stamp_addr" / Int64ul,
|
"stamp_addr" / Int64ul,
|
||||||
"stamp" / ROPointer(this.stamp_addr, StampCounter),
|
"stamp" / ROPointer(this.stamp_addr, StampCounter),
|
||||||
"stamp_value1" / Int32ul,
|
"stamp_value_ta" / Int32ul,
|
||||||
"event" / Int32ul, # Event number that signals a stamp check
|
"event" / Int32ul, # Event number that signals a stamp check
|
||||||
"stamp_value2" / Int32ul,
|
"stamp_value_3d" / Int32ul,
|
||||||
"uuid" / Int32ul,
|
"uuid" / Int32ul,
|
||||||
"unk" / Default(Int32ul, 0),
|
"unk" / Default(Int32ul, 0),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue