#
✕ nick:marcan
#asahi-dev · 2022-08-30 17:32
marcansven: also made displayRequest() not hang, so that triggers that power up message in case that helps
#asahi-dev · 2022-08-30 17:15
marcansven: figured out how to enable a bunch of extra DCP debug, not sure if it's useful though (see latest commits)
#asahi-dev · 2022-08-30 14:21
marcanlol I just realized EPIC is EndpointInterfaceClient
#asahi-dev · 2022-08-30 12:42
marcanalso fetch again, I had a HV regression that wasn't committed yet
#asahi-dev · 2022-08-30 12:40
marcanit doesn't do anything for me, but maybe it will for you when you actually set up the xbar
#asahi-dev · 2022-08-30 12:39
marcansven: try experiments/dcpext_iboot.py
#asahi-dev · 2022-08-30 12:02
marcanyup, entirely possible
#asahi-dev · 2022-08-30 12:02
marcanit does have a bunch built in... need to check the DART
#asahi-dev · 2022-08-30 12:01
marcan(maybe we should!)
#asahi-dev · 2022-08-30 12:01
marcanand macos just doesn't use it?
#asahi-dev · 2022-08-30 12:01
marcanmaybe DCP just has its *own* dpmux functionality?
#asahi-dev · 2022-08-30 12:01
marcanand now I wonder, because ConnectTo is not used
#asahi-dev · 2022-08-30 12:01
marcanso I get the feeling this is just the endpoint coming up
#asahi-dev · 2022-08-30 12:01
marcanyes, but those are just those requests
#asahi-dev · 2022-08-30 11:54
marcanhooking it up now, I need some refactoring because indeed, there are 2 instances of everything here
#asahi-dev · 2022-08-30 11:54
marcanso maybe it just wants that endpoint initialized
#asahi-dev · 2022-08-30 11:54
marcanbut the only commands before that are GetLocation and GetUnit
#asahi-dev · 2022-08-30 11:54
marcanyes
#asahi-dev · 2022-08-30 11:54
marcanso a DCPDPDevice is apparently supposed to magically appear
#asahi-dev · 2022-08-30 11:53
marcanbut it does initialize it, maybe that's enough
#asahi-dev · 2022-08-30 11:53
marcanit doesn't seem to actually do anything with RemotePort
#asahi-dev · 2022-08-30 11:50
marcansven: let me get you some code
#asahi-dev · 2022-08-30 10:40
marcanit's possible the crossbar is a literal N:M of wiring? and so the dcp side has to choose the route to a given ATC, and the ATC has to choose the route from that DCP, on both ends
#asahi-dev · 2022-08-30 10:38
marcanso I think the iboot thing is a red herring, you should keep using that (since it's easier) and look into the other EPIC endpoints
#asahi-dev · 2022-08-30 10:38
marcansven: ^
#asahi-dev · 2022-08-30 10:38
marcanconnectTo references this string: "core%u -> %u,%u (ATC%u::%s) supportsHPD=%u: ret=0x%08x"
#asahi-dev · 2022-08-30 10:36
marcanI wonder if that's the one you need
#asahi-dev · 2022-08-30 10:36
marcanand there is an AppleDCPDPTXRemotePort that has DisplayRequest/DisplayRelease/ConnectTo/ValidateConnection
#asahi-dev · 2022-08-30 10:35
marcanand another DP-related one has SetPower too
#asahi-dev · 2022-08-30 10:35
marcanand another one with stuff like RetrainLink/GetSinkCount
#asahi-dev · 2022-08-30 10:34
marcanfor DP stuff there's an object with stuff like SetLinkRate/SetLaneCount/SetDriveSettings
#asahi-dev · 2022-08-30 10:28
marcansee dcpav.py, but there's more missing
#asahi-dev · 2022-08-30 10:27
marcanso maybe there are commands to send there (those aren't part of the main dcpep thing)
#asahi-dev · 2022-08-30 10:27
marcansince the firmware knows about atcphy/etc
#asahi-dev · 2022-08-30 10:27
marcanthe thing is, there are DCP EPIC protocols for the DP stuff that may be required for dcpext too
#asahi-dev · 2022-08-30 10:26
marcanso that's probably your fault :>
#asahi-dev · 2022-08-30 10:26
marcanoh then yeah, no hpd just means nothing connected to the output
#asahi-dev · 2022-08-30 10:18
marcanhow does it fail?
#asahi-dev · 2022-08-30 10:18
marcansven: not really, other than maybe it expects some init we don't do, or it's outright disabled for dcpext?
#asahi-dev · 2022-08-30 07:23
marcanchadmed: don't think anyone has looked at it, though some exynos legacy would not be unexpected...
#asahi-dev · 2022-08-30 07:22
marcan*their
#asahi-dev · 2022-08-30 06:09
marcanright now, I think our priority after the hardware support is decent should be to support reasonable secure boot (i.e. chaining into existing secure boot paradigms), SEP-assisted FDE/unlock, and also Fedora Silverblue as a proof of concept that Linux can also do the macOS SSV thing
#asahi-dev · 2022-08-30 06:08
marcanlet's get the hardware supported first and worry about special-purpose kernels and niche security setups later
#asahi-dev · 2022-08-30 06:08
marcanbut again we're talking about very niche spinoffs that don't really make sense to think about now :)
#asahi-dev · 2022-08-30 06:08
marcanyes, that is a viable thing
#asahi-dev · 2022-08-30 04:05
marcanI use moduleless kernels for my servers (for security/simplicity). It's a lot more practical for a sever where the hardware never changes and there is no hotplugging of random devices.
#asahi-dev · 2022-08-29 18:22
marcan*comes back
#asahi-dev · 2022-08-29 18:22
marcanand a lot of really fiddly stuff to make it secure
#asahi-dev · 2022-08-29 18:22
marcanit involves a reboot through recovery mode that shows a progress bar then comex back
#asahi-dev · 2022-08-29 18:22
marcanthere is automation to make it soooomewhat seamless to users

plus ›