#asahi-dev · 2022-09-29 15:01
sventhis is just my weird capture card#asahi-dev · 2022-09-29 15:01
sventhis isn't running under the HV#asahi-dev · 2022-09-29 15:00
svenwould post a picture but my external screen hates DCP even under macOS#asahi-dev · 2022-09-29 14:59
sven[syslog] * [nifiedPipeline.cpp:6445]IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 1920x1080@64 Hz link: 1 \o/#asahi-dev · 2022-09-29 06:42
sventhe xhci controller attached via pcie requires a working dart driver since those darts don’t support bypass mode#asahi-dev · 2022-09-29 06:41
sventhey support 64 bit just fine when the dart is in bypass mode #asahi-dev · 2022-09-28 10:36
svenand i think my code just replies with 0x0 currently which might explain why set_digital_out_mode later fails#asahi-dev · 2022-09-28 10:36
sven[cpu5] [DCPTracer@/arm-io/dcpext] [dptxport] [dcpdptx-port-epic0] > Notify Ack: getLinkRate = 0xa#asahi-dev · 2022-09-28 10:36
sven[cpu5] [DCPTracer@/arm-io/dcpext] [dptxport] [dcpdptx-port-epic0] < Notify: getLinkRate#asahi-dev · 2022-09-28 10:36
svener..#asahi-dev · 2022-09-28 10:36
sven[cpu2] [DCPTracer@/arm-io/dcpext] [dptxport] [dcpdptx-port-epic0] < Notify: getLinkRate#asahi-dev · 2022-09-28 10:36
sven[cpu5] [DCPTracer@/arm-io/dcpext] [dptxport] [dcpdptx-port-epic0] > Notify Ack: getLinkRate = 0xa#asahi-dev · 2022-09-28 10:36
svenand then there's IPC calls like#asahi-dev · 2022-09-28 10:35
svenmore DCP fun: NOTIFY/NOTIFY_ACK is essentially just the dcp->ap ipc direction for these additional endpoints#asahi-dev · 2022-09-27 16:27
svenjust need to clean up the .py that tries to drive these endpoints now#asahi-dev · 2022-09-27 16:27
sventhat's actually the cleaned up version#asahi-dev · 2022-09-27 16:27
svenoh, not in the merge request :D#asahi-dev · 2022-09-27 16:22
svenlooks like I actually confused some of the endpoints in there and that i'm missing at least one call which may or may not do anything#asahi-dev · 2022-09-27 16:22
svenenough DCP for today. let's see if I can manage to clean up my dcp_altmode.py tomorrow#asahi-dev · 2022-09-27 16:18
svenhttps://github.com/AsahiLinux/m1n1/pull/255 <-- the EPIC tracing stuff#asahi-dev · 2022-09-27 16:06
svenoh god, it does hdcp shit. i hope i can just disable that somehow#asahi-dev · 2022-09-27 15:08
svenI still wonder how “I’ll just bring thunderbolt up” ended with me reversing this dumb DCP IPC crap :D#asahi-dev · 2022-09-27 14:45
svenshould've cleaned up his code earlier#asahi-dev · 2022-09-27 14:41
sven*by apple#asahi-dev · 2022-09-27 14:41
svenit wouldn't surprise me if the names we have were made up apple. fit to the entire mess the rest of DCP is#asahi-dev · 2022-09-27 14:41
svenhrm, ok. i'll probably go ahead and rename a few at least in the tracer then so that they make more sense#asahi-dev · 2022-09-27 14:37
svenwhere did these names originally come from btw?#asahi-dev · 2022-09-27 14:37
svenepicep2a is something like dcpdptx then i guess.#asahi-dev · 2022-09-27 14:36
svenso [dptx] has [dcpdp-controller-epic0] and [dcpav-controller-epic0]. [epicep2a] has [dcpdptx-port-epic0] and [dcpdptx-port-epic1]#asahi-dev · 2022-09-27 14:34
sventhat thing seems to do a lot of crap actually#asahi-dev · 2022-09-27 14:34
sven[cpu2] [DCPTracer@/arm-io/dcpext] [mcdp29xx] [dcpdp-service-epic0] < getLocation #asahi-dev · 2022-09-27 14:30
svenbut the whole thing is very very weird in general#asahi-dev · 2022-09-27 14:30
sveni'm starting to get a better understanding of that#asahi-dev · 2022-09-27 14:30
svenah, could be#asahi-dev · 2022-09-27 14:27
sveni guess the mcdp29xx endpoint in trace_dcp is mislabeled? #asahi-dev · 2022-09-27 14:27
svenuhhh...#asahi-dev · 2022-09-27 14:27
sven[cpu4] [DCPTracer@/arm-io/dcpext] [mcdp29xx] [dcpav-service-epic0] < group 4 command 4#asahi-dev · 2022-09-26 19:15
svenand who knows what else #asahi-dev · 2022-09-26 19:15
svenand pmgr spams a lot during boot as well#asahi-dev · 2022-09-26 19:01
svenbut I can try again tomorrow #asahi-dev · 2022-09-26 19:01
sveneven with no cable connected #asahi-dev · 2022-09-26 19:01
sveni think it always started dcpext for me#asahi-dev · 2022-09-26 19:00
svenyea, that happens after you send a notifyHotPlug message to another epic endpoint #asahi-dev · 2022-09-26 18:58
svenor it's something that happens in PMGR or whatever at boot time. tracking that down is going to be very annoying though#asahi-dev · 2022-09-26 18:56
svenbut i've been over those a few times now#asahi-dev · 2022-09-26 18:56
svenmaybe i'm also doing something with these additional epic endpoints wrong#asahi-dev · 2022-09-26 18:56
svenyeah, that matches was I saw when I compared traces :/#asahi-dev · 2022-09-26 18:53
svenit'll only work on t8103 though#asahi-dev · 2022-09-26 18:53
svenmaybe having another pair of eyes on it will help#asahi-dev · 2022-09-26 18:53
svenyeah. i'll try to clean my code up later this week and push it somewhere.