#
✕ nick:povik
#asahi-dev · 2023-02-14 12:22
povikhah, haven't seen (heard?) the startup cutoff yet
#asahi-dev · 2023-02-14 12:20
povikmarcan: right, a solution
#asahi-dev · 2023-02-14 12:20
povikor in other words: if the deamon's not responsive it's hard to assure safety anyway
#asahi-dev · 2023-02-14 12:19
povikon second thought it's better if you get a weird effect rather than compromise safety on unresponsive daemon
#asahi-dev · 2023-02-14 12:19
povik13:17 <@marcan> consider a loaded system, the safety daemon gets the notification a bit late / runs late, then you get a weird "speakers are quiet for a split second" effect
#asahi-dev · 2023-02-14 12:18
povikyeah
#asahi-dev · 2023-02-14 12:17
povikthat's true
#asahi-dev · 2023-02-14 12:17
povikmeaning it's significantly attenuated
#asahi-dev · 2023-02-14 12:17
povikwell, it can be in safety state unless the sense PCM is open?
#asahi-dev · 2023-02-14 12:16
povikthe only issue are the alsa timeouts AFAIK, opening/closing the PCM but not having the sample rate race might be OK
#asahi-dev · 2023-02-14 12:15
poviki didn't want to know how ASoC works but now i do
#asahi-dev · 2023-02-14 12:14
povikso it should work out modulo the idleness/rate symmetry issues
#asahi-dev · 2023-02-14 12:14
povikit's effectively another slave device on the bus
#asahi-dev · 2023-02-14 12:14
povikdoesn't look that way to me
#asahi-dev · 2023-02-14 12:13
povik13:13 <@marcan> it'll be tricky getting all the flows right and making sure it acts as a subordinate and doesn't spuriously keep power domains on and things like that
#asahi-dev · 2023-02-14 12:11
povik(that was a response to marcan)
#asahi-dev · 2023-02-14 12:11
povikprobably
#asahi-dev · 2023-02-14 12:09
povikotherwise there's nothing enforced from the side of mca/macaudio
#asahi-dev · 2023-02-14 12:09
povikmarcan: you can open the visense pcm without main pcm running but i think alsa timeouts will shut you down
#asahi-dev · 2023-02-14 12:09
povikalso i think there should be a way to figure out the rate the pcm will let you be opened in without brute force
#asahi-dev · 2023-02-14 12:07
povik...and it didn't need to :)
#asahi-dev · 2023-02-14 12:07
povikthat's pretty much what my script did
#asahi-dev · 2023-02-14 12:07
povikjannau_: ha!
#asahi-dev · 2023-02-14 12:06
povikthanks!
#asahi-dev · 2023-02-14 12:05
poviksurprisingly it's not described here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html
#asahi-dev · 2023-02-14 12:04
poviki had a script but i lost it
#asahi-dev · 2023-02-14 12:04
povikuh, what's the command for checking a specific binding schema once again?
#asahi-dev · 2023-02-14 11:06
povik\o/
#asahi-dev · 2023-02-13 16:29
povikwithout it, the resume_and_get called in component bind errors out on the second probe attempt
#asahi-dev · 2023-02-13 16:28
povikit's to balance the force_suspend in probe
#asahi-dev · 2023-02-13 16:28
povikjannau: FYI had to patch this to cope with defers from inside the dcp's component bind: https://tpaste.us/QR48
#asahi-dev · 2023-02-12 15:01
povikfor me also \o/
#asahi-dev · 2023-02-12 14:59
poviksven: jannau: ^
#asahi-dev · 2023-02-12 14:59
poviksplit off epic support from sven's 'DCP WIP' commit so i can borrow it
#asahi-dev · 2023-02-12 14:58
povikhttps://github.com/povik/linux/commits/asahi-6.2-rc3-7_dp-altmode-wip
#asahi-dev · 2023-02-10 21:37
povikit just happens to be what i have on disk
#asahi-dev · 2023-02-10 21:37
povikactually, i am not familiar with the book :D
#asahi-dev · 2023-02-10 21:15
povikbut the sio driver is coming into shape at least
#asahi-dev · 2023-02-10 21:15
poviki am making the requisite dcp calls from userspace over debugfs, so still a lot of work remaining
#asahi-dev · 2023-02-10 21:14
povikgood news, the fake dma works!
#asahi-dev · 2023-02-10 21:14
povikgot an audiobook version of 'the wizard of oz' playing over hdmi from asahi
#asahi-dev · 2023-02-10 19:54
povikhad to patch the pwrstate driver to the same effect
#asahi-dev · 2023-02-10 19:54
povikthanks, that may come useful
#asahi-dev · 2023-02-10 19:49
povikSPI_P, out of all domains...
#asahi-dev · 2023-02-10 19:49
povikdon't ask how much time getting to that root cause cost me...
#asahi-dev · 2023-02-10 19:48
poviksio firmware serrors out if you trigger a dpaudio transfer, and the *SPI_P* power domain is disabled
#asahi-dev · 2023-02-10 19:48
povikaaaaargh
#asahi-dev · 2023-02-10 14:36
povikshould have checked first :/
#asahi-dev · 2023-02-10 14:36
povikah...
#asahi-dev · 2023-02-10 14:35
poviknow it occurred to mey that one of you, jannau or sven, could have already done the same in bringing up dcpext

plus ›