#asahi-dev · 2022-12-31 15:11
Tramtristhappy new year :)#asahi-dev · 2022-12-31 15:11
eilnalso the clock just rang where i am, happy new years everyone :) #asahi-dev · 2022-12-31 15:05
eilnaddr is 0x26b810000/0x26b820000 + 0x200 (ttbr offset) if it helps#asahi-dev · 2022-12-31 15:04
eilnit's such a tiny thing but i'm pretty stuck #asahi-dev · 2022-12-31 15:04
eiln2) same write goes through in the hypervisor #asahi-dev · 2022-12-31 15:04
eiln1) readl() works & actual read-only regions (which it's not) dont fault, just the write doesn't go thru#asahi-dev · 2022-12-31 15:03
eilnbut writel() in this region is giving me a write fault? which is very odd since#asahi-dev · 2022-12-31 15:03
eilneasiest solution is to map a scratch page, then copy over that new ttbr after init#asahi-dev · 2022-12-31 15:03
eilni can't patch it in m1n1 because iommu reinitializes the domain w/ a new ttbr#asahi-dev · 2022-12-31 15:03
eilnthe 3 chans need it for (presumably) address resolution#asahi-dev · 2022-12-31 15:02
eilnturns out there's a bespoken dapf rule where the ttbr of the 0th prop has to be syncd to the 1st & 2nd#asahi-dev · 2022-12-31 15:02
eilnall works except weights & input/output tile dma (effectively we're crunching zeros) #asahi-dev · 2022-12-31 15:02
eilnin a christmas miracle i hacked together something working#asahi-dev · 2022-12-31 15:02
eilnaah forgive me for being flaky :// i'm on all of this week#asahi-dev · 2022-12-31 10:19
jannauhttps://gist.github.com/jannau/05622a7c59c3517c3c25aaa9cecfdbf3#asahi-dev · 2022-12-31 10:17
jannaumarcan: dart runtime PM seems (not sure what else in dcp/sleep) to "break" ethernet on the mini#asahi-dev · 2022-12-31 00:46
chadmedsimpledrm simply presents to the compositor whatever framebuffer was set up at boot time by the firmware which is why you couldnt change res/refresh rate there#asahi-dev · 2022-12-31 00:46
chadmedkarpouzi: thats all DCP-related. DCP reports the connected screen's dimensions, resolution, refresh rates, etc to the compositor#asahi-dev · 2022-12-30 20:07
karpouzilove to see it of course :D#asahi-dev · 2022-12-30 20:06
karpouzianyone know when/how the broader display config support (resolutions, framerates) was added? i'm guessing this was a kwin upstream patch; can't see it in asahilinux/linux#asahi-dev · 2022-12-30 15:03
jannaucorruption was only visible with xrgb8888 and not xrgb2101010 though#asahi-dev · 2022-12-30 15:02
jannauclearing surface 0 fixes the apple logo. opaque logic is still correct so opaque is not the correct meaning for that field#asahi-dev · 2022-12-30 13:06
jannauthe .opaque logic might be broken when starting at surface[1]#asahi-dev · 2022-12-30 13:05
jannaulol, on the mbp 13" m2 I see a apple logo shaped corruption with kernel boot messages, I think we need to clear surface[0]#asahi-dev · 2022-12-30 12:50
jannausigh, minimal display backlight after dpms is still there with dcp/sleep#asahi-dev · 2022-12-30 00:33
jannauI'll test tomorrow on t600x/t8112#asahi-dev · 2022-12-30 00:32
jannaumarcan: dcp/sleep rebased onto my probing changes + 'power-domains = <&ps_pmp>;' for ps_gfx works on j274#asahi-dev · 2022-12-29 23:23
michael__q#asahi-dev · 2022-12-29 11:01
ncopafair enough#asahi-dev · 2022-12-29 10:50
chadmedbut it makes no sense to do so at the project level and give off an unwarranted air of stability. there is no stability and things will break occasionally.#asahi-dev · 2022-12-29 10:50
chadmedthere are better things for time to be spent on than merging in stable releases every week. people concerned about that sort of thing are free to do so themselves, the sources are all available#asahi-dev · 2022-12-29 10:47
ncopai dont think there were many (or any?) fixes that affects apple silicon in v6.1.1#asahi-dev · 2022-12-29 10:46
ncopabut it doesnt matter that much, i think#asahi-dev · 2022-12-29 10:45
ncopawouldn't be a big thing to also merge in upstream 6.1.1 while at it#asahi-dev · 2022-12-29 10:42
chadmednew tags are spun out when there are changes/fixes made to asahi drivers#asahi-dev · 2022-12-29 10:36
ncopaso there was a 6.1-3 release, but v6.1.1 was not merged? there were no conflicts#asahi-dev · 2022-12-28 15:32
amarioguyright#asahi-dev · 2022-12-28 14:41
svenbut you can’t write drivers from that #asahi-dev · 2022-12-28 14:41
svensure, it’s also in the security whitepaper#asahi-dev · 2022-12-28 14:17
amarioguysven: apple did document that back in their 2016 talk#asahi-dev · 2022-12-28 13:49
mazdoesn't matter much anyway. I'll probably report it as a FIQ anyway, as it makes the per-cpu handling a bit simpler. not being able to mask it is the main issue right now.#asahi-dev · 2022-12-28 13:47
marcanno idea...#asahi-dev · 2022-12-28 13:21
mazbtw, do you have any idea why the vgic maintenance interrupt is reported as an IRQ and not a FIQ? this looks a bit odd.#asahi-dev · 2022-12-28 13:20
mazno pressure! :D#asahi-dev · 2022-12-28 13:15
marcangot it :)#asahi-dev · 2022-12-28 13:11
mazmarcan: ah, that'd be awesome. I still have a couple of things to iron out on the NV front (vgic maintenance interrupt and a nvhe oddity), but I need to run on 6.2-rc before posting anything.#asahi-dev · 2022-12-28 13:09
marcanat that point there is nothing to do :)#asahi-dev · 2022-12-28 13:09
marcanstable releases will make sense at the point where upstream already has all the drivers you actually want (and backporting actual bugfixes should be trivial and already taken care of by the kernel stable process)#asahi-dev · 2022-12-28 13:06
ncopaok#asahi-dev · 2022-12-28 13:05
marcanncopa: I don't think stable releases make much sense here, given asahi itself is very much not stable