#asahi-dev · 2026-06-30 09:01
sofusmuch of the avd driver code is based on rockchip's driver that has an GPL-2.0 license, does that change anything?#asahi-dev · 2026-06-30 08:57
sofusmit was prefered right?#asahi-dev · 2026-06-30 08:56
sofuschadmed: i should add the SPDX-License-Identifier header to all source files in both my avd driver and fw right?#asahi-dev · 2026-06-30 08:43
sofushow do i prepare my avd driver for review/pull request? Should i make a pull request when im ready or something else?#asahi-dev · 2026-06-29 10:24
sofusim guessing it is, we reset when probing and resuming#asahi-dev · 2026-06-29 10:21
sofuswould something like that be acceptable?#asahi-dev · 2026-06-29 10:21
sofuscalling apple_dart_hw_reset in apple_dart_setup_translation fixes the no TTBR problem#asahi-dev · 2026-06-29 07:48
sofuswhere telling avd where the destination is, and a bunch of other things, some of the instructions go directly to pp#asahi-dev · 2026-06-29 07:45
sofusits not only for programming the vp#asahi-dev · 2026-06-29 07:45
sofusah, you mean what the stream_hdr does. We need to do that as far as im aware #asahi-dev · 2026-06-29 07:42
sofuschadmed: i actually wanted clarification on what you mean by that#asahi-dev · 2026-06-29 07:39
sofuschadmed: you could go the crazy route and use the cm3 to make avd statefull#asahi-dev · 2026-06-29 07:38
sofusand btw, i have never gotten apple to use more than one vp#asahi-dev · 2026-06-29 07:37
sofusbut im very open to thoughts#asahi-dev · 2026-06-29 07:36
sofusre avd firmware, i think (for now) im ok with the current design. Making the reset more stable and supporting more codecs is more important i think#asahi-dev · 2026-06-28 07:35
sofusbut something is wrong with interrupts, i think i have enabled mbox1 empty but i cant figure out where#asahi-dev · 2026-06-28 07:33
sofusi have piodma mostly working#asahi-dev · 2026-06-28 07:32
sofuswhelp, thats a fun bug :p#asahi-dev · 2026-06-28 05:52
sofusif you share your code i would be happy to take a look#asahi-dev · 2026-06-28 05:50
sofuschadmed: the sizes look correct, it works on my t6020#asahi-dev · 2026-06-27 14:24
sofus* i think#asahi-dev · 2026-06-27 14:22
sofusoh sorry i misread, the sram is 0x10000000-0x10010000 not the firmware#asahi-dev · 2026-06-27 13:56
sofusso logbuffer is not at 0x10014000 but 0x10004000#asahi-dev · 2026-06-27 13:54
sofusi would think its 0x10000000 - 0x10010000#asahi-dev · 2026-06-27 13:53
sofusoh what? What device is this?#asahi-dev · 2026-06-27 13:52
sofusthat was what i meant by SP == SRAM_BASE is wrong#asahi-dev · 2026-06-27 13:51
sofusshould it not be at 0x10000000 + 0x4000#asahi-dev · 2026-06-27 13:49
sofuswhen i figure out how to use stream one i should be flying#asahi-dev · 2026-06-27 13:49
sofustranslation fault: status:0x80180002 stream:1 code:0x2 (NO PGD FOR IOVA) at 0xdea0#asahi-dev · 2026-06-27 13:48
sofusis it still the same issue?#asahi-dev · 2026-06-27 13:48
sofusyeah okay, fixing the sram_base also fixed my issue :p#asahi-dev · 2026-06-27 13:45
sofusno actually i think i was wrong, the sizes in the dt should be right#asahi-dev · 2026-06-27 13:38
sofusiirc, the rest lives another place#asahi-dev · 2026-06-27 13:36
sofusfor some reason i thought sp was 0x10000000 ??#asahi-dev · 2026-06-27 13:35
sofuschadmed: sorry SP == SRAM_BASE is wrong#asahi-dev · 2026-06-27 10:24
sofusit does not look that way#asahi-dev · 2026-06-27 10:22
sofusJamesCalligeros[m]: its only for debugging, i think im only getting one interrupt??#asahi-dev · 2026-06-27 10:20
sofusoh wow cool, thanks#asahi-dev · 2026-06-27 10:16
sofusbehold: https://pastebin.com/A2Mgz48Z#asahi-dev · 2026-06-27 10:05
sofuscm3 base should just be the same as SP actually#asahi-dev · 2026-06-27 10:04
sofusi just send 2 irq's to mbox 0#asahi-dev · 2026-06-27 10:02
sofusit speaks :p avd 286000000.avd: cm3: helo: word#asahi-dev · 2026-06-27 09:31
sofusalthough if we could pack messages into an int it would be waay easier#asahi-dev · 2026-06-27 09:31
sofusactually i like the syslog think, im gonna steal that#asahi-dev · 2026-06-27 09:20
sofusre avd-fw, im gonna start just implementing piodma stuff and the go forward from there#asahi-dev · 2026-06-27 09:02
sofusi know, it was just if the event was unkown#asahi-dev · 2026-06-27 09:00
sofuseach time the battery percentage goes one up or down the message is logged#asahi-dev · 2026-06-27 08:59
sofussomething unrelated, i think its safe to remove the 'Battery status is OK?' message from macsmc-power https://pastebin.com/1V7qsKbF#asahi-dev · 2026-06-27 08:51
sofusjannau: maybe? But that does not work#asahi-dev · 2026-06-27 08:39
sofusi dont now a lot of things about pixel formats so take that with a grain of salt