#asahi-dev · 2023-10-30 08:20
jannegexpected that idle cpus don't show a bt, just bad luck that the first 7 CPUs were all idle. the loop over all cpu's failed over the the first deactivated core on a 10 core m2 pro device#asahi-dev · 2023-10-30 08:11
janneghuh, backtrace works without cpuidle. it's hanging in dart_map_pages, probably for dart-dcpext0#asahi-dev · 2023-10-30 07:09
jannegyes, lockdep just complains about cpuidle, warnings go away with deselecting ARM_APPLE_CPUIDLE#asahi-dev · 2023-10-30 07:01
jannegcould of course be just deadlock in linux but lockdep output was not helpful#asahi-dev · 2023-10-30 07:00
jannegbut unfortunately no idea what's hanging. I don't even reach the dcp probe. the darts are at least in so far ok as I can dump them from the HV#asahi-dev · 2023-10-30 06:58
jannegI have a hung probe for dcpext on the m2 pro (used as model for hdmi out on the m2 ultra)#asahi-dev · 2023-10-30 06:56
jannegdo I remember correctly that there was mmio there reads/writes might block?#asahi-dev · 2023-10-30 06:54
jannegit's not working at all for me on the m2 pro, i.e. produces an empty stack trace#asahi-dev · 2023-10-30 06:53
jannegDid we break `bt` from the HV working for anyone#asahi-dev · 2023-10-29 23:24
povikthere's an option to migrate to dapm with that, if it turns out too bugprone, or for other reasons...#asahi-dev · 2023-10-29 23:24
poviknext time, i will probably want to review the mca clock refcounting stuff#asahi-dev · 2023-10-29 23:23
povikalright, i am calling it a day#asahi-dev · 2023-10-29 23:23
povikfwiw this is the dapm graph that patch generates: https://cutebit.org/macaudio-loopback-j274.svg#asahi-dev · 2023-10-29 23:15
povikthere's probably more work there especially if we want the data to come out on the sense pcm#asahi-dev · 2023-10-29 23:15
povikhttps://tpaste.us/vNeZ#asahi-dev · 2023-10-29 23:14
povikmarcan: this is a start on the loopback widgets: #asahi-dev · 2023-10-29 21:28
povikso your way is preferable, since it's a less involved loopback path#asahi-dev · 2023-10-29 21:27
povikand since you mention txa/txb, i take it the data is taken from the serdes, not the SoC pin#asahi-dev · 2023-10-29 21:26
povikso you found a different way to set it up#asahi-dev · 2023-10-29 21:26
povikmarcan: old loopback patch: https://tpaste.us/5X0E#asahi-dev · 2023-10-29 17:03
marcan(and I still don't get all of it)#asahi-dev · 2023-10-29 17:03
marcanit's taken me a while to really wrap my head around this whole ASoC architecture thing#asahi-dev · 2023-10-29 17:02
marcanalso now I need a loopback widget or something for mca :p#asahi-dev · 2023-10-29 17:02
marcanI feel like the visense stuff is a bit hacky but works for us, but I'm not sure if that whole concept is easy to represent in ASoC at all#asahi-dev · 2023-10-29 17:01
marcanfeel free :)#asahi-dev · 2023-10-29 17:01
povikwhat looks good i may send to the ML :p#asahi-dev · 2023-10-29 17:01
poviksure!#asahi-dev · 2023-10-29 17:01
marcanlet me know if you spot anything horribly wrong with the stuff I've been doing! :)#asahi-dev · 2023-10-29 17:00
marcanI need to get some sleep, but glad to see you around :)#asahi-dev · 2023-10-29 16:50
povikthat's been an ache for me since the early days#asahi-dev · 2023-10-29 16:50
povikgood!#asahi-dev · 2023-10-29 16:50
povikhttps://github.com/AsahiLinux/linux/commit/9ab6e03105de95c6d7b39736d1bb0f3f705a9067#asahi-dev · 2023-10-29 16:43
marcanit only just hit me *what* I found literally 5 minutes ago :)#asahi-dev · 2023-10-29 16:41
marcanbit 16+ in the port select enables loopback from that cluster,tx[ab] in order#asahi-dev · 2023-10-29 16:40
marcanpovik: I just found it myself today lol#asahi-dev · 2023-10-29 16:40
poviki even think i had that set up once when debugging mca/admac#asahi-dev · 2023-10-29 16:40
povikmarcan: re loopback pcm, that should be possible at least in principle#asahi-dev · 2023-10-29 16:39
povikjanneg: not really#asahi-dev · 2023-10-29 14:22
kettenismarcan: thanks for pushing the xhci/usb u-boot fixes upstream#asahi-dev · 2023-10-29 12:05
j`eyjanneg: congrats on getting HDMI out working!#asahi-dev · 2023-10-29 12:04
jannegpovik: do you have any dcp audio changes? I plan to take the v3 sio driver but I would be surprised if epic protocol works unchanged with 13.5#asahi-dev · 2023-10-29 12:02
svenit probably just doesn’t have a sign off because I forgot to add that flag when I ran git commit #asahi-dev · 2023-10-29 12:02
svensure #asahi-dev · 2023-10-29 12:02
jannegsven: can I add your signoff to "DCP WIP"? I've started cleaning it up and have a proper commit message. I plan to split the dp-altmode code off and just use the parts I need for dp2hdmi#asahi-dev · 2023-10-29 11:56
jannegand with that HDMI outr is working on the m2 pro mac mini (and presumedly on the m2 max studio)#asahi-dev · 2023-10-29 11:55
jannegok as I assumed, thanks. apparently apple doesn't support split displays with dcp on t602x, probably to save die space. works on t8112 though, maybe to drive a second tb display at 5k 60Hz#asahi-dev · 2023-10-29 11:51
svenbut there was also a function that told you if the display was tiled iirc#asahi-dev · 2023-10-29 11:51
svenhrm... it was related to DPTX_APCALL_SET_TILED_DISPLAY_HINTS somehow#asahi-dev · 2023-10-29 11:49
svenif two displays are connected to that port instead two separate dcpext dptx0 streams are connected to those ports#asahi-dev · 2023-10-29 11:49
sventhey're connected to the two dp-over-tbt ports of a single atcphy if a split panel display is connected there