#
✕ nick:sven
#asahi-dev · 2022-08-29 17:24
svenjust to confirm, it comes up with the full 5k resolution on the m1?
#asahi-dev · 2022-08-29 17:23
svenhrm, i'm quite surprised that it works at all on the M1
#asahi-dev · 2022-08-29 17:21
svenit's just a usb3 device that needs a driver which sends the framebuffer over some proprietary protocol
#asahi-dev · 2022-08-29 17:21
svenBastian[m]: yes, display link doesn't use DP altmode or DP tunneling at all
#asahi-dev · 2022-08-29 17:20
svenhuh, yeah. if it's definitely multi-stream that would be very interesting
#asahi-dev · 2022-08-29 17:17
svenif it works on the m1 it's likely just a single stream and i can test that myself
#asahi-dev · 2022-08-29 17:17
svenbut i'm mostly interested in what happens on pro/max with two display streams going over a single atcphy port
#asahi-dev · 2022-08-29 17:17
svenmight be still interesting to see
#asahi-dev · 2022-08-29 17:14
svenI neither have a studio display nor a pro/max though :D
#asahi-dev · 2022-08-29 17:14
svenyeah, that should work as well
#asahi-dev · 2022-08-29 17:14
svendoes 5k always require 2 separate dp streams?
#asahi-dev · 2022-08-29 17:13
svenI'd like to see two screens on a single usb4 connection
#asahi-dev · 2022-08-29 17:13
svena single one isn't enough
#asahi-dev · 2022-08-29 17:12
sveni think thunderbolt 3 is similar enough to usb4
#asahi-dev · 2022-08-29 17:11
svenmarcan: ^-- can you maybe try to connect two external screens via a single usb4 dock on the pro/max and trace the crossbar?
#asahi-dev · 2022-08-29 17:10
svenyup, so dpin is definitely USB4 tunneling
#asahi-dev · 2022-08-29 17:10
sven[cpu4] [XBarTracer@/arm-io/atc1-dpxbar] MMIO: W.4 OUT_N_CLK_EN = 0x110 (DPIN0=0, DPIN1=1, DPPHY=1)
#asahi-dev · 2022-08-29 17:09
svenoh. wait. i think i can actually test that myself on the M1
#asahi-dev · 2022-08-29 17:07
svenwould also be nice to confirm dpin0/1
#asahi-dev · 2022-08-29 17:06
svencan you connect a single external screen via that dock?
#asahi-dev · 2022-08-29 17:06
sven:(
#asahi-dev · 2022-08-29 15:08
sveni'm pretty sure I know what will happen (PCLK1/2 get enabled and then two dispexts are routed to dpin0/1) but I'd like to confirm that
#asahi-dev · 2022-08-29 15:08
svencan somehow maybe run a tracer with that while connecting two displays via a single usb4 dock?
#asahi-dev · 2022-08-29 15:07
svenhttps://f.svpe.de/3be6aa094d28445bc10642f1946472a8bba0b64d8e183085478cc9175444742d_atc_dpxbar.py those should be all crossbar regs
#asahi-dev · 2022-08-29 10:31
svenyeah, so mostly just follow those guides then. they should explain everything that's required
#asahi-dev · 2022-08-29 10:30
svenyou'll want https://github.com/AsahiLinux/docs/wiki/SW%3AHypervisor for running macos under the hv
#asahi-dev · 2022-08-29 10:30
svenhrm, wait. no.
#asahi-dev · 2022-08-29 10:30
svenoh, and it also mentions the hypervisor at the end to trace what macos is doing
#asahi-dev · 2022-08-29 10:30
svenhttps://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29 that's probably a good start for how to quickly launch new kernels
#asahi-dev · 2022-08-29 10:26
svenwhat are you trying to do exactly?
#asahi-dev · 2022-08-29 10:20
sveni'm still confused what you are trying to do
#asahi-dev · 2022-08-29 10:19
svenmost people use a second linux machine
#asahi-dev · 2022-08-29 10:19
svenuh, are you sure?
#asahi-dev · 2022-08-29 10:18
svenyeah, because wifi and pcie will break if you enable that
#asahi-dev · 2022-08-29 10:04
sventhat also reminds me that I wanted to look at that firmware to see if it's literally a co-processor that polls HW regs to pretend that they actually support DMA
#asahi-dev · 2022-08-29 10:03
svenoh, so we might actually need a SIO DMA driver in linux?
#asahi-dev · 2022-08-29 10:03
svenso there's nothing in the driver
#asahi-dev · 2022-08-29 10:03
svenyeah, we don't know how that routing works yet
#asahi-dev · 2022-08-29 07:49
svendual external screen is the only thing that makes me want to upgrade my mba
#asahi-dev · 2022-08-29 07:48
svenI’m going to be very happy if this works out
#asahi-dev · 2022-08-29 07:48
svenim
#asahi-dev · 2022-08-29 07:48
sven:>
#asahi-dev · 2022-08-29 07:41
sven*some
#asahi-dev · 2022-08-29 07:41
svenhrm, so if DCP.bin knows about core0/1 the firmware should have sone support for it, shouldn’t it?
#asahi-dev · 2022-08-29 07:36
svenit's unfortunately one of the few registers where they don't just give us the name/fields in debug strings
#asahi-dev · 2022-08-29 07:36
svenyeah, could be
#asahi-dev · 2022-08-29 07:35
svenboth are always set to the same value
#asahi-dev · 2022-08-29 07:35
svenfor dpphy the mux control has two fields, DPPHY_SELECT0 = 23, 20, E_DISPEXT and DPPHY_SELECT1 = 11, 8, E_DISPEXT
#asahi-dev · 2022-08-29 07:34
svenah, makes sense I guess
#asahi-dev · 2022-08-29 07:31
svendptx,lpdptx <-- any idea what lpdptx means?

plus ›