#
✕ nick:marcan
#asahi-dev · 2022-11-17 13:00
marcanoh god why is this driver/hardware so broken
#asahi-dev · 2022-11-17 13:00
marcanummmm does that kill the whole thing?
#asahi-dev · 2022-11-17 13:00
marcanyup
#asahi-dev · 2022-11-17 12:59
marcanon macos?
#asahi-dev · 2022-11-17 12:59
marcan(this has always been like that on usb2; it does not happen on the PCI controllers)
#asahi-dev · 2022-11-17 12:59
marcanwhich causes a full re-enumerate
#asahi-dev · 2022-11-17 12:58
marcan[ 27.649409] xhci-hcd xhci-hcd.0.auto: xHC error in resume, USBSTS 0x401, Reinit
#asahi-dev · 2022-11-17 12:58
marcanyeah and doesn't come back on resume clean
#asahi-dev · 2022-11-17 12:58
marcanwell, I don't think you're *supposed* to actually trigger a connect/disconnect, I think devices are supposed to survive a suspend/resume to some extent? though right now dwc3 dies anyway so I'm guessing that's the first thing to fix there
#asahi-dev · 2022-11-17 12:57
marcanlol
#asahi-dev · 2022-11-17 12:56
marcan(could do it on the weekend, but let's optimize for the media cycle shall we...)
#asahi-dev · 2022-11-17 12:56
marcanwhich at this point is going to be next week
#asahi-dev · 2022-11-17 12:56
marcanwould be nice if we can fix the atcphy ordering too, but that can wait until after release
#asahi-dev · 2022-11-17 12:55
marcanI think that's the worst of the suspend/resume issues since sometimes there's no good way to get back the screen
#asahi-dev · 2022-11-17 12:54
marcanthere was also a ton of warning spew from locked DARTs
#asahi-dev · 2022-11-17 12:54
marcan(because it actually triggers swaps)
#asahi-dev · 2022-11-17 12:54
marcan(wouldn't be surprised if wayland works)
#asahi-dev · 2022-11-17 12:53
marcan(xorg)
#asahi-dev · 2022-11-17 12:53
marcanyou get a black screen on j314/j316 at least, until a DPMS cycle
#asahi-dev · 2022-11-17 12:50
marcanok, fixed the dcp suspend/resume issue (solution: actually use the DRM suspend/resume helpers which work properly, instead of open-coding something broken :p)
#asahi-dev · 2022-11-17 12:36
marcanI get the [ 33.679950] phy-apple-atc b03000000.phy: pipehandler lock not acked, this type-c port is probably dead until the next reboot.
#asahi-dev · 2022-11-17 12:36
marcansven: okay yeah it works only sometimes
#asahi-dev · 2022-11-17 12:20
marcanwell, it still resets devices but at least it comes back
#asahi-dev · 2022-11-17 12:20
marcansven: not sure if some recent change fixed suspend/resume on atcphy or it's just due to me running on the hypervisor, but it actually works now?
#asahi-dev · 2022-11-17 11:27
marcanLED, LTM, BLM, APT
#asahi-dev · 2022-11-17 11:27
marcanalso I just realized there are *4* cortex-M3s in the M1 Pro/Max DCP lol
#asahi-dev · 2022-11-17 11:26
marcanafter a suspend/resume and reconnect
#asahi-dev · 2022-11-17 11:26
marcanjust got that one
#asahi-dev · 2022-11-17 11:26
marcansven: [ 2336.223752] WARNING: CPU: 9 PID: 608 at drivers/phy/apple/atc.c:1973 atcphy_mux_set+0x280/0x2e4 [phy_apple_atc]
#asahi-dev · 2022-11-17 11:13
marcanthough I think there's an SWD mode for the sideband pins but I'm not sure if it's SWD for the chip itself or passthrough to the SoC
#asahi-dev · 2022-11-17 11:12
marcanbut that requires hardware haxx
#asahi-dev · 2022-11-17 11:12
marcanI think someone said you can dump it with SWD
#asahi-dev · 2022-11-17 11:11
marcanI assume the ROM is also different from the standard one (that's what makes it a special partno)
#asahi-dev · 2022-11-17 11:11
marcanthe external firmware is just patches/addons; I never dumped the ROM
#asahi-dev · 2022-11-17 10:47
marcankettenis_: confirmed that uboot works with atcphy now (tagged & package in asahi-dev)
#asahi-dev · 2022-11-17 10:42
marcanfixed
#asahi-dev · 2022-11-17 10:42
marcanwhere did that come from...
#asahi-dev · 2022-11-17 10:19
marcanjannau: merged the changes & pushed asahi-wip
#asahi-dev · 2022-11-17 10:14
marcanmore fuses?
#asahi-dev · 2022-11-17 10:07
marcanoverride some reads and see if it affects things?
#asahi-dev · 2022-11-17 10:07
marcanah, yeah
#asahi-dev · 2022-11-17 10:06
marcanto make sure they override it
#asahi-dev · 2022-11-17 10:06
marcanbut then !t8103 have to come first in the match table once you add data fields to those
#asahi-dev · 2022-11-17 10:06
marcanworth having the compatible just for that then, even if it's "a bit broken"
#asahi-dev · 2022-11-17 10:05
marcanDP only?
#asahi-dev · 2022-11-17 10:05
marcanI don't see the existing driver doing anything different for t6k
#asahi-dev · 2022-11-17 10:01
marcan_jannau_: which should mean we don't need the fixup for atcphy
#asahi-dev · 2022-11-17 10:01
marcansven: I'll make the compatibles tfoo, t8103 for atcphy
#asahi-dev · 2022-11-17 09:58
marcan_jannau_: saw the m2 one, not the dcp update
#asahi-dev · 2022-11-17 09:58
marcanah right, we should get that reviewed on Linux first

plus ›