ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
boardwalk1 has joined #asahi-dev
boardwalk has quit [Ping timeout: 480 seconds]
boardwalk1 is now known as boardwalk
jabashque_ has joined #asahi-dev
nkaretnikov_ has joined #asahi-dev
jabashque is now known as Guest2461
jabashque_ is now known as jabashque
nkaretnikov has quit [Ping timeout: 480 seconds]
nkaretnikov_ is now known as nkaretnikov
nathanchance_ has joined #asahi-dev
cptcobalt has quit [Ping timeout: 480 seconds]
Guest2461 has quit [Ping timeout: 480 seconds]
nathanchance has quit [Ping timeout: 480 seconds]
nathanchance_ is now known as nathanchance
nkaretnikov has quit [Remote host closed the connection]
nathanchance has quit [Write error: connection closed]
jkkm has quit [Read error: Connection reset by peer]
cptcobalt has joined #asahi-dev
jkkm has joined #asahi-dev
nathanchance has joined #asahi-dev
nkaretnikov has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
doggkruse has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chadmed has quit [Quit: Konversation terminated!]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
povik has joined #asahi-dev
aleasto has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
aleasto has quit []
aleasto has joined #asahi-dev
povik has quit [Quit: Page closed]
gabuscus_ has joined #asahi-dev
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
gabuscus_ has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
povik has joined #asahi-dev
yuyichao_ has joined #asahi-dev
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
<povik> marcan: so i started adding additional child-parent relations to the power domains as we discussed earlier
<povik> and i ran into this
<povik> here it errors out
<povik> AIUI it happens due to iboot leaving some domain on where the parent is off
<povik> marcan: yep. disabling the domain before linux init makes the error go away
<marcan> povik: yes, linux expects the domain power relationships to be sane on boot
<marcan> we can have m1n1 fix some things if necessary
<povik> yeah but that runs against my current goal of having a free-standing audio driver with no special m1n1 preinit :(
<povik> will patch my copy of the linux pwrstate driver for the time being
<marcan> povik: what tree do you have right now?
<povik> marcan: 5.15-rc3 with pmgr, i2c, pinctrl and maz's pcie patches
<marcan> I meant what PD tree
<povik> oh right
<povik> well i can post it if you want
<povik> ps_mca1 is offending
<povik> being turned on at boot
<j_ey> for the boot chime maybe?
<povik> boot chime?
<povik> oh, as in the boot sound
<j_ey> yeah
<povik> right, probably, mca1 is the speaker
* povik didn't remember what chime means for a moment
<marcan> povik: and sio_adma or audio_p are off?
<povik> i believe so. let me check
<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
<marcan> yeah
<marcan> so that's already inconsistent per ADT
<marcan> I'm just going to add code to m1n1 to at least fix everything that's broken wrt the ADT tree
<povik> marcan: only sio_adma is off, audio_p is on
<marcan> yes, but the ADT claims both are parents
<povik> i know
<povik> tell me about it
<povik> maybe sio_adma need not be a parent for mca1, being the power domain of the dma controller
<povik> that dependence is bit fishy
* povik afk for ~2h
<marcan> if the downstream nodes are distinct, then yeah, it shouldn't
<marcan> if 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
_andy_t_ has joined #asahi-dev
doggkruse has joined #asahi-dev
<kettenis> sio_adma being off makes some sense; the bootloader is probably bit banging the i2s stream for the boot chime
yuyichao_ has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
rross101 has joined #asahi-dev
rross101 has quit [Remote host closed the connection]
rross101 has joined #asahi-dev
rross101 has quit [Remote host closed the connection]
rross101 has joined #asahi-dev
rross101 has quit [Remote host closed the connection]
<povik> well you have distinct nodes for the i2s port (mca1) and the dma controller (admac) in both ADT and the linux DT i am putting together
<povik> and in the ADT, mca1 depends on sio_adma, which is presumably the PD of the dma controller
<povik> the dma controller also depends on sio_adma
<povik> mca1 also depends on PD called mca1
<povik> so the question is, if the dependence of mca1 on sio_adma is an actual dependence, or something someone threw in there
<povik> that's what i meant
<povik> anyway, this should be testable
<povik> oh sorry mca1 is assigned to PD called mca1 which in turn depends on sio_adma
<povik> mca1 (as device node) does not depend on sio_adma directly
<povik> so that's that
jacoxon has joined #asahi-dev
rross101 has joined #asahi-dev
rross101 has quit [Remote host closed the connection]
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
jbowen has quit [Read error: Connection reset by peer]
jbowen has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacoxon has quit []
<povik> behold!
jacoxon has joined #asahi-dev
<povik> we have moved past PoC m1n1 audio driver to PoC linux audio driver
<povik> it's still speaker-only
<povik> now it's time for more r/e, which i have been looking forward to
<j_ey> povik: so can you play stuff through aplay or whatever music player?
<povik> yep
<j_ey> cool!
<povik> although i don't encourage anyone to use it yet
jacoxon has quit []
jacoxon has joined #asahi-dev
<nsklaus> would it work on macbookpro too ?
jacoxon has quit []
jbowen has quit [Quit: leaving]
jacoxon has joined #asahi-dev
jacoxon has quit []
<povik> nsklaus: unlikely
<povik> and if it did, it would be in some limited way
<povik> like sound coming from the left or right speaker only
<ah-[m]> awesome povik!
<povik> :)
<povik> nsklaus: although that support may be added soon
<povik> i just don't have the hw to test on
povik has quit [Quit: Page closed]
yuyichao_ has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
yuyichao has quit [Ping timeout: 480 seconds]
doggkruse has joined #asahi-dev
<kode54> thing is
<kode54> there's four layouts
<kode54> mini has one speaker, air has two, pro has four
<kode54> not sure what the imac has lol, probably two
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]