#asahi-dev · 2026-06-29 08:08
chadmedah okay yeah its the index thing then i think#asahi-dev · 2026-06-29 08:07
chadmedindex 1 is the left tweeter, so the current setup just idles out every left tdm slot :P #asahi-dev · 2026-06-29 08:06
chadmedalso swap the masks, 0 should be 0xf0f0 and 2 should be 0x0f0f... i think #asahi-dev · 2026-06-29 08:06
chadmeddai-tdm-slot-tx-idle-mask-2 = <0xf0f0>;#asahi-dev · 2026-06-29 08:06
chadmeddai-tdm-idle-mode-2 = "zero";#asahi-dev · 2026-06-29 08:05
chadmedchange idle mode and mask 1 to 2 lol#asahi-dev · 2026-06-29 08:00
chadmedsorry long day at the bullshit factory#asahi-dev · 2026-06-29 08:00
chadmedoh thats what we swapped to fix it yeah thats right#asahi-dev · 2026-06-29 07:59
chadmedyour swapped v/i slots?#asahi-dev · 2026-06-29 07:55
chadmedhave a look at e.g. j415 #asahi-dev · 2026-06-29 07:55
chadmedthey go on the dai link now#asahi-dev · 2026-06-29 07:54
chadmedare the bus keeper masks in the right place#asahi-dev · 2026-06-29 07:43
chadmedor am i misunderstanding something#asahi-dev · 2026-06-29 07:43
chadmedthis is fine, but seems like a waste of the AP's time to do this for every frame#asahi-dev · 2026-06-29 07:43
chadmedthe way i understand it now, every time we get a request to decode a frame, we reprogram the entire VP with the stream's parameters regardless of whether or not it was already decoding frames from that stream#asahi-dev · 2026-06-29 07:41
chadmedand see if we could possibly make use of multiple vps, but if not even apple does it then its a nothing problem #asahi-dev · 2026-06-29 07:41
chadmedi just wanted to avoid the "program the stream for every single slice" thing but w/e #asahi-dev · 2026-06-29 07:41
chadmedoh ok who cares then#asahi-dev · 2026-06-29 07:40
chadmedi just dont have any confidence in the "simply wait for literally everything to properly support v4l2 stateless or fix all of userspace ourselves" route #asahi-dev · 2026-06-29 07:39
chadmedthat was partially what i was thinking and annoyingly we may have to, at least partially#asahi-dev · 2026-06-29 07:38
chadmedand i want it to be easy to support not-v4l2request apis#asahi-dev · 2026-06-29 07:37
chadmedagreed, im just having fun + playing#asahi-dev · 2026-06-29 07:31
chadmedhttps://github.com/AsahiLinux/speakersafetyd/issues/20#asahi-dev · 2026-06-29 07:30
chadmedno one has come forward to say that they are #asahi-dev · 2026-06-29 07:25
chadmedoh we can just check sound-name-prefix matches the config section#asahi-dev · 2026-06-29 07:24
chadmedif we can map a specific speaker part to its corresponding amp's dt node dynamically that is probably a better approach.#asahi-dev · 2026-06-29 07:20
chadmedalso yeah vs/is_chan are the tdm slot numbers so we will have to un-alias the configs #asahi-dev · 2026-06-29 07:19
chadmedyou think maybe apple has changed the limits since 12.x or whenever we did this? #asahi-dev · 2026-06-28 13:44
chadmedisnt there a gpio for the backlight power?#asahi-dev · 2026-06-28 11:58
chadmeddo we need to buy an m3 ultra studio #asahi-dev · 2026-06-28 11:55
chadmeddamn it#asahi-dev · 2026-06-28 11:55
chadmedthink different#asahi-dev · 2026-06-28 11:51
chadmedtheres not really much left. ~all the codec stuff is merged, and hopefully this will be the last of the MCA patches (new variants notwithstanding)#asahi-dev · 2026-06-28 11:51
chadmedi think we can get kernel-side audio fully upstream by the end of the year barring any major issues with the machine driver#asahi-dev · 2026-06-28 11:07
chadmedbut that said, it is unseasonably warm due to the coming el nino. at this time of night at this time of year it should be closer to 8-11 degrees#asahi-dev · 2026-06-28 11:06
chadmed15 degrees outside but it feels colder than that#asahi-dev · 2026-06-28 11:04
chadmedive got the heater on but brisbane houses are notoriously poorly insulated and it is often colder inside than outside in winter#asahi-dev · 2026-06-28 11:00
chadmedill happily swap right now, it is unpleasantly cold#asahi-dev · 2026-06-28 10:46
chadmedit is not required and the wrong thing to do anyway#asahi-dev · 2026-06-28 10:46
chadmedjannau: when youre feeling up to it and get around to rebasing on 7.1, please also drop ASoC: apple: mca: Move clock shutdown to be shutdown#asahi-dev · 2026-06-28 00:33
chadmedsofus: i think maybe the reg containers in the t8112 dtsi are incorrectly sized. the adt reckons we have 0x1404000 at 0x268000000 but we're only mapping 0x1048000. whatever is in what we're calling sram is code.#asahi-dev · 2026-06-27 13:58
chadmedi'll just play with it when im not falling asleep ;)#asahi-dev · 2026-06-27 13:58
chadmedyes and when you put it there it overwrites firmware, which is bad. when you put it at 0x10014000 its fine and everything works and the m3 writes to it, but avd->sram does not point to 0x10010000 so it cannot be read#asahi-dev · 2026-06-27 13:55
chadmedyeah thats what i meant the second time, i missed the last 0 :P #asahi-dev · 2026-06-27 13:53
chadmedt8112#asahi-dev · 2026-06-27 13:52
chadmed0x10000000-0x1001000* #asahi-dev · 2026-06-27 13:52
chadmedthat crashes the cm3, 0x10000000-0x10001000 is where the firmware lives isnt it? #asahi-dev · 2026-06-27 13:50
chadmednah my issue is i put the logbuffer at 0x10014000, set all its bytes to 0, readl(avd->sram + 0x4000) and get what looks like encoded instructions (read cursor: 3716147649) #asahi-dev · 2026-06-27 13:48
chadmedeh its almost midnight im sure im missing something very stupid and obvious that i will wake up, see immediately and be extremely embarrassed about#asahi-dev · 2026-06-27 13:47
chadmedyeah