#asahi-dev · 2026-08-08 11:27
sofusav1 support is actually pretty good now!#asahi-dev · 2026-08-08 08:55
sofuschadmed: ffmpeg does not supply all the needed controls for hevc, anything tile based wont work#asahi-dev · 2026-08-07 09:07
sofusjannau: i tagged awd-fw#asahi-dev · 2026-08-02 13:15
sofusi updated my pr, i think clang-format makes it readable enough, and i would prefer not having to do the formatting by hand#asahi-dev · 2026-08-02 10:29
sofusi think there are only to other stateless av1 drivers#asahi-dev · 2026-08-02 10:28
sofusjust thought it could be interesting for upstream, maybe they would like to make a shared thing or something, but i suppose i could fix the style things in a different commit?#asahi-dev · 2026-08-02 10:25
sofusc file is not as clean, but still https://pastebin.com/b26uMiz9#asahi-dev · 2026-08-02 10:21
sofushttps://pastebin.com/THkZsndq#asahi-dev · 2026-08-02 10:21
sofuswhile i agree on the style things, im not sure if it makes sense to change the verisilicon copy paste, its very easy to diff right now#asahi-dev · 2026-08-02 09:59
sofuslike use one tmp variable for each one?#asahi-dev · 2026-08-02 09:55
sofusyeah, its bad... im not sure how to improve it#asahi-dev · 2026-08-02 09:37
sofusi dont fully get it, but cool! Would it actually make sense to do this in the entropymode.c file? right now its easy to see the difference between our and verisilicon's#asahi-dev · 2026-08-02 09:30
sofuswhen this gets merged avd is gonna be responsible for like 10% of our loc :p#asahi-dev · 2026-08-02 09:27
sofusmacos conformance for reference: https://pastebin.com/aC103V7H#asahi-dev · 2026-08-02 09:26
sofusthe long lines are very annoying, so also some better way to name stuff if someone has a suggestion for that#asahi-dev · 2026-08-02 09:25
sofuschaos_princess: i tried to match the overall style of the other drivers, but sure#asahi-dev · 2026-08-02 09:24
sofusactually not, most of that comes from verisilicon/rockchip_av1_entropymode.c#asahi-dev · 2026-08-02 09:22
sofuslinux: https://pastebin.com/cZe7HsaL#asahi-dev · 2026-08-02 09:21
sofusav1 still needs some love, but i would consider this "good" enough for now#asahi-dev · 2026-08-02 09:21
sofusim not very happy with the style changes, i hope someone has some input on that#asahi-dev · 2026-08-02 09:20
sofusav1 support https://github.com/AsahiLinux/linux/pull/561#asahi-dev · 2026-07-29 17:03
sofusyuka: sd card seems to work on t6030, at the least just plugging in and mounting does#asahi-dev · 2026-07-29 06:41
sofusav1#asahi-dev · 2026-07-29 06:41
sofusjust went from 0 tests passing to 37 :p#asahi-dev · 2026-07-28 18:33
sofusfl0_id: i think i only applied https://gist.github.com/jannau/90e961655b1741e251281f31a903809f#asahi-dev · 2026-07-28 08:30
sofusfilling out the struct is not actually 4000 loc, the 4000 loc are the static values and filling#asahi-dev · 2026-07-28 08:27
sofusbut at least the output has color now :p#asahi-dev · 2026-07-28 08:26
sofusbut all tests still fail, so im afraid there is more somewhere else#asahi-dev · 2026-07-28 08:24
sofusim very happy i could mostly copy from drivers/media/platform/verisilicon/rockchip_av1_entropymode.c#asahi-dev · 2026-07-28 08:23
sofusyep #asahi-dev · 2026-07-28 08:22
sofusfilling out this struct is 4675 loc :)#asahi-dev · 2026-07-28 08:20
sofusyes! i think i got all 9166 bytes nailed down! https://pastebin.com/30rL1fAV#asahi-dev · 2026-07-27 12:11
sofushttps://github.com/japalvia/linux-hid-magicmouse/blob/main/linux/drivers/hid/hid-magicmouse.c#L838#asahi-dev · 2026-07-27 12:11
sofusi also found this fork that enables it on the external one#asahi-dev · 2026-07-27 12:10
sofusmy suggestion was based on how hid-{multitouch,haptic}.c does it. I dont really know anything about the hid subsystem, but i assumed it would be more flexible if separated#asahi-dev · 2026-07-27 11:14
sofusi think the biggest missing piece for av1 support is one buffer. I think its av1 tables, its 9166 bytes long tho :(#asahi-dev · 2026-07-27 09:03
sofusas in webcam boots and works, tested with firefox#asahi-dev · 2026-07-27 08:57
sofusadding apple,dart-vm-size = <0x0 0xa0000000>; works#asahi-dev · 2026-07-27 08:42
sofuschaos_princess: failed to read 'apple,dart-vm-size': -22#asahi-dev · 2026-07-27 08:41
sofusthat worked very well, thanks!#asahi-dev · 2026-07-27 08:29
sofusjannau: thanks!#asahi-dev · 2026-07-27 08:28
sofuschaos_princess: thanks CONFIG_EXTRA_FIRMWARE i will try#asahi-dev · 2026-07-27 08:28
sofusJamesCalligeros[m]: yes i did that, should be ok#asahi-dev · 2026-07-27 08:24
sofusonly trackpad firmware got loaded#asahi-dev · 2026-07-27 08:22
sofusmaybe the disk is being mounted to late or something?#asahi-dev · 2026-07-27 08:21
sofusyes okay, drivers seem to load okay now, i still have some issues the the firmware tho, it looks like the firmware is in the correct place#asahi-dev · 2026-07-27 07:55
sofusand should i do anything special with the initframs im also having trouble with the fw#asahi-dev · 2026-07-27 07:53
sofusshould i build everything as built-in? I think im just using it wrong#asahi-dev · 2026-07-27 07:49
sofushmmm im having some trouble with the tethered boot thing#asahi-dev · 2026-07-27 07:31
sofusisp: Heap: 0xd7c000..0x1000000 (0x284000 @ 0x108db530000)