#asahi-dev · 2022-08-30 11:54
svenwhatever that is#asahi-dev · 2022-08-30 11:53
svenI see a lot of <Ch 0 Type NOTIFY Ver 2 Tag 625 here for that port#asahi-dev · 2022-08-30 11:36
svenand here I thought I could just ignore whatever is going with DCP :D#asahi-dev · 2022-08-30 11:35
svenyeah, it's clearly talking to AppleDCPDPTXRemotePort#asahi-dev · 2022-08-30 10:42
svenyeah, that would make sense#asahi-dev · 2022-08-30 10:21
svenmaybe I should just update this Mac mini and try the real protocol though just to be sure#asahi-dev · 2022-08-30 10:19
svenDoesn’t get past the “waiting for hpd” thing, I’m not convinced I have the correct dpphy bringup though #asahi-dev · 2022-08-30 09:38
svenmarcan/jannau: any reason the iboot protocol wouldn’t work for dcpext?#asahi-dev · 2022-08-30 07:55
svenI think it’s matrix only #asahi-dev · 2022-08-29 18:57
sven???#asahi-dev · 2022-08-29 18:56
svenbecause you can only protect a single contiguous region with KTRR #asahi-dev · 2022-08-29 18:53
sveni don’t know how exactly Linux module loading works but I’d expect that you’d need some major changes to make it put all text in a region it’ll never have to write to #asahi-dev · 2022-08-29 18:52
svenI don’t think size is a good point here#asahi-dev · 2022-08-29 18:02
svenyeah, as much as I like the idea of KTRR I don't see that happening with linux :(#asahi-dev · 2022-08-29 17:52
svenyup :D#asahi-dev · 2022-08-29 17:52
svenyeah#asahi-dev · 2022-08-29 17:51
svenprobably something dumb like that#asahi-dev · 2022-08-29 17:51
svenheh, yeah#asahi-dev · 2022-08-29 17:50
svendunno what exactly I did to trigger that though#asahi-dev · 2022-08-29 17:50
sventhere's another way to reset everything as well if you misconfigure some of the lanes even without involving CIO#asahi-dev · 2022-08-29 17:50
svenyeah#asahi-dev · 2022-08-29 17:49
sventhen there's what's likely the CIO watchdog which resets the SoC after ~30 seconds if you bring up ATCPHY and then enable the CIO power-domain/whatever but don't boot CIO#asahi-dev · 2022-08-29 17:48
svenresets the whole thing in ~3 seconds#asahi-dev · 2022-08-29 17:48
svenso one way to break everything is to enable the CIO clock/power-domain/whatever without having powered up ATCPHY first#asahi-dev · 2022-08-29 17:48
sventhat's what I think#asahi-dev · 2022-08-29 17:47
svenand a few ways to trigger some watchdog that resets the entire SoC as well#asahi-dev · 2022-08-29 17:47
sventhere's a lot of ways to confuse dwc3 if you slightly misconfigure atcphy#asahi-dev · 2022-08-29 17:47
svenyeah, pretty much#asahi-dev · 2022-08-29 17:46
sventhere's just some weird interaction if you switch the SS lanes to USB3 and try to use USB2 at the same time without bringing up the USB3 PHY#asahi-dev · 2022-08-29 17:46
sveni don't think so#asahi-dev · 2022-08-29 17:46
sventhere's a usb2 phy somewhere inside ATCPHY as well#asahi-dev · 2022-08-29 17:45
svenyeah, it also does dwc3 and thunderbolt NHI power, reset and clocks#asahi-dev · 2022-08-29 17:43
svenbut yes, it supports USB3+DP-altmode at the same time#asahi-dev · 2022-08-29 17:43
svenit's also much more than a mux#asahi-dev · 2022-08-29 17:39
svenprobably#asahi-dev · 2022-08-29 17:39
sventhe type-c phy that sits behind each usb c port and handles all the magic low-level physical stuff #asahi-dev · 2022-08-29 17:38
sven*lifes#asahi-dev · 2022-08-29 17:38
svenyup. also makes our lives easier since we can mix and match dcpexts to atcphys however we want :-)#asahi-dev · 2022-08-29 17:35
svenand I don't see anything that limits e.g. dcpext0 to only atcphy0 and 1#asahi-dev · 2022-08-29 17:34
sventhe top level handler is display-crossbar0 and there's also only a single one in the t6x ADTs which contains all dispexts and all atcs#asahi-dev · 2022-08-29 17:33
svenI think it can route any dispext to any atcphy (i.e. even across cores) fwiw#asahi-dev · 2022-08-29 17:31
svenwould be interesting to see how it configure the crossbar in that setup#asahi-dev · 2022-08-29 17:31
svenyeah, could be#asahi-dev · 2022-08-29 17:30
svenI wonder what exactly it does to support that#asahi-dev · 2022-08-29 17:30
svenhuh, interesting#asahi-dev · 2022-08-29 17:27
sven+around#asahi-dev · 2022-08-29 17:27
sveneither way, let me know once you're that monitor again. i'd like to see a full atcphy + crossbar trace#asahi-dev · 2022-08-29 17:27
svenwould still be interesting to see what exactly happens#asahi-dev · 2022-08-29 17:26
svenso maybe that display just supports the higher bandwidth DP modes and linux just messes up and tries to use MST instead?#asahi-dev · 2022-08-29 17:26
svenhrm, so looking at the spec from display port it seems that 5k should be possible even with a single stream