#asahi-dev · 2026-09-25 12:50
sofusthanks! That makes sense, now i also get how to read it. Thats p030 then#asahi-dev · 2026-09-25 12:47
jannaufor nv15 I'd expect YCbCr format with a plane with "BitsPerBlock = 40"#asahi-dev · 2026-09-25 12:46
jannauno, 'p420' packs 3 values into 4 bytes with 2bits of padding (or 6 into 8 bytes for CbCr) if we're speaking about "PixelFormat = 1882468912;"#asahi-dev · 2026-09-25 12:42
sofusi dont know how to check. I could only test with interchange#asahi-dev · 2026-09-25 12:41
chadmeddoes it output correctly #asahi-dev · 2026-09-25 12:37
sofusi was unsure if NV15 translates to dcp format P420#asahi-dev · 2026-09-25 12:37
sofusi confused myself then. nv15 gives the correct bpp for the interchange buffer calculations, i dont know if avd can output nv15 withouth interchange#asahi-dev · 2026-09-25 12:36
jannauyuka: I think "gpio-reserved-ranges" is at least close enough that you would have to argue why you can't use it#asahi-dev · 2026-09-25 12:34
jannausofus: I did not look at your tree and replied to "But nv15 gives the correct bpp"#asahi-dev · 2026-09-25 12:33
sofusjannau: i might have confused myself. Is that nv15 or p420 you are talking about? 4 values in 5 bytes is nv15#asahi-dev · 2026-09-25 12:28
myriaWoohoo! Go integralpilot#asahi-dev · 2026-09-25 12:26
integralpilotanyway will look into that after brcm4388 sent, its almost ready#asahi-dev · 2026-09-25 12:26
integralpiloteh regmap maintainer replied and i might have misunderstood smth and v2 needs to a lot bigger#asahi-dev · 2026-09-25 12:23
integralpilotphew dchid v4 sashiko dropped and its all hypothetical/not right so at least we're starting off with no known bugs until the maintainers see it#asahi-dev · 2026-09-25 12:19
yukaAh wow apple,protected-pins clashes with the -pins$ patternProperties used for pinmux nodes#asahi-dev · 2026-09-25 12:17
JamesCalligeros[m]ill finish v2 of audio tomorrow hopefully, just need to sprinkle some locks and semaphores around the driver now#asahi-dev · 2026-09-25 12:15
yukaI'll test it shortly#asahi-dev · 2026-09-25 12:15
yukayippie#asahi-dev · 2026-09-25 12:15
integralpilot2 down, 1 to go#asahi-dev · 2026-09-25 12:15
integralpilotdchid v4 sent: https://lore.kernel.org/asahi/20260925-apple-mtp-keyboard-final-v4-0-304c267518f4@gmail.com#asahi-dev · 2026-09-25 12:06
jannauit packs 4 consecutive 10-bit values in 5 bytes#asahi-dev · 2026-09-25 11:56
sofusthe definition did not make me a lot smarter. But nv15 gives the correct bpp#asahi-dev · 2026-09-25 11:51
jannauI think P___ are semi-planar high-bit-depth (Y plane and interleaved CbCr plane). I wouldn't read too much into it and just look up how the format is defined#asahi-dev · 2026-09-25 11:49
sofusavd v2 is gonna have quite a lot of changes, not sure if i should also include the multi-core stuff#asahi-dev · 2026-09-25 11:45
yukaI think that was it#asahi-dev · 2026-09-25 11:45
sofusJamesCalligeros[m]: lol, im not actually sure its nv15/20/30 but the math is mathing. the 'p' could be for packed#asahi-dev · 2026-09-25 11:44
yukasven: it had a pattern. ps_disp*_cpu was definitely affected#asahi-dev · 2026-09-25 11:44
svendo you have a list of pmgr register that are off-limits? or is there some way to identify them from the adt?#asahi-dev · 2026-09-25 11:43
JamesCalligeros[m]i was under the impression for a long time that the p*** fourccs were for fully-planar formats and kept trying to get that to not crash :P #asahi-dev · 2026-09-25 11:43
yukasven: yes#asahi-dev · 2026-09-25 11:43
JamesCalligeros[m]sofus: yeah thats fine, dcp supports them #asahi-dev · 2026-09-25 11:43
sveni think i see the same now with that hypervisor#asahi-dev · 2026-09-25 11:43
svenyuka: you ran into some pmgr mmio write serror on m4 before, didn't you?#asahi-dev · 2026-09-25 11:42
sofusnot only no, avd's interchange uses the new formats i added#asahi-dev · 2026-09-25 11:39
JamesCalligeros[m]but if the issue was just BOMDAS then whatever#asahi-dev · 2026-09-25 11:39
sofusand my mystery format is actually just p030#asahi-dev · 2026-09-25 11:39
JamesCalligeros[m]if it supports it, maybe#asahi-dev · 2026-09-25 11:38
sofusbut like p010 did not look completly wrong so i kinda wonder if avd could also use the 'padded' formats for interchange#asahi-dev · 2026-09-25 11:35
JamesCalligeros[m]oh my god no way that was the issue lmfaoooo#asahi-dev · 2026-09-25 11:34
sofuschadmed: for interchange https://github.com/sofus13/linux/tree/dcp/interchange#asahi-dev · 2026-09-25 11:33
jannaufrom Documentation/devicetree/bindings/gpio/gpio.txt "gpio-reserved-ranges" seems to the right property#asahi-dev · 2026-09-25 11:30
chaos_princessi remember some other platform having "trusted" gpios, but there they mediate stuff via el3#asahi-dev · 2026-09-25 11:30
yukausually performing an MMIO _read_ in the middle of the gpios mmio space would not _crash_#asahi-dev · 2026-09-25 11:29
yukaI assume this problem is somewhat unique to Apple though#asahi-dev · 2026-09-25 11:23
jannauanother possible solution would be to add a property to Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml#asahi-dev · 2026-09-25 11:22
jannaulooking through the other dt-bindings and not seeing something that might be similar is enough#asahi-dev · 2026-09-25 11:18
sventhough i dunno what that does#asahi-dev · 2026-09-25 11:18
svenquick grep for reserved shows something like gpio-reserved-ranges#asahi-dev · 2026-09-25 11:17
JamesCalligeros[m]it's probably fine then. if there is a different way maintainers would prefer they can tell you #asahi-dev · 2026-09-25 11:17
yukajust looking through pinctrl dt-bindings randomly, I haven't found anything comparable