#asahi-dev · 2026-01-31 08:06
integralpilotdefinetly understand that ghidra or anything looking at apple's compiled code is not allowed and won't do that.#asahi-dev · 2026-01-31 08:06
integralpilotapplegpu has a built in disassemble.py tool that you can use on a metal program you write, seems useful but won't touch it if it's not allowed#asahi-dev · 2026-01-31 08:02
integralpilotjust confirming, it's okay to write simple metal shaders myself, compile it, then look at the GPU instructions it produces? the copyright policy webpage seems to says it's okay, but i just wanted to 100% confirm before i do anything that's not right or might taint me#asahi-dev · 2026-01-31 06:15
integralpilotthanks!#asahi-dev · 2026-01-31 05:55
chadmedsee https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/#asahi-dev · 2026-01-31 05:54
chadmedyou add them immediately below the oneOf as with t6020. the list with the comment is for compatibility with the generic apple,nvme-ans2 compat#asahi-dev · 2026-01-31 05:50
integralpilotoh also, why does the nvme/ANS bindings say "Do not add additional SoC to this list". what should be used instead of apple,t8122-nvme-ans2?#asahi-dev · 2026-01-31 05:39
integralpilottalking from fedora on m3 btw, so can confirm PCIe and WiFi works for me too#asahi-dev · 2026-01-31 05:39
integralpilotokay, will do that then, thanks#asahi-dev · 2026-01-31 04:27
chadmedi believe the current meta is to forego all generic compatibles entirely. there was a bit of drama on the mailing list surrounding generic compatibles for one of the hardware blocks #asahi-dev · 2026-01-31 04:02
integralpilotso like compadible = "apple,t8122-pcie", "apple,t6020-pcie" should work i think#asahi-dev · 2026-01-31 04:02
integralpilotbut we can omit apple,pcie as t6020-pcie is the main base compadible#asahi-dev · 2026-01-31 04:02
integralpilottherefore i don't believe we can omit apple,t6020-pcie like you suggested on GH#asahi-dev · 2026-01-31 04:02
integralpilotnoopwafel: using apple,pcie as the base compadible causes it to fail with -28 (no space i believe) but using apple,t6020-pcie causes it to succeed and PCIe to work#asahi-dev · 2026-01-30 22:56
chadmedit worked well with DCP_COLOURSPACE_NATIVE and whatever DCP_XFER_FUNC_HDR is, i assume its PQ #asahi-dev · 2026-01-30 22:55
chadmedhttps://github.com/chadmed/linux/commit/5fa3d22649ebf159b132e567f8aded63588833d2 this is how i did it, but its incomplete because im not propagating the hdr metadata to dcp yet in this branch #asahi-dev · 2026-01-30 22:52
chadmedwe do need to make sure we are only advertising the correct colourspaces for each connector type though if/when we add more. the three youve got there should be fine for both hdmi and dp but some dp colourspaces are not supported via hdmi #asahi-dev · 2026-01-30 22:51
chadmedbut thats basically the same as what i had so thats good#asahi-dev · 2026-01-30 22:50
chadmedinteresting, i tried setting mode_changed to true and it would never actually force a modeset. maybe i was doing it in the wrong place#asahi-dev · 2026-01-30 22:42
jannauchadmed: https://github.com/jannau/linux/tree/drm-apple-hdr-external if you want to take a look, probably still broken I need to find a way to validate it#asahi-dev · 2026-01-30 21:53
jannauI think we need to let DCP convert from bt202 rgb to ycbcr#asahi-dev · 2026-01-30 21:49
chadmedprobably not good or necessary if some monitors cant do 10 bit rgb with bt 2020#asahi-dev · 2026-01-30 21:49
chadmedyeah i was doing that too but couldnt get kwin to play nice with the ycbcr modes so stopped saving them and changed how we pick up the "best" mode too#asahi-dev · 2026-01-30 21:48
jannaufor my display bt2020-rgb isn't available at 4k 60Hz. I save also the best bt20220 rgb/ycbcbr hdr_gamma/pq/hlg color modes#asahi-dev · 2026-01-30 21:45
chadmedit seems to prioritise bit depth over everything else, so my monitor's 12 bit ycbcr mode was winning out over 10 bit rgb#asahi-dev · 2026-01-30 21:45
chadmedi had to add some stuff to the parser to explicitly reject them #asahi-dev · 2026-01-30 21:44
chadmeddid you run into any issues with iomfb deciding a ycbcr colour mode was "best"#asahi-dev · 2026-01-30 21:44
chadmedah right#asahi-dev · 2026-01-30 21:43
jannauthe latter was no problem. I had hoped it worked with DCP_COLORSPACE_NATIVE when the correct color mode used selected#asahi-dev · 2026-01-30 21:41
chadmedi had it working fine, the issue was forcing modesets when enabling/disabling it#asahi-dev · 2026-01-30 21:40
chadmedit was broken for you? #asahi-dev · 2026-01-30 20:56
jannaufinally, HDR for external displays isn't obviously broken anymore (with kwin)#asahi-dev · 2026-01-30 20:23
Shizrandom QoL PR: MacPorts support https://github.com/AsahiLinux/m1n1/pull/539 :)#asahi-dev · 2026-01-30 19:02
noopwafel(shared this in a pm also :))#asahi-dev · 2026-01-30 18:59
fl0_idah. if that works, great :)#asahi-dev · 2026-01-30 18:58
Shizoh, that's just the output of `dt.py dump`#asahi-dev · 2026-01-30 18:58
noopwafelShiz: I suggested this also :D but I don't know how to get a .txt file from any of this, I'm using your tooling#asahi-dev · 2026-01-30 18:57
Shiz't you extract the devtree templates from a macOS update?#asahi-dev · 2026-01-30 18:57
Shizfl0_id: can #asahi-dev · 2026-01-30 18:52
noopwafelyeah let me PM you#asahi-dev · 2026-01-30 18:52
noopwafeloh sorry#asahi-dev · 2026-01-30 18:52
fl0_id(totally valid if you do not want to share that as it can have private data, or at least the one from macos has)#asahi-dev · 2026-01-30 18:51
fl0_idnoopwafel oh should have been more specific. I meant the adt that m1n1 provides, not the fdt for linux. To check like f.e. if I have the correct place to take m1n1 pmgr from#asahi-dev · 2026-01-30 18:51
noopwafelmine is a mess, right now trying to reconcile it with integralpilot's PR#asahi-dev · 2026-01-30 18:50
fl0_idthx#asahi-dev · 2026-01-30 18:50
noopwafelfl0_id: https://noopwafel.net/asahi/ for mine or https://github.com/AsahiLinux/linux/pull/445 #asahi-dev · 2026-01-30 18:21
fl0_idnoopwafel do you know if someone posted a t8122 or t6030 dt for comparison somewhere? Or would you send yours? just to compare for similar parts#asahi-dev · 2026-01-30 18:09
fl0_idah ok#asahi-dev · 2026-01-30 18:09
noopwafelit's just a secondary pmgr#asahi-dev · 2026-01-30 18:05
fl0_idin device trees, can someone explain what is "pmgr_mini"? I didn't find anything like that name in m1n1 adt