#
✕ nick:chadmed
#asahi-dev · 2026-06-17 08:01
chadmedok yeah so that avd_boot sequence is setting up irqs and stuff
#asahi-dev · 2026-06-17 08:00
chadmedoh god it actually has been 4 years
#asahi-dev · 2026-06-17 07:54
chadmed(its been like 3.5 years since i looked at avd)
#asahi-dev · 2026-06-17 07:53
chadmednot sure i like the trace replays in avd_hw.c. do we understand what any of that does? iirc some of it was setting up interrupts and tunables but not all of it
#asahi-dev · 2026-06-17 07:45
chadmeda shim is something that sits between two other things but doesnt really do much by itself. the term comes from thin sheets of metal that are used to space things out a precise amount but in software refers to small bits of software that basically just shuttle messages between two other bigger pieces of software
#asahi-dev · 2026-06-17 07:40
chadmedwheres the driver
#asahi-dev · 2026-06-17 07:38
chadmedto set up irqs?
#asahi-dev · 2026-06-17 07:38
chadmedis the fw just a shim
#asahi-dev · 2026-06-16 13:06
chadmedyou can (and sometimes need to) disassemble your own shaders to poke at the ISA etc
#asahi-dev · 2026-06-16 13:00
chadmedor yeah objc
#asahi-dev · 2026-06-16 13:00
chadmedyoull have to write them in MSL which much like other shader languages is just spicy c++
#asahi-dev · 2026-06-16 12:56
chadmedyou write your own shaders that target specific parts of the render pipeline and see how those end up programming the gpu
#asahi-dev · 2026-06-16 12:50
chadmedyes, you are still subject to copyright policy regardless of whether or not youre writing code or documentation
#asahi-dev · 2026-06-16 11:19
chadmedoh .rs lol
#asahi-dev · 2026-06-16 11:08
chadmedif you want, those devicetrees are upstream though so youd have to submit a patch to the mailing lists
#asahi-dev · 2026-06-16 11:03
chadmedyes, likely a copy-paste oversight
#asahi-dev · 2026-06-16 10:56
chadmedthat second link should probably be https://gitlab.freedesktop.org/mesa/mesa/
#asahi-dev · 2026-06-15 13:36
chadmednot sure if it goes that far but iirc its supposed to be clock gated at the very least in that state
#asahi-dev · 2026-06-15 13:34
chadmedi played with making pstate 0 the "base" for agx aaages ago and it helped slightly but caused massive performance issues
#asahi-dev · 2026-06-15 13:30
chadmedthe tcons support it, but are we actually doing it? cant really tell just from iomfb
#asahi-dev · 2026-06-15 13:30
chadmedbig one i havent a clue how we'd actually investigate is whether or not PSR is actually being used on the laptops for example
#asahi-dev · 2026-06-15 13:29
chadmedi have a feeling a lot of our terrible idle power draw is no longer related to the application cores at this point
#asahi-dev · 2026-06-15 13:27
chadmedits just not really been terribly important
#asahi-dev · 2026-06-15 13:27
chadmedits been on the pile of things to do for years, and at one point there was even a very dirty poc floating around
#asahi-dev · 2026-06-15 13:26
chadmedyeah but if m1n1's entrypoint is a trampoline that can either start m1n1 or go do that other stuff if coming out of sleep on an already booted system then that becomes """"""easy""""""
#asahi-dev · 2026-06-15 13:24
chadmedyeah its just that its a lot of work that no one really wants to do rn
#asahi-dev · 2026-06-15 11:34
chadmedokie doke userspace audio components have been tagged/released, couple of trivial kernel patches at https://github.com/AsahiLinux/linux/pull/519
#asahi-dev · 2026-06-15 10:59
chadmedawesome, so diffing the austrips does work :P
#asahi-dev · 2026-06-15 10:53
chadmedthanks
#asahi-dev · 2026-06-15 10:53
chadmedit was more for putting in all the places we document the AIDs and configs (speakers.txt and macaudio.c) but i can just leave it out
#asahi-dev · 2026-06-15 10:48
chadmedi think it's either 32 or 33
#asahi-dev · 2026-06-15 10:48
chadmedstill need AID for j575 then i will do the releases
#asahi-dev · 2026-06-15 10:47
chadmedprobably fine to use the same userspace config then
#asahi-dev · 2026-06-15 10:26
chadmedthe SL betas were slightly less busted
#asahi-dev · 2026-06-15 10:07
chadmedyou can test the 314 config if you want, but thats going to suck regardless because it needs redoing
#asahi-dev · 2026-06-15 10:07
chadmedim not sure why theyd do that given its the same chassis as the others but whatever, its different
#asahi-dev · 2026-06-15 10:06
chadmedjannau: TS parameters are different, so it must use different woofers and tweeters
#asahi-dev · 2026-06-15 09:41
chadmedi started with a 2017 13" mbp with a cactus battery :P
#asahi-dev · 2026-06-15 09:41
chadmedotherwise just use whatever linux box
#asahi-dev · 2026-06-15 09:41
chadmedthe only reason to have a second apple silicon mac is if you need debug uart via tuxvdmtool
#asahi-dev · 2026-06-15 09:37
chadmedlmao
#asahi-dev · 2026-06-15 09:37
chadmedoh they changed that?
#asahi-dev · 2026-06-15 09:37
chadmedyou need to have an apple developer account (not hard to get)
#asahi-dev · 2026-06-15 09:36
chadmedidevicerestore is a cli tool for linux
#asahi-dev · 2026-06-15 09:36
chadmedwhat are you trying to achieve? does what appear in settings/
#asahi-dev · 2026-06-15 09:35
chadmedbputil -nkcas not working is sus
#asahi-dev · 2026-06-15 09:34
chadmedsounds like a bug
#asahi-dev · 2026-06-15 09:34
chadmedyuka: any special message?
#asahi-dev · 2026-06-15 09:15
chadmedno stress
#asahi-dev · 2026-06-15 09:07
chadmedthanks :)

plus ›