#
…

2026-07-05

00:07hdbngr has quit [Ping timeout: 480 seconds]
00:14hdbngr has joined #asahi-dev
00:16nicolas17any asahi devs attending Akademy? (KDE conference, Graz, Austria)
00:21mischa85 has quit [Quit: Lost terminal]
00:23hdbngr has quit [Ping timeout: 480 seconds]
00:30StanfordAppliedCyber[m]depending on how messed up the mac neo is i may even try to daily drive that system
00:31hdbngr has joined #asahi-dev
00:39hdbngr has quit [Ping timeout: 480 seconds]
00:48hdbngr has joined #asahi-dev
00:57hdbngr has quit [Ping timeout: 480 seconds]
01:05hdbngr has joined #asahi-dev
01:16hdbngr has quit [Ping timeout: 480 seconds]
01:24hdbngr has joined #asahi-dev
01:33hdbngr has quit [Ping timeout: 480 seconds]
01:39pthariensflame has joined #asahi-dev
01:41hdbngr has joined #asahi-dev
01:44pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
01:44pthariensflame has joined #asahi-dev
01:45integralpilot has joined #asahi-dev
01:45pthariensflame has quit []
01:46integralpilotyuka: yay! perfect, thank you for fixing that. such a silly typo from me lol, sorry for making it. will integrate into v2 :)
01:47integralpilotenverbalalic: have you set up the other end of the dockchannel correctly? iirc if you havent it might lead to that, but not 100% sure. could be another issue with dc-uart (i did make it very rushed as my focus was HID)
01:47pthariensflame has joined #asahi-dev
01:47integralpilot has quit []
01:48pthariensflame has quit []
01:49hdbngr has quit [Ping timeout: 480 seconds]
01:57hdbngr has joined #asahi-dev
01:57pthariensflame has joined #asahi-dev
01:58pthariensflame has quit []
01:58pthariensflame has joined #asahi-dev
01:59pthariensflame has quit [Remote host closed the connection]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:00ciara has quit [Remote host closed the connection]
02:00pthariensflame has joined #asahi-dev
02:00pthariensflame has quit [Remote host closed the connection]
02:05hdbngr has quit [Ping timeout: 480 seconds]
02:12ciara has joined #asahi-dev
02:13hdbngr has joined #asahi-dev
02:21hdbngr has quit [Ping timeout: 480 seconds]
02:28hdbngr has joined #asahi-dev
02:37hdbngr has quit [Ping timeout: 480 seconds]
02:44hdbngr has joined #asahi-dev
02:53hdbngr has quit [Ping timeout: 480 seconds]
03:00hdbngr has joined #asahi-dev
03:00pthariensflame has joined #asahi-dev
03:03pthariensflame has quit [Remote host closed the connection]
03:03pthariensflame has joined #asahi-dev
03:04pthariensflame has quit [Remote host closed the connection]
03:06pthariensflame has joined #asahi-dev
03:08hdbngr has quit [Ping timeout: 480 seconds]
03:15pthariensflame has quit [Remote host closed the connection]
03:16hdbngr has joined #asahi-dev
03:18pthariensflame has joined #asahi-dev
03:21pthariensflame has quit [Remote host closed the connection]
03:22pthariensflame has joined #asahi-dev
03:24pthariensflame has quit [Remote host closed the connection]
03:24pthariensflame has joined #asahi-dev
03:25hdbngr has quit [Ping timeout: 480 seconds]
03:25pthariensflame has quit [Remote host closed the connection]
03:29pthariensflame has joined #asahi-dev
03:29pthariensflame has quit [Remote host closed the connection]
03:29pthariensflame has joined #asahi-dev
03:29pthariensflame has quit [Remote host closed the connection]
03:30pthariensflame has joined #asahi-dev
03:31pthariensflame has quit [Remote host closed the connection]
03:33hdbngr has joined #asahi-dev
03:42Stary has quit [Quit: ZNC - http://znc.in]
03:42hdbngr has quit [Ping timeout: 480 seconds]
03:46hdbngr has joined #asahi-dev
03:49Stary has joined #asahi-dev
03:49croissant` has quit []
03:49croissant has joined #asahi-dev
03:54hdbngr has quit [Ping timeout: 480 seconds]
03:57ralim8 has quit [Quit: The Lounge - https://thelounge.chat]
03:58ralim8 has joined #asahi-dev
03:58nora has joined #asahi-dev
03:59ralim8 has quit []
04:00nora_ has quit [Ping timeout: 480 seconds]
04:04hdbngr has joined #asahi-dev
04:12hdbngr has quit [Ping timeout: 480 seconds]
04:17ralim8 has joined #asahi-dev
04:21hdbngr has joined #asahi-dev
04:30hdbngr has quit [Ping timeout: 480 seconds]
04:38hdbngr has joined #asahi-dev
04:44Biswa96[m] has joined #asahi-dev
04:45Biswa96[m] has left #asahi-dev [User left]
04:47hdbngr has quit [Ping timeout: 480 seconds]
04:54hdbngr has joined #asahi-dev
05:07hdbngr has quit [Ping timeout: 480 seconds]
05:14hdbngr has joined #asahi-dev
05:23hdbngr has quit [Ping timeout: 480 seconds]
05:26mattia013 has joined #asahi-dev
05:30hdbngr has joined #asahi-dev
05:39hdbngr has quit [Ping timeout: 480 seconds]
05:46hdbngr has joined #asahi-dev
06:00hdbngr has quit [Ping timeout: 480 seconds]
06:08hdbngr has joined #asahi-dev
06:17hdbngr has quit [Ping timeout: 480 seconds]
06:23hdbngr has joined #asahi-dev
06:31sofusimplementing vp9 is going faster than i thought it would
06:31sofusi went from 0 tests passing to ~150 in two days :p
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:32sofusi think the fast ap cores are giving me problems
06:34sofusim having timing related issues with stuff apple does not seem to check
06:35sofusso we might need to make the cm3 do more work
06:36sofusalso vp9 is gonna be super ugly https://pastebin.com/iXPh5uMi
06:36chaos_princessheh, that part
06:37sofusthats actually another part, you are thinking of https://pastebin.com/HRgC5jJx
06:39hdbngr has joined #asahi-dev
06:42chadmedoh thats revolting
06:42chadmedO(maybe)
06:43sofusin vp9 there are the prob blobs, but also another larger struct that counts how many times each value in the prob blob is used
06:43sofuseiln did that in software, but avd actually exposes that also
06:44sofusso the first link is setting up pointers to all the coeff/eob symbols in the symbol counts struct
06:47sofusv4l2 wants pointers to all the symbol counts, but it expects a certain memory layout that avd does not use, so after every frame we also need to manually copy counts :(
06:50chadmedcould be a lot worse
06:50sofusbut still the vp9 driver is pretty lean compared to the others i looked at
06:53hdbngr has quit [Ping timeout: 480 seconds]
06:54sofuschadmed: yeah just annoying
07:01hdbngr has joined #asahi-dev
07:06nela has quit [Ping timeout: 480 seconds]
07:10hdbngr has quit [Ping timeout: 480 seconds]
07:14LarstiQdifference between iboot versions?
07:14LarstiQah, had not read all of all backlog yet
07:15nela has joined #asahi-dev
07:18hdbngr has joined #asahi-dev
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:32hdbngr has joined #asahi-dev
07:36nela has quit [Ping timeout: 480 seconds]
07:36enova has joined #asahi-dev
07:40hdbngr has quit [Ping timeout: 480 seconds]
07:41nela has joined #asahi-dev
07:47enova has quit [Remote host closed the connection]
07:50hdbngr has joined #asahi-dev
08:11pb17 has quit [Remote host closed the connection]
08:16hdbngr has quit [Ping timeout: 480 seconds]
08:16hdbngr has joined #asahi-dev
08:18pb17 has joined #asahi-dev
08:25hdbngr has quit [Ping timeout: 480 seconds]
08:33hdbngr has joined #asahi-dev
08:41hdbngr has quit [Ping timeout: 480 seconds]
08:50hdbngr has joined #asahi-dev
08:58hdbngr has quit [Ping timeout: 480 seconds]
09:00chaos_princess has quit [Quit: chaos_princess]
09:01chaos_princess has joined #asahi-dev
09:06hdbngr has joined #asahi-dev
09:10thunfisch has quit [Quit: frrrp!]
09:14hdbngr has quit [Ping timeout: 480 seconds]
09:21hdbngr has joined #asahi-dev
09:27luma has joined #asahi-dev
09:29hdbngr has quit [Ping timeout: 480 seconds]
09:30hdbngr has joined #asahi-dev
09:36luma has quit [Remote host closed the connection]
09:37luma has joined #asahi-dev
09:39hdbngr has quit [Ping timeout: 480 seconds]
09:42hdbngr has joined #asahi-dev
09:52hdbngr has quit [Ping timeout: 480 seconds]
10:00hdbngr has joined #asahi-dev
10:18hdbngr has quit [Ping timeout: 480 seconds]
10:26jamie__ has joined #asahi-dev
10:28hdbngr has joined #asahi-dev
10:33jamie_ has quit [Ping timeout: 480 seconds]
10:36hdbngr has quit [Ping timeout: 480 seconds]
10:39ArcaneNibble has quit [Quit: ZNC 1.10.2 - https://znc.in]
10:39ArcaneNibble has joined #asahi-dev
10:44hdbngr has joined #asahi-dev
11:04hdbngr has quit [Remote host closed the connection]
11:04hdbngr has joined #asahi-dev
11:16hdbngr has quit [Ping timeout: 480 seconds]
11:17hdbngr has joined #asahi-dev
11:18yurix has quit [Remote host closed the connection]
11:25yukashould the M4 watchdog get a new compatible? iirc once the secondary watchdog is disabled, it can be used like the previous watchdogs
11:29chadmedimo it should get one, and then it should just be compatible = "apple,t8132-wdt", "apple,t8103-wdt", "apple,wdt"; or minus the t8103 compat if we want linux to deal with the secondary watchdog rather than just killing it from m1n1
11:30yukaI thought we were not adding the generic "apple,wdt" anymore
11:30hdbngr has quit [Ping timeout: 480 seconds]
11:30yukaah nevermind
11:30yukat8122 has "apple,t8122-wdt", "apple,t8103-wdt"
11:31yukaSo this would be "apple,t8132-wdt", "apple,t8103-wdt"; either way?
11:31chadmedyeah no generic
11:31chadmedforgot about that whole thing :P
11:31yukam1n1 has always disabled the primary watchdog
11:31yukaand then linux re-enabled it if it had the driver
11:32chadmedyeah, point being do we want to actually use the secondary or just kill it and leave it alone
11:32chaos_princessdo we need the secondary for anything?
11:32yukanot that I know of
11:32chadmedif m1n1 just kills it and we dont care about it in the kernel we can add the t8103 compat and be done with it then
11:33chaos_princessdoes it, idk, reset it harder or something
11:33yukaI don't know
11:34yukaI'm preparing a patch series for M4 right now, I have the device tree in mostly the same state as M3, except for keyboard backlight (I don't have an M4 laptop).
11:34chaos_princessthrow backlight on your m5, if it works, i am sure m4 is the same :P
11:35yukathat will have to wait until tomorrow, locked myself out of the M5
11:35hdbngr has joined #asahi-dev
11:48hdbngr has quit [Ping timeout: 480 seconds]
11:51hdbngr has joined #asahi-dev
12:05hdbngr has quit [Remote host closed the connection]
12:05hdbngr has joined #asahi-dev
12:14hdbngr has quit [Ping timeout: 480 seconds]
12:19hdbngr has joined #asahi-dev
12:27yukaHmm, cpu compatibles will also be fun
12:27yukaI forgot about those
12:27yukaI think I'll suggest apple,donan-e and apple,donan-p
12:27hdbngr has quit [Ping timeout: 480 seconds]
12:27svensounds good to me
12:35hdbngr has joined #asahi-dev
12:44hdbngr has quit [Ping timeout: 480 seconds]
12:49chadmedmacaudio actually squashed cleanly and if we get it upstream there'll only be 5ish patches left downstream for audio
12:49chadmedmost of which unfortunately cannot be upstreamed
12:50chadmedabusing the regulator api to get shared gpio on the codec reset lines
12:50chadmedand hard coding macaudio specific stuff into the tas2764 visense code but i dont think that is actually entirely necessary
12:52chadmedthe shared gpio problem is annoying though. we tried to upstream the regulator solution and got told to come back with a treewide shared gpio api :/
12:53chadmedand the refcounted thing i thought of had actually been tried before and not accepted :P
12:53hdbngr has joined #asahi-dev
13:01yurix has joined #asahi-dev
13:02hdbngr has quit [Ping timeout: 480 seconds]
13:07yurix has quit [Remote host closed the connection]
13:08yurix has joined #asahi-dev
13:10hdbngr has joined #asahi-dev
13:12svenPSCI: CPU_SUSPEND(power_state=0x0, entry_point=0x0, context_id=0x0) <-- alright, psci-cpuidle seems to work as well and i really don't want debug prints there :D
13:18hdbngr has quit [Ping timeout: 480 seconds]
13:20svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=efi-psci current kernel code, requires a surprisingly small diffstat
13:20sventime to clean up the m1n1 side now
13:21crabbedhaloablut has quit []
13:24crabbedhaloablut has joined #asahi-dev
13:26hdbngr has joined #asahi-dev
13:35hdbngr has quit [Ping timeout: 480 seconds]
13:43hdbngr has joined #asahi-dev
13:45jannauyuka: the watchdog is re-enabled in kboot in m1n1. not need to reenable the secondary watchdog though
13:46jannauchadmed: I think there is/was upstream work for shared power-enable gpios
13:48jannauerr: s/power-enable/reset/
13:51hdbngr has quit [Ping timeout: 480 seconds]
13:56jannaucould we please get t603x in before m4 and later
13:59yukaI can prepare the same dt-bindings changes and minimal device trees for t6030/t6031/t6034 based on the downstream ones, or are you already on that?
14:00hdbngr has joined #asahi-dev
14:01svenalso please mention in the cover letter that we'd like to take every dt-binding that has an ack through the apple-soc tree since there are no driver changes and we only need them for the dts files themselves
14:07jannauI'm on it. I'm still not done with the downstream changes as I want to handle t6030 and t603[124] separately
14:09hdbngr has quit [Ping timeout: 480 seconds]
14:14yukasven: how would we do it if there were actual driver changes?
14:15sventhen the dt-binding change has to go through the respective tree together with the driver that needs the new compatible
14:15svenbut if there's no driver changes it's just nice to offer to take the change through our tree
14:15svenit doesn't really matter since the dt validation scripts only have to pass on -next and not on each single commit
14:16sventhat's all documented somewhere in Documentation/ iirc
14:18hdbngr has joined #asahi-dev
14:23yukaokay, noted
14:26hdbngr has quit [Ping timeout: 480 seconds]
14:31sventhe joys of mailing list based development :P
14:34hdbngr has joined #asahi-dev
14:44hdbngr has quit [Ping timeout: 480 seconds]
14:53hdbngr has joined #asahi-dev
15:02hdbngr has quit [Ping timeout: 480 seconds]
15:03runxiyu_ has quit [Remote host closed the connection]
15:09hdbngr has joined #asahi-dev
15:12runxiyu_ has joined #asahi-dev
15:14runxiyu_ has quit [Remote host closed the connection]
15:14runxiyu_ has joined #asahi-dev
15:18hdbngr has quit [Ping timeout: 480 seconds]
15:25hdbngr has joined #asahi-dev
15:40hdbngr has quit [Ping timeout: 480 seconds]
15:50hdbngr has joined #asahi-dev
15:59hdbngr has quit [Ping timeout: 480 seconds]
16:01coroner21 has quit [Remote host closed the connection]
16:02hdbngr has joined #asahi-dev
16:14hdbngr has quit [Ping timeout: 480 seconds]
16:20hdbngr has joined #asahi-dev
16:29hdbngr has quit [Ping timeout: 480 seconds]
16:38hdbngr has joined #asahi-dev
16:42kaazoo has joined #asahi-dev
16:44Guest12554 has quit [Quit: Bridge terminating on SIGTERM]
16:44rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:47hdbngr has quit [Ping timeout: 480 seconds]
16:48kaazoo has quit [Remote host closed the connection]
16:48kaazoo has joined #asahi-dev
16:49rhysmdnz has joined #asahi-dev
16:50Jamie has joined #asahi-dev
16:51Jamie is now known as Guest12678
16:54hdbngr has joined #asahi-dev
16:56kaazoo has quit [Quit: Leaving.]
17:03hdbngr has quit [Ping timeout: 480 seconds]
17:03hdbngr has joined #asahi-dev
18:04ddxtanx has joined #asahi-dev
18:17user890104_ has joined #asahi-dev
18:21svenalright, suspend works and it ends up in m1n1's deep_wfi(). probably good enough to send this as an RFC for now
18:21sventhis is totally gonna break with u-boot but that can come once this is actually accepted upstream
18:24user890104 has quit [Ping timeout: 480 seconds]
18:24Lyude has quit [Read error: Connection reset by peer]
18:25sventhis also supports idle state that lose all cpu state so we could even implement turning the cores off entirely with this i think
18:25user890104_ is now known as user890104
18:25svenwell, except for one core unless we figure out how to bring that one out of deep sleep :D
18:26user890104 has quit []
18:26Lyude has joined #asahi-dev
18:26user890104 has joined #asahi-dev
18:26chaos_princessdoes that actually work
18:26svenwe can turn cores off and then on again, can't we?
18:27svenwe only have to keep one core alive, don't we?
18:27chaos_princessaccording to xnu comments, the ovrd regs are cluster-global
18:27chaos_princessand if the core does wfi, it also sleeps
18:27chaos_princessm1n1 does wfe
18:27sventhat's gonna be a bit hacky but it's possible to implement that i think
18:28svenjust catch all cores inside m1n1 first and once we have all of one cluster put them to sleep
18:28chaos_princessi guess we can turn off all p-clusters, and put the ecluster into just deep wfi
18:28svenyeah i guess
18:29svenor someone could figure out what xnu magic we are missing to be able to wake from that deep sleep state again :/
18:33user890104_ has joined #asahi-dev
18:40user890104 has quit [Ping timeout: 480 seconds]
19:06user890104_ has quit []
19:06user890104 has joined #asahi-dev
20:16pb17 has quit [Remote host closed the connection]
20:16pb17 has joined #asahi-dev
20:35pjv has joined #asahi-dev
20:47Yushi has quit [Remote host closed the connection]
20:48Yushi has joined #asahi-dev
20:48mattia013 has quit [Quit: mattia013]
20:49Lyude has quit [Read error: Connection reset by peer]
20:50Lyude has joined #asahi-dev
21:18pjv has quit [Ping timeout: 480 seconds]
23:28enverbalalic has joined #asahi-dev
23:36enverbalaliccould we have a git repo with raw dumps of adt's from all the various chips ? what's currently being a pain for me is figuring out which regs on the dts for a certain chip correspond to regs on the adt side. for example i'm looking at the t8122 dts from integralpilot and trying to use the same dc-hid stuff for t6040. looking at dart-mtp on the adt has 3 regs
23:37enverbalalicthe linux dts has only 1 reg, it would be nice to be able to open the t8122 adt, look for which reg number that maps on the adt, and then map the same reg num on t6040 adt. also same thing with interrupts, mtp interrupt ordering is different between dts and adt, dts is ascending order, adt is mixed. idk if the adt on t8122 also has them in the same order as linux
23:37enverbalalicor if the linux dts just decided that sorting them by order is prettier and just write the driver to expect them that way
23:38enverbalalicthere's probably a licensing thing about distributing adts i guess
23:40balrog_ has joined #asahi-dev
23:42balrog has quit [Ping timeout: 480 seconds]
…