kettenis has joined #asahi-dev
___nick___ has joined #asahi-dev
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi-dev
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi-dev
akemin_dayo has quit [Ping timeout: 480 seconds]
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi-dev
akemin_dayo has joined #asahi-dev
Benjamin2365 has joined #asahi-dev
Benjamin2365 has quit [Quit: Page closed]
kettenis has quit [Ping timeout: 480 seconds]
abilash1994[m] has joined #asahi-dev
kettenis has joined #asahi-dev
Tom__ has joined #asahi-dev
StupidYui has quit [Ping timeout: 480 seconds]
<
alyssa>
this was an interesting read (and from there, the upstream blog post)
<
alyssa>
TL;DR macOS userspace with private APIs can access the i2c bus for the type-c display but not the hdmi port
<
alyssa>
sven: re dcpext crossbar on the two type-c ports, that's literally modeled in the ADT whoops
<
alyssa>
display-crossbar0, atc0-dpxbar, atc0-dpphy, atc0-dpin0, atc0-dpin1, ...same but atc2
nsklaus_ has joined #asahi-dev
<
sven>
alyssa: ohh.. so it's your problem again? :>
<
alyssa>
sven: atc definitely sounds like your problem
<
alyssa>
but display-crossbar sounds like mine
<
alyssa>
so it's a team problem? 😋
method_ has joined #asahi-dev
Method has quit [Ping timeout: 480 seconds]
aleasto has quit [Remote host closed the connection]
psykose has quit [Remote host closed the connection]
boardwalk has joined #asahi-dev
nsklaus_ has quit [Quit: WeeChat 3.2]
bpye has joined #asahi-dev
nsklaus has joined #asahi-dev
yrlf has joined #asahi-dev
akemin_dayo has quit [Ping timeout: 480 seconds]
ella-0[m] has quit [Ping timeout: 480 seconds]
<
alyssa>
`ioreg -l` is a treasure trove
ella-0[m] has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
<
alyssa>
been staring at the ioreg for DCP stuff for a little while now, feel comfortable with all this property stuff now
<
alyssa>
mode setting is easy enough:
<
alyssa>
the TimingElements array has an entry for each mode
<
alyssa>
TimingElements[i].HorizontalAttributes.Active
<
alyssa>
TimingElements[i].VerticleAttributes.Active
<
alyssa>
is your resolution
<
alyssa>
and then TimingElements[i].ColorModes is an array of colour modes, which the DCP helpfully scores for you
<
alyssa>
So pick j maximizing TimingElements[i].ColorModes[j].Score
<
alyssa>
and then the modeset is as simple as
<
alyssa>
set_digital_out_mode(TimingElements[i].ColorModes[j].ID, TimingElements[i].ID)