#
✕ nick:eiln
#asahi-re · 2022-11-29 00:12
eilnand filter-data-instance-0 to the 3rd
#asahi-re · 2022-11-29 00:11
eilndart-tunables-instance-0,1,2 goes to the 0,1,2 regs
#asahi-re · 2022-11-29 00:11
eilnoh wait I see
#asahi-re · 2022-11-29 00:00
eilneverything else is handled well
#asahi-re · 2022-11-28 23:56
eilnremap for the 2nd isn't messed up
#asahi-re · 2022-11-28 23:54
eiln0x26b810000+00008c REMAP[3] = 0x2 (MAP3=0x0, MAP2=0x0, MAP1=0x0, MAP0=0x2)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000088 REMAP[2] = 0xb050000 (MAP3=0xb, MAP2=0x5, MAP1=0x0, MAP0=0x0)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000084 REMAP[1] = 0x1 (MAP3=0x0, MAP2=0x0, MAP1=0x0, MAP0=0x1)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000080 REMAP[0] = 0x1 (MAP3=0x0, MAP2=0x0, MAP1=0x0, MAP0=0x1)
#asahi-re · 2022-11-28 23:53
eilnadding dapf:
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+00008c REMAP[3] = 0xf0e0d0c (MAP3=0xf, MAP2=0xe, MAP1=0xd, MAP0=0xc)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000088 REMAP[2] = 0xb0a0908 (MAP3=0xb, MAP2=0xa, MAP1=0x9, MAP0=0x8)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000084 REMAP[1] = 0x7060504 (MAP3=0x7, MAP2=0x6, MAP1=0x5, MAP0=0x4)
#asahi-re · 2022-11-28 23:53
eiln0x26b810000+000080 REMAP[0] = 0x3020100 (MAP3=0x3, MAP2=0x2, MAP1=0x1, MAP0=0x0)
#asahi-re · 2022-11-28 23:52
eilncalling p.dapf_init("/arm-io/dart-ane") before my writes even messes things up
#asahi-re · 2022-11-28 23:28
eilnjust pushed an initial writeup, looking into dapf rn
#asahi-re · 2022-11-28 23:21
eilnamarioguy: yes, dug myself into this hole
#asahi-re · 2022-11-28 18:00
eilnawesome, thanks for the *s.
#asahi-re · 2022-11-28 17:59
eilndefinitely need to talk to the isp guy though
#asahi-re · 2022-11-28 17:59
eilngot it
#asahi-re · 2022-11-28 17:58
eilnyes
#asahi-re · 2022-11-28 17:58
eilnasahi
#asahi-re · 2022-11-28 17:57
eilnah I don't have any archives, I'm on 12.6 rn
#asahi-re · 2022-11-28 17:55
eilndo you mean the different hw types?
#asahi-re · 2022-11-28 17:55
eilnawesome, got it.
#asahi-re · 2022-11-28 17:50
eilnyou can diff the binary of the compiled vs. the regs filled in after execution to see how the addrs get configed from BAR
#asahi-re · 2022-11-28 17:50
eilnnope
#asahi-re · 2022-11-28 17:49
eilnthey're all zeroed out
#asahi-re · 2022-11-28 17:49
eilnyes
#asahi-re · 2022-11-28 17:49
eilnyes yes
#asahi-re · 2022-11-28 17:48
eilnand those are configured automatically via BAR
#asahi-re · 2022-11-28 17:48
eilnand within the config regs are slots for dvas
#asahi-re · 2022-11-28 17:48
eilnwhen you push a queue you're pushing the dma of the configuration registers
#asahi-re · 2022-11-28 17:47
eilndriver is responsible for packing the BAR
#asahi-re · 2022-11-28 17:47
eilnwhich has a very specific order on mapping the input/output dvas
#asahi-re · 2022-11-28 17:47
eilnin each hw queue there's a BAR slot
#asahi-re · 2022-11-28 17:46
eilnwait no, I misread
#asahi-re · 2022-11-28 17:44
eilnI actually have no idea
#asahi-re · 2022-11-28 17:44
eilnbut only one main queue that triggers the circuit
#asahi-re · 2022-11-28 17:44
eilnthere are 8 hw queue slots which can be stacked
#asahi-re · 2022-11-28 17:42
eilnyou can see him transition to ane lol
#asahi-re · 2022-11-28 17:42
eilnhttps://patents.google.com/?inventor=Christopher+L.+Mills