#
✕ nick:sven
#asahi-dev · 2022-03-11 12:17
svenhah, that’s actually not that far from me :)
#asahi-dev · 2022-03-11 12:14
svenyou people aren’t helping what little control I still have left that prevents me from buying that thing :P
#asahi-dev · 2022-03-11 12:13
svenonce it’s in there’s less temptation to change anything ;)
#asahi-dev · 2022-03-11 12:12
sventhe atomic rtkit stuff can go in with smc then
#asahi-dev · 2022-03-11 12:12
svenI saw some, but I guess I’ll just squash the fix up commits
#asahi-dev · 2022-03-11 12:11
svenyeah
#asahi-dev · 2022-03-11 12:11
svenyeah, I think those are supposed to come first anyway
#asahi-dev · 2022-03-11 12:10
svenso I guess I can just submit bindings/rtkit/SART/nvme as a single series?
#asahi-dev · 2022-03-11 12:10
svenyeah. maybe some discussions about the compatibles or something but those can happen in the ML anyway
#asahi-dev · 2022-03-11 12:08
svenat least nothing that can’t be fixed later anyway
#asahi-dev · 2022-03-11 12:08
svenI’m not sure there’s much more to change for the driver fwiw
#asahi-dev · 2022-03-11 12:07
svenI guess I could even send a first nvme RFC. this atcphy has just been more fun than sending patches
#asahi-dev · 2022-03-11 08:13
svenI think that shot was the PR jannau linked above that you closed ;)
#asahi-dev · 2022-03-11 06:13
svenmarcan: no :(
#asahi-dev · 2022-03-10 14:45
svenfwiw, xnu will spam a *lot* when you enable those bootargs so make sure to store the output somewhere because it'll overflow your terminal scrollback very quickly
#asahi-dev · 2022-03-10 14:44
svengoodnight :)
#asahi-dev · 2022-03-10 14:44
svenDP might even be more complex. there's references to some kind of DP phy as well
#asahi-dev · 2022-03-10 14:44
sveni'm actually a bit more curious about the 2x2 device
#asahi-dev · 2022-03-10 14:43
svensure
#asahi-dev · 2022-03-10 14:42
svenmarcan: (or anyone else really) do you have a monitor where macos gets that wrong? or maybe a usb3 device that uses both lanes? could you run xnu with these bootargs (essentially usb mmiotrace without the hypervisor :D) then and plug it it? https://f.svpe.de/877e608ff9591ec7cd32455634816d18b927189f8bf8571230295e2b6a16e4fd_usb-debugargs.txt
#asahi-dev · 2022-03-10 14:15
svenbut apparently not usb / usb unless i'm still confused :/
#asahi-dev · 2022-03-10 14:14
svenat least the crossbar configuration supports modes like USB / DP and also DP / DP afaict
#asahi-dev · 2022-03-10 14:03
sveni hate this already :D
#asahi-dev · 2022-03-10 14:01
svenmarcan: you've also spent to much time with USB: is it correct that there's USB 3.x that only uses a single lane (i.e. one TX/RX pair) and USB 3.2 Gen 2x2 that uses two lanes (i.e. both TX/RX pairs)? and I can combine USB 3 with DP on the other lane on a type c port but if I want that Gen 2x2 thing I can no longer send a DP signal?
#asahi-dev · 2022-03-07 15:18
svenand then sometimes they map different offsets inside a single page for some reason
#asahi-dev · 2022-03-07 15:18
svenhttps://f.svpe.de/78654b5e27f615929065f192a8f7938679a6e716d174f11ec34e588bd2078c21_atcphy-regs.txt atcphy regs + the names i know. note how most of these entries are just 0x4000 apart *sigh*
#asahi-dev · 2022-03-07 14:13
sveni'll only get to try again this evening. that idea just came to my mind and i quickly confirmed it by looking at a stored XNU log I had around :D
#asahi-dev · 2022-03-07 14:10
svenwhich uh... probably did nothing
#asahi-dev · 2022-03-07 14:10
svenyeah... i was kinda applying them all to the usb2 phy
#asahi-dev · 2022-03-07 14:09
sventhat probably explains why nothing was working :D
#asahi-dev · 2022-03-07 14:09
svenalso lol, i just realized why apple split their tunables into so many properties: they are all based on a different entry in the regs array
#asahi-dev · 2022-03-07 14:08
svenpovik: awsome! :)
#asahi-dev · 2022-03-07 13:33
sven*things
#asahi-dev · 2022-03-07 13:32
svenoh.. that makes thing easier if there can't be a device that only wants DP but no USB
#asahi-dev · 2022-03-07 11:09
sveni'm only interested in what XNU does with a dongle that _doesn't_ show in lsusb
#asahi-dev · 2022-03-07 11:09
svenno
#asahi-dev · 2022-03-07 10:34
svenand i really don't want to read the USB spec to figure out ;)
#asahi-dev · 2022-03-07 10:34
svenhrm, maybe they just don't exist and for some reason need a usb interface? i wonder why though
#asahi-dev · 2022-03-07 10:06
sven*the same as
#asahi-dev · 2022-03-07 10:06
svenno, it's the as my adapter then i guess
#asahi-dev · 2022-03-07 09:53
svenanything that has a working usb c port, yes
#asahi-dev · 2022-03-07 09:52
svenif nothing shows up it's dumb enough
#asahi-dev · 2022-03-07 09:52
svenplug it into a linux machine and take a look at lsusb :)
#asahi-dev · 2022-03-07 09:48
svenerm, *usb-c->hdmi
#asahi-dev · 2022-03-07 09:48
svendoes anyone have a t8103 and a dumb displayport cable? my dp->hdmi adapter apparently also shows up as a usb device but i'd like to see XNU's serial output when just a display port connection is established and these bootargs are present: https://f.svpe.de/877e608ff9591ec7cd32455634816d18b927189f8bf8571230295e2b6a16e4fd_usb-debugargs.txt
#asahi-dev · 2022-03-06 19:06
sventhey don't have robh to make sure those bindings are sane :-)
#asahi-dev · 2022-03-06 19:06
svenyup, the ADT at times feels like a big hack :D
#asahi-dev · 2022-03-05 21:41
sven+d
#asahi-dev · 2022-03-05 21:41
svenouch. that essentially means “don’t powergate DCP” which is probably require because DCP isn’t completely shut down
#asahi-dev · 2022-03-05 14:43
sven:>

plus ›