#asahi-dev · 2026-06-27 08:39
sofusP210#asahi-dev · 2026-06-27 08:36
sofusif we could change it we would not need to add a new pixel format to v4l2#asahi-dev · 2026-06-27 08:35
sofusfor sure its something in the instruction stream then, i would just need to trace macos doing it (i think)#asahi-dev · 2026-06-27 08:31
sofusis something like that normally configurable? #asahi-dev · 2026-06-27 08:29
sofusnot sure, is nv12 planar?#asahi-dev · 2026-06-27 08:21
sofusthe offset between the first irq and dart irq is the same on all dt's i think#asahi-dev · 2026-06-27 08:19
sofusand its kinda weird because apple enables mbox 2/3#asahi-dev · 2026-06-27 08:18
sofusthis is for t6000#asahi-dev · 2026-06-27 08:18
sofushttps://github.com/ArcaneNibble/m1n1/blob/00f3db7fcde9c87277387e9c3d4a679326fd9817/proxyclient/experiments/avd.py#L606#asahi-dev · 2026-06-27 08:16
sofusyes#asahi-dev · 2026-06-27 08:16
sofusand btw i think avd has more than two interupt lines to the ap#asahi-dev · 2026-06-27 08:13
sofusi think your notes are in the right direction, theres still the question of generation the instruction stream on the cm3 vs ap#asahi-dev · 2026-06-27 08:12
sofusbut from what i could test, i think apple also resets the whole thing#asahi-dev · 2026-06-27 08:12
sofusthe firmware does a *lot* of random writes/reads #asahi-dev · 2026-06-27 08:11
sofusbut there could be a way to reset just one idk#asahi-dev · 2026-06-27 08:10
sofusthe whole thing...#asahi-dev · 2026-06-27 08:10
sofusso if we lose state and start another job on the same vp, we get another error#asahi-dev · 2026-06-27 08:09
sofusits also a matter of timeouts/errors if a vp has an error it usually needs a reset#asahi-dev · 2026-06-27 08:06
sofusbut i mean, we should just have a memory region that we copy on power down#asahi-dev · 2026-06-27 08:06
sofusapple is *super* quick to power down so i think the cost of power up/down is low, but i suppose that should be tested. Right now it powers down sometimes during decode#asahi-dev · 2026-06-27 08:00
sofusyou think we need a logger?#asahi-dev · 2026-06-27 08:00
sofusi think the less state there is in the cm3 the better (its all lost on power down)#asahi-dev · 2026-06-27 07:59
sofusi agree#asahi-dev · 2026-06-27 07:57
sofusi think it would be best not to have to much data in cm3 memory#asahi-dev · 2026-06-27 07:55
sofusJamesCalligeros[m]: for now the driver mostly ignores all cm3 stuff#asahi-dev · 2026-06-27 07:55
sofusJamesCalligeros[m]: we already support multiple decode streams at once, its just kinda bad#asahi-dev · 2026-06-27 07:49
sofusleio: i think firefox only supports the statefull v4l2#asahi-dev · 2026-06-26 18:39
sofusi think the piodma thingy is only for getting things from dart->cm3#asahi-dev · 2026-06-26 18:39
sofusno#asahi-dev · 2026-06-26 18:38
sofust8103 had different values#asahi-dev · 2026-06-26 18:37
sofusthey are used many places in the instruction stream#asahi-dev · 2026-06-26 18:36
sofusthis is very weird https://github.com/sofus13/linux/blob/cbac5555e6c4200d48e57e0191e2c9e1741fb756/drivers/media/platform/apple/avd/avd-inst.h#L8#asahi-dev · 2026-06-26 18:21
sofusthat makes sense, is svc support nice? I could get some support by simply changing the slice size#asahi-dev · 2026-06-26 18:14
sofusalthough it would be nice if i could make the reset "smart" so it does not reset mid decode#asahi-dev · 2026-06-26 18:13
sofusthats what im using #asahi-dev · 2026-06-26 18:08
sofusif we run conformance suite we cant use ffmpeg because thats also partially broken#asahi-dev · 2026-06-26 18:06
sofusmulti slice should actually be broken on t8103#asahi-dev · 2026-06-26 18:05
sofusi dont think a lot is missing. I think the worst offenders are the reset function and register poll when doing multi slice#asahi-dev · 2026-06-26 17:49
sofusjannau: thanks#asahi-dev · 2026-06-26 16:08
sofust8122 could need the AVD_QUIRK_LSR flag#asahi-dev · 2026-06-26 15:45
sofusbut this is great, m3 was the last device where the registers changed#asahi-dev · 2026-06-26 15:39
sofuswhops, the device trees need a cleanup then :p#asahi-dev · 2026-06-26 15:32
sofust8132 was a guess based on the cm3 tunables, im thinking that guess was wrong#asahi-dev · 2026-06-26 15:30
sofusjannau: nice! may i ask why you changed the compatibles?#asahi-dev · 2026-06-26 15:27
sofusi think t8132 is the neo and not m4#asahi-dev · 2026-06-26 15:25
sofusjannau: is this correct? https://pastebin.com/LgtpeZqW#asahi-dev · 2026-06-26 15:14
sofust6031 works??? nice!#asahi-dev · 2026-06-26 15:14
sofusjannau: thanks, im not sure where i could see that?#asahi-dev · 2026-06-26 14:58
sofusi have added device tree entries for t603x now#asahi-dev · 2026-06-26 14:31
sofusjannau actually made compiling (and getting the right fw version) a lot easier, look at the last commit message