#
#asahi-dev · 2026-07-16 16:15
yukaI added a debug print in aic_irq_unmask()
#asahi-dev · 2026-07-16 16:15
yukarequest_irq(irq, dcuart_interrupt, IRQF_SHARED, "...", dcuart);
#asahi-dev · 2026-07-16 16:14
yukairq = platform_get_irq(pdev, 0);
#asahi-dev · 2026-07-16 16:14
yukamy dockchannel uart code does:
#asahi-dev · 2026-07-16 16:14
yukathis is the line in the device tree. I don't use any of the multi-die stuff yet
#asahi-dev · 2026-07-16 16:14
yuka> interrupts = <AIC_IRQ 360 IRQ_TYPE_LEVEL_HIGH>;
#asahi-dev · 2026-07-16 16:13
yukathe interrupt num is 360 = 0x168
#asahi-dev · 2026-07-16 16:12
yukaI'm looking at the aic linux driver and trying to figure out why my dockchannel uart irq handler is not called on t6050. fairly sure the interrupt actually happens, but it's not properly unmasked or similar.
#asahi-dev · 2026-07-16 15:57
svenif anyone wants to test and/or review something: i'd like to pick up https://lore.kernel.org/asahi/20260714-smc-subdev-dt-v2-0-13fa78873121@gmail.com/T/#t soonish
#asahi-dev · 2026-07-16 14:23
sofusfingers crossed
#asahi-dev · 2026-07-16 14:21
chadmedi may be cooked if i cant figure it out in the time i have tomorrow though as im back to work next week :(
#asahi-dev · 2026-07-16 14:20
chadmedif however the issue with start_boot is what i now think it could be, we may not have to care
#asahi-dev · 2026-07-16 14:20
svenThis really sounds like my tbt issues :D
#asahi-dev · 2026-07-16 14:19
chadmedim starting everything xnu starts in the order it starts them
#asahi-dev · 2026-07-16 14:17
sofuscould it be connected to something else that you dont start?
#asahi-dev · 2026-07-16 14:13
chadmedand i cannot figure out why because there is no material diff between the linux trace and xnu trace up to that point
#asahi-dev · 2026-07-16 14:12
chadmedproblem is on the linux side the message it sends after you do the notify ack is completely different to the one it sends xnu
#asahi-dev · 2026-07-16 14:12
chadmedafter xnu acks the notify by echoing it back, sac then responds with what looks like its current state or something like that, then xnu pushes the state that it wants
#asahi-dev · 2026-07-16 14:11
chadmedwe do all that fine
#asahi-dev · 2026-07-16 14:11
chadmedso with the sac endpoint, you start it with an empty command, which it then responds to with a NOTIFY when you then echo back to it
#asahi-dev · 2026-07-16 14:09
sofuswhich what?
#asahi-dev · 2026-07-16 14:03
chadmedwhich.... huh?
#asahi-dev · 2026-07-16 14:03
chadmedthe issue is after you start it and ack the first notify, the responses are completely different to what it says to xnu
#asahi-dev · 2026-07-16 14:03
chadmedno theyre garbled there too in the exact same way
#asahi-dev · 2026-07-16 14:02
sofusbut they looked ok when macos used it?
#asahi-dev · 2026-07-16 14:01
chadmedi am hoping we dont have to care about sac because its reports are all garbled and dont look like proper epic calls apart from the magic in the header
#asahi-dev · 2026-07-16 14:00
chadmedif we have to start more epic services then the driver's gonna need a bit of a refactor... again....
#asahi-dev · 2026-07-16 13:59
chadmedsome sort of clocking/state thing but this may not have been our issue
#asahi-dev · 2026-07-16 13:57
sofuswhat it the sac controller? Does it go by another name in the kernel?
#asahi-dev · 2026-07-16 13:56
chadmedooh actually two more tricks
#asahi-dev · 2026-07-16 13:42
chadmedi have one more trick to try tomorrow and i may have to admit defeat :(
#asahi-dev · 2026-07-16 10:09
fl0_id_afkah yeah that explains it, I used it from a few days ago
#asahi-dev · 2026-07-16 09:59
sofusi think it got merged yesterday
#asahi-dev · 2026-07-16 09:56
fl0_id_afksofus thx. have to check my commit or sth then, I think it only advertised h264 and vp9
#asahi-dev · 2026-07-16 09:34
sofus*the patched ffmpeg
#asahi-dev · 2026-07-16 09:34
sofusthis should make ffmpeg work on videos without tiles https://pastebin.com/zWYnUnyy
#asahi-dev · 2026-07-16 09:27
sofusffmpeg wont work for hevc at all
#asahi-dev · 2026-07-16 09:27
chaos_princessi'll ask
#asahi-dev · 2026-07-16 09:26
sofusvery much :p Is that possible??
#asahi-dev · 2026-07-16 09:25
chaos_princess*you got
#asahi-dev · 2026-07-16 09:25
chaos_princesssofus: so, since you h264, h265, and vp9, do you want a m3? :P
#asahi-dev · 2026-07-16 09:24
sofusalthough i dont think anyone tested hevc
#asahi-dev · 2026-07-16 09:23
sofushevc, h264 and vp9
#asahi-dev · 2026-07-16 09:23
fl0_id_afksofus which codecs should work atm on m3?
#asahi-dev · 2026-07-16 03:41
chadmedand im just about out of time :(
#asahi-dev · 2026-07-16 03:41
chadmed????
#asahi-dev · 2026-07-16 03:41
chadmedack the notify with the exact same thing as xnu, get different results
#asahi-dev · 2026-07-16 03:40
chadmedgreat the sac controller replies with completely different stuff (nonsense) when booted by linux
#asahi-dev · 2026-07-15 21:04
sofusi dont think they are, hmm
#asahi-dev · 2026-07-15 20:57
sofusmaybe the offsets are wrong

plus ›