#
#asahi-dev · 2023-03-10 15:30
jannaurust / drm_asahi doesn't compile
#asahi-dev · 2023-03-10 15:29
jannauarnd, maz: https://github.com/jannau/linux/tree/asahi-6.3-rc1_dcp_v13_2 nvme, pcie and dcp are working on the m1 ultra, haven't tried serial
#asahi-dev · 2023-03-10 15:07
jannauarnd: dcp works for me but pcie is busted
#asahi-dev · 2023-03-10 14:41
svennvme should actually work without DART. not that that helps much
#asahi-dev · 2023-03-10 14:33
jannaulet me check, rust/gpu is non-trivial and my low effort conflict resolution doesn't compile
#asahi-dev · 2023-03-10 14:25
mazthis is a laptop that permanently lives closed on a shelf. as long as I get WiFi, storage and serial console, I'm happy.
#asahi-dev · 2023-03-10 14:23
mazarnd: yeah, DART is causing me headaches. I don't need much to work, but this definitely gates NVMe and PCIe, which I depend on...
#asahi-dev · 2023-03-10 14:19
arndI did not try to rebase the gpu branch
#asahi-dev · 2023-03-10 14:18
arndmaz: I tried but ran into problems rebasing the t6000-dart branch on top of what was already merged and broke dcp in the process, so I went back to 6.2 plus selected branches. I think all the other branches I use were trivial to merge with or rebased on top of 6.3-rc1.
#asahi-dev · 2023-03-10 13:58
mazdoes someone have a 6.3-rc1 based asahi kernel tree? asking for a friend...
#asahi-dev · 2023-03-09 23:33
fbisurveillancehello. it is me. you're welcome
#asahi-dev · 2023-03-09 17:55
kettenisI think people have mentioned that here before
#asahi-dev · 2023-03-09 17:55
jannaubasic dcp test with 13.2 firmware appears to be fine as well
#asahi-dev · 2023-03-09 17:54
jannauworked around by built-in nvme/sart
#asahi-dev · 2023-03-09 17:52
jannauhappens with built-in APPLE_PMGR_PWRSTATE and nvme/sart as modules
#asahi-dev · 2023-03-09 17:38
jannauand of course it's just turned of just before that
#asahi-dev · 2023-03-09 17:33
jannauhas anyone seen of_genpd_add_subdomain errors for the nvme? the problem seems to be that ps_ans2 os !on but ps_apcie_st_sys and ps_apcie_st1_sys are
#asahi-dev · 2023-03-09 13:55
jannauthere are not that many drn api changes which affect the driver. the only change I remember was the cma -> dma rename in 5.19 or 6.0
#asahi-dev · 2023-03-09 13:53
kettenis(and I totally understand you're following master much more closely)
#asahi-dev · 2023-03-09 13:53
kettenishopefully the API differences between 6.1 and 6.2 aren't too big
#asahi-dev · 2023-03-09 13:52
kettenisOpenBSD's drm subsystem tends to follow LTS kernels, so we're at 6.1 and unlikely to be upgraded for a while
#asahi-dev · 2023-03-09 13:51
kettenisah, I missed that happening
#asahi-dev · 2023-03-09 13:51
jannauit's just a rebase on v6.2 mostly done by marcan
#asahi-dev · 2023-03-09 13:51
j`ey_the current asahi-wip branch is based on 6.2
#asahi-dev · 2023-03-09 13:50
kettenisor is this just a forward port?
#asahi-dev · 2023-03-09 13:49
kettenisjannau: did you move your development from something based on 6.1 to 6.2?
#asahi-dev · 2023-03-09 13:43
jannauwill test on j314c after installing 13.2 on it
#asahi-dev · 2023-03-09 13:41
jannautested so far on m1 mini, m1 ultra studio and m2 mbp 13"
#asahi-dev · 2023-03-09 13:41
jannaumarcan, lina: https://github.com/jannau/linux/tree/asahi-6.2-1_star_dcp_v13_2 has a lightly tested dcp with 13.2 firmware, based on gpu/explicit-sync rebased on https://github.com/jannau/linux/tree/bits/000-devicetree
#asahi-dev · 2023-03-09 07:53
jannauother than that dcp and gpu seems to work fine on 13.2, testing on j314c still pending
#asahi-dev · 2023-03-09 07:48
jannaustill using the 12.3 multitouch firmware, so that might cause issues
#asahi-dev · 2023-03-09 07:47
jannaumarcan: did you already test dockchannel-hid on 13.2? testing dcp on the m2 mbp 13" and HID fails with "hid-generic 0019:0000:0000.0001: invalid report_size 16384"
#asahi-dev · 2023-03-08 10:32
ChaosPrincessnvm, found it
#asahi-dev · 2023-03-08 10:26
ChaosPrincessis there a way to block writes to a memory location with m1n1? i want to change some writes into nops and see what breaks
#asahi-dev · 2023-03-08 10:11
svenAnd dptx is only present on dcpext there
#asahi-dev · 2023-03-08 10:11
svenmy comments only refer to m1 fwiw
#asahi-dev · 2023-03-08 09:59
marcanwell it works on laptops so there is *some* way to do it
#asahi-dev · 2023-03-08 09:17
svenI tried to debug that for days and then when I switched to the real iomfb it worked almost immediately
#asahi-dev · 2023-03-08 09:17
sveniirc I either never got modes or hotplug just didn’t go through
#asahi-dev · 2023-03-08 09:16
svenoh, dptx never worked correctly with the iboot interface for me fwiw
#asahi-dev · 2023-03-08 09:16
jannauthere is either something missing or it doesn't work with the iboot interface, see the "AP not ready yet" syslog message
#asahi-dev · 2023-03-08 09:16
svenmakes sense since it needs to be able to route to atcphy as well
#asahi-dev · 2023-03-08 09:14
jannaudptx on m2's dcp works like on dcpext
#asahi-dev · 2023-03-08 09:11
svenjust guessing here though since I only have this m1 ;)
#asahi-dev · 2023-03-08 09:11
svenand at least on m1 the dptx endpoints for DCP just don’t exist and that connectTo call sounds like the proper place to setup the routing
#asahi-dev · 2023-03-08 09:10
svenyeah, I just assumed that you set that output mux to „dp2hdmi“ and then it just works
#asahi-dev · 2023-03-08 09:00
jannauyes, it has (only looked at M2) and that works. but that looks more like an output mux. each atc has its own crossbar for dp-altmode and the two thunderbolt dp tunnels
#asahi-dev · 2023-03-08 08:54
svendoes DCP have the dptx endpoints? There’s that init connection call or however it’s called that also takes the target ATC as arguments
#asahi-dev · 2023-03-08 08:39
jannauif you want to try I can push m1n1 with dptx and 13.2 tracing
#asahi-dev · 2023-03-08 08:33
jannaumarcan: if you're looking with ghidra it would help to find out under which conditions dcp logs: "syslog: [nifiedPipeline.cpp:6906]VideoInterface::Plug callback: AP not ready yet, mark hot-plug pending"

plus ›