#asahi-gpu · 2022-10-06 14:17
sventhat’s why I hoped they kept the pkg as well :/#asahi-gpu · 2022-10-06 14:16
svenouch#asahi-gpu · 2022-10-06 14:15
svenI hope they just removed the link in some plist and kept the pkg link alive #asahi-gpu · 2022-10-06 14:15
svenhuh. that’s quite annoying #asahi-gpu · 2022-10-04 06:13
svenmost other platform seem to just have a direct connection between the port and the display controller and don’t need any interaction from the kernel itself afaict#asahi-gpu · 2022-10-04 06:12
svenbut I don’t think that has any dt bindings yet#asahi-gpu · 2022-10-04 06:12
sventhere’s a oob notifier for altmode hotplug inside drm #asahi-gpu · 2022-10-03 18:34
sven*of#asahi-gpu · 2022-10-03 18:34
sventhere’s just some if the type-c-connector stuff we can reuse #asahi-gpu · 2022-10-03 18:34
svenI haven’t found anything that’s even close to the flexibility apple has with the entire typec/thunderbolt/phy/crossbar stuff either #asahi-gpu · 2022-10-03 17:03
svenI‘m not looking forward to model the entire atcphy/crossbar/tps6598x stuff either #asahi-gpu · 2022-10-03 16:49
svenbrain?#asahi-gpu · 2022-10-03 15:07
svenxnu first just connects dcpdptx-port-epic0, then dcp calls setTiledDisplayHints and then xnu connects dcpdptx-port-epic1#asahi-gpu · 2022-10-03 15:07
svenyup, that's also how it detects if the display is tiled apparently#asahi-gpu · 2022-10-03 13:57
svenohh... i think i know what happens. it first just brings up atcphy but doesn't setup the tunables yet, then it routes atcphy to some dcpext and then dcpext calls setLinkRate and only then does it finish setting up atcphy#asahi-gpu · 2022-10-03 13:44
svencan't find anything in that tps6598x datasheet#asahi-gpu · 2022-10-03 13:44
svenhrm, i wonder how it gets the link rate. it needs to know that before setting up ATCPHY#asahi-gpu · 2022-10-03 10:01
svenyes, they always exist #asahi-gpu · 2022-10-03 09:59
svenLet me check again, but I think only that appears #asahi-gpu · 2022-10-03 09:59
svenDCPAVSplitDisplayVideoInterface#asahi-gpu · 2022-10-03 09:58
svenafaict that dpav thing is also shared, it’s just called split interface now#asahi-gpu · 2022-10-03 09:55
svenyes, but it seems to be connected to iomfb so I kinda expect everything to either explode or just work when I connect two separate screens #asahi-gpu · 2022-10-03 08:59
svenand at least at one point we need to send a message to dptx and then react to the dpav init messages before we get the dptx reply #asahi-gpu · 2022-10-03 08:59
svenThey’re pretty independent from what I can tell#asahi-gpu · 2022-10-03 08:58
svenI don’t think so#asahi-gpu · 2022-10-03 08:57
svensounds good, looks like conflicts should now be minimal if I start with the new endpoints #asahi-gpu · 2022-10-03 08:53
svenNice!#asahi-gpu · 2022-10-03 08:51
sven*some#asahi-gpu · 2022-10-03 08:51
sventhat just seem to be custom usb devices that send the framebuffer over sone protocol they made up#asahi-gpu · 2022-10-03 08:49
svenI guess that’s just something like displaylink?#asahi-gpu · 2022-10-03 08:47
svenand I need one for my serial connection and then I don’t have enough left for two screens#asahi-gpu · 2022-10-03 08:47
svenAnd now I need to port this to a Linux driver because I only have two usb c ports #asahi-gpu · 2022-10-03 08:46
svenIve only gotten DP alt mode output working literally days ago ;)#asahi-gpu · 2022-10-03 08:39
svenmarcan: fwiw, if you tell DCP to connect to two streams it already starts some „split av interface“ instead of the normal „av interface“. I kinda expect this to either just crash immediately or actually work #asahi-gpu · 2022-10-02 21:08
svenwhat’s so bad about crossbar? :p#asahi-gpu · 2022-10-02 20:58
svenyup, which why I hope that I can hack that to support two actually separate displays on two ports #asahi-gpu · 2022-10-02 20:57
sven6k I think #asahi-gpu · 2022-10-02 20:56
svenyes, but only if they use thunderbolt and not MST#asahi-gpu · 2022-10-02 20:55
svenwithout DCP we’d have to write fun parts like DP link training ourselves :/#asahi-gpu · 2022-10-02 20:53
svenalyssa: yup :p#asahi-gpu · 2022-10-02 20:52
svenyeah, and maybe also why apple doesn’t support that configuration on m1#asahi-gpu · 2022-10-02 20:51
sven*see#asahi-gpu · 2022-10-02 20:51
svenbut let’s ses what happens first #asahi-gpu · 2022-10-02 20:50
svenI’d be very happy with that two mostly identical display limitation fwiw #asahi-gpu · 2022-10-02 20:50
svenand I’m specifically working on this hw because I don’t have to write or rely on exploits ;)#asahi-gpu · 2022-10-02 20:49
svenbut binary patching would already require an exploit somewhere #asahi-gpu · 2022-10-02 20:49
svenyeah #asahi-gpu · 2022-10-02 20:48
svenI’m only willing to try and abuse their tiled display support#asahi-gpu · 2022-10-02 20:47
svenbut that’s nothing we want to rely on#asahi-gpu · 2022-10-02 20:47
svenoh, I’m sure i could get rop code exec on the DCP in a weekend or so