#
…

2021-10-11

00:53boardwalk1 has joined #asahi-dev
00:59boardwalk has quit [Ping timeout: 480 seconds]
00:59boardwalk1 is now known as boardwalk
01:23jabashque_ has joined #asahi-dev
01:24nkaretnikov_ has joined #asahi-dev
01:25jabashque is now known as Guest2461
01:25jabashque_ is now known as jabashque
01:25nkaretnikov has quit [Ping timeout: 480 seconds]
01:25nkaretnikov_ is now known as nkaretnikov
01:25nathanchance_ has joined #asahi-dev
01:25cptcobalt has quit [Ping timeout: 480 seconds]
01:26Guest2461 has quit [Ping timeout: 480 seconds]
01:26nathanchance has quit [Ping timeout: 480 seconds]
01:26nathanchance_ is now known as nathanchance
01:36nkaretnikov has quit [Remote host closed the connection]
01:36nathanchance has quit [Write error: connection closed]
01:37jkkm has quit [Read error: Connection reset by peer]
01:44cptcobalt has joined #asahi-dev
01:44jkkm has joined #asahi-dev
01:44nathanchance has joined #asahi-dev
01:45nkaretnikov has joined #asahi-dev
02:26phiologe has joined #asahi-dev
02:29PhilippvK has quit [Ping timeout: 480 seconds]
03:24kov has quit [Quit: Coyote finally caught me]
03:24kov has joined #asahi-dev
03:50doggkruse has joined #asahi-dev
04:31doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:48doggkruse has joined #asahi-dev
04:56doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:04doggkruse has joined #asahi-dev
05:37doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:15chadmed has quit [Quit: Konversation terminated!]
08:18aleasto has joined #asahi-dev
08:20aleasto has quit [Remote host closed the connection]
08:23aleasto has joined #asahi-dev
08:23aleasto has quit [Remote host closed the connection]
08:26aleasto has joined #asahi-dev
09:01povik has joined #asahi-dev
09:04aleasto has quit [Ping timeout: 480 seconds]
09:05aleasto has joined #asahi-dev
09:52aleasto has quit [Quit: Konversation terminated!]
09:52aleasto has joined #asahi-dev
09:53aleasto has quit [Remote host closed the connection]
09:53aleasto has joined #asahi-dev
09:53aleasto has quit []
10:03aleasto has joined #asahi-dev
10:22povik has quit [Quit: Page closed]
11:18gabuscus_ has joined #asahi-dev
11:22gabuscus has quit [Ping timeout: 480 seconds]
12:09gabuscus has joined #asahi-dev
12:13gabuscus_ has quit [Ping timeout: 480 seconds]
12:18chadmed has joined #asahi-dev
13:48yuyichao_ has quit [Ping timeout: 480 seconds]
14:02jbowen has joined #asahi-dev
14:15povik has joined #asahi-dev
14:20yuyichao_ has joined #asahi-dev
14:43yuyichao has joined #asahi-dev
14:47yuyichao_ has quit [Ping timeout: 480 seconds]
14:57povikmarcan: so i started adding additional child-parent relations to the power domains as we discussed earlier
14:58povikand i ran into this
14:58povikhere it errors out
14:58povikAIUI it happens due to iboot leaving some domain on where the parent is off
15:05povikmarcan: yep. disabling the domain before linux init makes the error go away
15:06marcanpovik: yes, linux expects the domain power relationships to be sane on boot
15:06marcanwe can have m1n1 fix some things if necessary
15:22povikyeah but that runs against my current goal of having a free-standing audio driver with no special m1n1 preinit :(
15:22povikwill patch my copy of the linux pwrstate driver for the time being
15:28marcanpovik: what tree do you have right now?
15:29povikmarcan: 5.15-rc3 with pmgr, i2c, pinctrl and maz's pcie patches
15:29marcanI meant what PD tree
15:29povikoh right
15:29povikwell i can post it if you want
15:31povikps_mca1 is offending
15:31povikbeing turned on at boot
15:32j_eyfor the boot chime maybe?
15:33povikboot chime?
15:33povikoh, as in the boot sound
15:33povikright, probably, mca1 is the speaker
15:34* povikdidn't remember what chime means for a moment
15:36marcanpovik: and sio_adma or audio_p are off?
15:36poviki believe so. let me check
15:36marcan # 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
15:36marcanso that's already inconsistent per ADT
15:37marcanI'm just going to add code to m1n1 to at least fix everything that's broken wrt the ADT tree
15:38povikmarcan: only sio_adma is off, audio_p is on
15:38marcanyes, but the ADT claims both are parents
15:38poviktell me about it
15:40povikmaybe sio_adma need not be a parent for mca1, being the power domain of the dma controller
15:40povikthat dependence is bit fishy
15:54* povikafk for ~2h
16:14marcanif the downstream nodes are distinct, then yeah, it shouldn't
16:14marcanif 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
17:15_andy_t_ has joined #asahi-dev
17:42doggkruse has joined #asahi-dev
17:52kettenissio_adma being off makes some sense; the bootloader is probably bit banging the i2s stream for the boot chime
18:16yuyichao_ has joined #asahi-dev
18:20yuyichao has quit [Ping timeout: 480 seconds]
18:27rross101 has joined #asahi-dev
18:29rross101 has quit [Remote host closed the connection]
18:39rross101 has joined #asahi-dev
18:40rross101 has quit [Remote host closed the connection]
18:43rross101 has joined #asahi-dev
18:44rross101 has quit [Remote host closed the connection]
19:17povikwell 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
19:17povikand in the ADT, mca1 depends on sio_adma, which is presumably the PD of the dma controller
19:17povikthe dma controller also depends on sio_adma
19:18povikmca1 also depends on PD called mca1
19:18povikso the question is, if the dependence of mca1 on sio_adma is an actual dependence, or something someone threw in there
19:18povikthat's what i meant
19:18povikanyway, this should be testable
19:21povikoh sorry mca1 is assigned to PD called mca1 which in turn depends on sio_adma
19:22povikmca1 (as device node) does not depend on sio_adma directly
19:22povikso that's that
19:25jacoxon has joined #asahi-dev
19:26rross101 has joined #asahi-dev
19:29rross101 has quit [Remote host closed the connection]
19:47yuyichao has joined #asahi-dev
19:50yuyichao_ has quit [Ping timeout: 480 seconds]
20:06jbowen has quit [Read error: Connection reset by peer]
20:07jbowen has joined #asahi-dev
20:36doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:42jacoxon has quit []
20:42povikbehold!
20:42jacoxon has joined #asahi-dev
20:42povikwe have moved past PoC m1n1 audio driver to PoC linux audio driver
20:42povikit's still speaker-only
20:43poviknow it's time for more r/e, which i have been looking forward to
20:44j_eypovik: so can you play stuff through aplay or whatever music player?
20:44povikalthough i don't encourage anyone to use it yet
20:50jacoxon has quit []
21:13jacoxon has joined #asahi-dev
21:14nsklauswould it work on macbookpro too ?
21:16jacoxon has quit []
21:16jbowen has quit [Quit: leaving]
21:17jacoxon has joined #asahi-dev
21:22jacoxon has quit []
21:39poviknsklaus: unlikely
21:39povikand if it did, it would be in some limited way
21:39poviklike sound coming from the left or right speaker only
21:46ah-[m]awesome povik!
21:47poviknsklaus: although that support may be added soon
21:47poviki just don't have the hw to test on
22:26povik has quit [Quit: Page closed]
22:29yuyichao_ has joined #asahi-dev
22:31aleasto has quit [Quit: Konversation terminated!]
22:33yuyichao has quit [Ping timeout: 480 seconds]
22:35doggkruse has joined #asahi-dev
22:36kode54thing is
22:36kode54there's four layouts
22:37kode54mini has one speaker, air has two, pro has four
22:37kode54not sure what the imac has lol, probably two
23:07yuyichao has joined #asahi-dev
23:10yuyichao_ has quit [Ping timeout: 480 seconds]
23:49yuyichao has quit [Ping timeout: 480 seconds]
…