#
#asahi-dev · 2023-07-09 10:47
jannauyes, I assumed that
#asahi-dev · 2023-07-09 10:44
marcan(this is for eventual HDMI support in the Asahi CI cluster)
#asahi-dev · 2023-07-09 10:44
marcanI ordered a MuxLab 4x4 which sounds like it'll do what I want, worst case I have other use cases for it
#asahi-dev · 2023-07-09 10:44
jannaumarcan: I found a cheap-ish used hdfury vrroom. I can test things when it arrives although I'm not sure how I would verify that the passthrough is fully transparent. their disclaimer about g-sync/freesync sounds it im might not be
#asahi-dev · 2023-07-09 10:40
marcanwhich might happen every frame with aggressive power management
#asahi-dev · 2023-07-09 10:40
marcanydalton: forgetting the firmware when powered down wouldn't surprise me, the DCP M3 coprocessors get reloaded every time too.
#asahi-dev · 2023-07-09 10:39
marcansven: nice :)
#asahi-dev · 2023-07-07 13:50
_jannau__Dynamic Function Row or something else
#asahi-dev · 2023-07-07 13:48
ChaosPrincessscreen, yes
#asahi-dev · 2023-07-07 13:48
arChaosPrincess: that's the touchbar driver?
#asahi-dev · 2023-07-07 13:47
ChaosPrincessmacos drivers are weird sometimes, dfr display driver sends calibration data every frame despite it being constant
#asahi-dev · 2023-07-07 13:39
ydaltonthere's something up with avd, it seems to forget about the firmware because the macOS driver seems to continually keep on resending the firmware
#asahi-dev · 2023-07-07 13:36
ydaltonah alright
#asahi-dev · 2023-07-07 13:36
chadmedit will but theres no guarantee that they will see it
#asahi-dev · 2023-07-07 13:35
ydaltonit says R is "AWAY", my message was still sent right?
#asahi-dev · 2023-07-07 13:32
ydaltonokay, thanks!
#asahi-dev · 2023-07-07 13:31
j`eyydalton: theyre on irc as ArcaneNibble
#asahi-dev · 2023-07-07 13:30
ydaltonchadmed: hi, is there any way i can contact R directly?
#asahi-dev · 2023-07-07 08:44
chadmedwhat happens if someone asks you for an ETA before the deadline :P
#asahi-dev · 2023-07-07 08:28
svenmaybe having something that looks like a deadline can trick me into making that usb mess work :D
#asahi-dev · 2023-07-07 08:27
sventhanks! That’s mostly axboe‘s „fault“ ;)
#asahi-dev · 2023-07-07 08:27
_jannau__https://kernel-recipes.org/en/2023/schedule/apple-silicon-usb-type-c-usb-thunderbolt-and-displayport-support-in-the-kernel/
#asahi-dev · 2023-07-07 08:27
_jannau__congrats
#asahi-dev · 2023-07-07 08:11
mazsven: congrats on making it to kernel recipe!
#asahi-dev · 2023-07-06 16:03
ydaltonhm, i guess since you can upload your own firmware to the AVD coprocessor, i guess it's a pretty expensive arduino lol
#asahi-dev · 2023-07-06 15:47
ydaltonsorry for the multiple lines, idk how to do everything in my IRC client
#asahi-dev · 2023-07-06 15:45
ydalton5. byte 16 counts up from 1, probably the number of different chunks processed
#asahi-dev · 2023-07-06 15:45
ydalton4. the ones that don't seem to cycle between 6 forms
#asahi-dev · 2023-07-06 15:45
ydalton3. a lot of the bytes stay constant between dumps
#asahi-dev · 2023-07-06 15:45
ydalton2. only a few bytes in the frame param dumps are actually relevant: most of them are just zeroed out
#asahi-dev · 2023-07-06 15:45
ydalton1. they are definitely not the decoded video info.
#asahi-dev · 2023-07-06 15:45
ydaltonokay, so i was able to extrapolate a few things from the frame param dumps:
#asahi-dev · 2023-07-06 13:12
chadmedydalton: no problem, have fun
#asahi-dev · 2023-07-06 13:02
ydaltonchadmed: thank you!
#asahi-dev · 2023-07-06 13:02
ydaltonit seems to dump the page tables seemingly every millisecond
#asahi-dev · 2023-07-06 13:01
ydaltonwell, i tried the tracer script (with some tweaks) and it works, it's quite verbose
#asahi-dev · 2023-07-06 12:34
svenso a slightly different name isn’t too unusual
#asahi-dev · 2023-07-06 12:33
svenADTs are also sometimes not very consistent and changes names between xnu releases fwiw
#asahi-dev · 2023-07-06 12:31
chadmedt600x (m1 pro/max/ultra) has two AVDs
#asahi-dev · 2023-07-06 12:31
ydaltondo some models have more than one?
#asahi-dev · 2023-07-06 12:30
ydaltonhm, i see in the script avd is referenced as "/arm-io/avd0" while on mine it's just "/arm-io/avd"
#asahi-dev · 2023-07-06 12:29
chadmedm1n1 knows about the device tree so we can just ask it to retrieve the address for us
#asahi-dev · 2023-07-06 12:29
chadmedyeah, if you have a look at some of the other tracers you can see how we get the base address for whatever we're tracing from the machine
#asahi-dev · 2023-07-06 12:28
ydaltoni.e. not hardcoded in the hv scripts
#asahi-dev · 2023-07-06 12:26
chadmedso that anything you do in m1n1 is maximally portable
#asahi-dev · 2023-07-06 12:26
chadmedyeah and why we reference addresses in mmio as an offset from the base address
#asahi-dev · 2023-07-06 12:25
ydaltonand that is why each device needs its own linux device tree written for it
#asahi-dev · 2023-07-06 12:25
chadmedah
#asahi-dev · 2023-07-06 12:25
ydaltonan m2 air
#asahi-dev · 2023-07-06 12:25
chadmedis your machine an m1 pro/max?

plus ›