#asahi-dev · 2026-07-06 19:32
sofusi would be suprised if it does not work on anything else#asahi-dev · 2026-07-06 19:31
sofuswould be nice to validate that it also works on base m1#asahi-dev · 2026-07-06 19:31
sofusi updated my pr with vp9 support, only tested on m2 pro#asahi-dev · 2026-07-06 12:40
sofus(macos gets 179/305)#asahi-dev · 2026-07-06 12:39
sofusim over allocating a little bit right now, when i fix that and clean up a bit vp9 should be done :)#asahi-dev · 2026-07-06 12:38
sofus216/305 tests passed now!#asahi-dev · 2026-07-05 11:16
sofusops#asahi-dev · 2026-07-05 06:54
sofuschadmed: yeah just annoying#asahi-dev · 2026-07-05 06:50
sofusbut still the vp9 driver is pretty lean compared to the others i looked at#asahi-dev · 2026-07-05 06:48
sofuslooks like this https://pastebin.com/8jjPB5bb#asahi-dev · 2026-07-05 06:47
sofusv4l2 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 :(#asahi-dev · 2026-07-05 06:44
sofusso the first link is setting up pointers to all the coeff/eob symbols in the symbol counts struct#asahi-dev · 2026-07-05 06:43
sofuseiln did that in software, but avd actually exposes that also#asahi-dev · 2026-07-05 06:43
sofusin vp9 there are the prob blobs, but also another larger struct that counts how many times each value in the prob blob is used#asahi-dev · 2026-07-05 06:37
sofusthats actually another part, you are thinking of https://pastebin.com/HRgC5jJx#asahi-dev · 2026-07-05 06:36
sofusalso vp9 is gonna be super ugly https://pastebin.com/iXPh5uMi#asahi-dev · 2026-07-05 06:35
sofusso we might need to make the cm3 do more work#asahi-dev · 2026-07-05 06:34
sofusim having timing related issues with stuff apple does not seem to check#asahi-dev · 2026-07-05 06:32
sofusi think the fast ap cores are giving me problems#asahi-dev · 2026-07-05 06:31
sofusi went from 0 tests passing to ~150 in two days :p#asahi-dev · 2026-07-05 06:31
sofusimplementing vp9 is going faster than i thought it would#asahi-dev · 2026-07-03 06:20
sofusyeah, although in this case it sounds worse than it is#asahi-dev · 2026-07-03 05:50
sofustime to re a 12252 byte struct :p (vp9 frame symbol counts)#asahi-dev · 2026-07-01 09:23
sofuschadmed: yay, thanks for including me :)#asahi-dev · 2026-07-01 07:28
sofusok good, thanks#asahi-dev · 2026-07-01 07:26
sofusoh wait, should i not have removed status = "disabled" from the pmp_report_avd_sys nodes?#asahi-dev · 2026-07-01 06:47
sofushuh okay, thanks! (cool macros!)#asahi-dev · 2026-07-01 06:41
sofusmaybe i just dont understand how the macros work...#asahi-dev · 2026-07-01 06:40
sofust600{0,1} would also get the nodes then right? They avd nodes have different interrupts and offsets#asahi-dev · 2026-07-01 06:35
sofuswhen adding the extra avd instance to ultra SoC's, would this https://github.com/AsahiLinux/linux/blob/030248d39b401c94695c9f7df2fed630d35120cd/arch/arm64/boot/dts/apple/t6002.dtsi#L260 be a good place to put them?#asahi-dev · 2026-07-01 06:34
sofusi found a few issues in my device trees that i will fix (i forgot to pmp_report_avd_sys)#asahi-dev · 2026-06-30 19:35
sofust6020, are you having issues?#asahi-dev · 2026-06-30 19:11
sofusyes, in fact i dont think i ever tried it without#asahi-dev · 2026-06-30 18:35
sofusespecially since this is my first pr and driver#asahi-dev · 2026-06-30 18:35
sofusavd pr https://github.com/AsahiLinux/linux/pull/527 thoughts/review would be very much appreciated#asahi-dev · 2026-06-30 11:43
sofusenjoy this silly diff https://pastebin.com/ZLSLgKFk#asahi-dev · 2026-06-30 11:42
sofusi think it would be very feasable yes, i based it of an older version#asahi-dev · 2026-06-30 10:34
sofusthanks for the help :)#asahi-dev · 2026-06-30 10:24
sofusso im not sure what license to use there?#asahi-dev · 2026-06-30 10:24
sofusand her repo had MIT license, but i have most of h264 v4l2 stuff from rockchip#asahi-dev · 2026-06-30 10:16
sofusshould i add eiln's copyright to the driver? most of the h264 insn stuff is based on her work#asahi-dev · 2026-06-30 09:40
sofusthanks, that should be more than fine :)#asahi-dev · 2026-06-30 09:40
sofusnice, i will do my best to fill out the license stuff in the driver also#asahi-dev · 2026-06-30 09:38
sofusshould be transfered now#asahi-dev · 2026-06-30 09:30
sofusi pushed the license stuff, i think i need permissions to transfer the repo#asahi-dev · 2026-06-30 09:08
sofusok, so gpl in files where everything was copied, -or-mit if i something is my own and mit if everything is my own?#asahi-dev · 2026-06-30 09:04
sofuschadmed: any reason to use -or-MIT? I dont know a lot about licensing#asahi-dev · 2026-06-30 09:01
sofusdriver#asahi-dev · 2026-06-30 09:01
sofusyes