#
✕ nick:marcan
#asahi-dev · 2021-10-12 05:30
marcanand yeah, audio doesn't work on my intel iMac :>
#asahi-dev · 2021-10-12 05:30
marcan(and funding, which means there is no excuse for progress to stop)
#asahi-dev · 2021-10-12 05:29
marcanI think a lot of people don't realize that Mac support on Linux has largely been a haphazard thing until now, but this time we have a whole bunch of people working together
#asahi-dev · 2021-10-12 05:28
marcanchadmed: this stuff isn't hard... if you *have* people working on it
#asahi-dev · 2021-10-12 05:28
marcanawesome! :D
#asahi-dev · 2021-10-11 16:14
marcanif they are handled by the same node then the parenting could be done like this, or it could be a driver with explicit multi-pd support if that makes sense
#asahi-dev · 2021-10-11 16:14
marcanif the downstream nodes are distinct, then yeah, it shouldn't
#asahi-dev · 2021-10-11 15:38
marcanyes, but the ADT claims both are parents
#asahi-dev · 2021-10-11 15:37
marcanI'm just going to add code to m1n1 to at least fix everything that's broken wrt the ADT tree
#asahi-dev · 2021-10-11 15:36
marcanso that's already inconsistent per ADT
#asahi-dev · 2021-10-11 15:36
marcanyeah
#asahi-dev · 2021-10-11 15:36
marcan # 63 MCA1 id: 64 gate: 24 psreg: 4 unkX: 0 unkY: 0 unk0: 0x0 unk: 0x000 unk3: 0 0 0 0 @ 0x23b7002c0 = 0x000000ff parents: AUDIO_P, SIO_ADMA
#asahi-dev · 2021-10-11 15:36
marcanpovik: and sio_adma or audio_p are off?
#asahi-dev · 2021-10-11 15:29
marcanI meant what PD tree
#asahi-dev · 2021-10-11 15:28
marcanpovik: what tree do you have right now?
#asahi-dev · 2021-10-11 15:06
marcanwe can have m1n1 fix some things if necessary
#asahi-dev · 2021-10-11 15:06
marcanpovik: yes, linux expects the domain power relationships to be sane on boot
#asahi-dev · 2021-10-09 07:52
marcanpovik: pop over to -re
#asahi-dev · 2021-10-09 07:50
marcanthere *is* a reset line, but it's just a gpio...
#asahi-dev · 2021-10-09 07:50
marcanthe speaker amp is hooked up directly to the active rail
#asahi-dev · 2021-10-09 07:50
marcanbut it's not a rail
#asahi-dev · 2021-10-09 07:50
marcannot quite yet
#asahi-dev · 2021-10-09 07:44
marcan... why on earth would this have anything to do with the speaker amp :S
#asahi-dev · 2021-10-09 07:44
marcanpovik: oh wow, that init happens first thing after cpu init, must be something important
#asahi-dev · 2021-10-09 07:26
marcan... reg[1] in dockchannel-uart? really?
#asahi-dev · 2021-10-09 07:24
marcanmisread
#asahi-dev · 2021-10-09 07:24
marcanwait sorry
#asahi-dev · 2021-10-09 07:24
marcanpovik: that's reg[0] in admac-sio
#asahi-dev · 2021-10-09 07:23
marcanor rather perfstate
#asahi-dev · 2021-10-09 07:23
marcanhm, are those pwrstate registers? let's see
#asahi-dev · 2021-10-09 02:38
marcanhttps://mrcn.st/p/NQfWjZ7o this one
#asahi-dev · 2021-10-09 02:38
marcaner, sorry, wrong prop
#asahi-dev · 2021-10-09 02:38
marcanhttps://mrcn.st/p/tGRDY4yE I really do mean a pile for PMP
#asahi-dev · 2021-10-09 02:37
marcanalyssa: DCP has those largely in the DAPF
#asahi-dev · 2021-10-08 22:52
marcan(PMP is funny btw, the reg property in the adt is actually a pile of MMIO ranges you're supposed to map *for* it in the DART, then on startup you give it a table of DVAs and some other stuff from the ADT)
#asahi-dev · 2021-10-08 22:50
marcanit's definitely required for a bunch of DARTs :)
#asahi-dev · 2021-10-08 22:50
marcanthat's when I added that code
#asahi-dev · 2021-10-08 22:50
marcanah yes, I noticed that while making PMP work
#asahi-dev · 2021-10-08 22:50
marcan02:51:37 < sven> hm... dart_initialize does self.regs.ENABLED_STREAMS.val = 0 and then later self.regs.ENABLED_STREAMS.val |= self.enabled_streams which my driver doesn't do
#asahi-dev · 2021-10-08 17:27
marcanwouldn't the poc driver be using bypass mode?
#asahi-dev · 2021-10-08 17:18
marcanand yeah, 15 to bypass seems to be a thing
#asahi-dev · 2021-10-08 17:18
marcanI think DCP had it? or another one? I forget
#asahi-dev · 2021-10-08 17:17
marcanif you dump a DAPF that is properly configured you'll see it
#asahi-dev · 2021-10-08 17:17
marcanthat's as much as you'd see on the stream anyway
#asahi-dev · 2021-10-08 17:17
marcanpovik: it's just the page after the DART regs, and it's a little table with from/to/size type mappings, and some magic flags, some of which seem related to whether the mapping gets used for the DART PTs themselves
#asahi-dev · 2021-10-08 17:16
marcanack, thanks
#asahi-dev · 2021-10-08 17:14
marcanremind me if you have aes test code?
#asahi-dev · 2021-10-08 17:14
marcanfine
#asahi-dev · 2021-10-08 17:14
marcanlol
#asahi-dev · 2021-10-08 17:14
marcanalso stream #15 smelled like a stage 2 thing

plus ›