#
#asahi-dev · 2023-02-11 09:20
jannauthat's at least something we can compare with macos traces
#asahi-dev · 2023-02-11 09:19
jannauI'm not sure if it's going to work in m1n1 with the iboot interface. I've moved on to working on the dcp driver/linux
#asahi-dev · 2023-02-11 09:13
chadmedah okay
#asahi-dev · 2023-02-11 09:13
jannauchadmed: no, I haven't got hdmi to work yet
#asahi-dev · 2023-02-11 09:11
chadmedjannau: does the latest m1n1 source have m2 mac mini hdmi out merged in yet?
#asahi-dev · 2023-02-10 22:56
alyssathere's a spec that i'm scared of, hardly a lullaby
#asahi-dev · 2023-02-10 22:55
alyssapovik: somewhere over the rainbow, HDMI
#asahi-dev · 2023-02-10 21:41
mpspovik: OT but this book is very good, read it when you find time
#asahi-dev · 2023-02-10 21:37
povikit just happens to be what i have on disk
#asahi-dev · 2023-02-10 21:37
povikactually, i am not familiar with the book :D
#asahi-dev · 2023-02-10 21:22
j`eypovik: follow the yellow hdmi road!
#asahi-dev · 2023-02-10 21:15
povikbut the sio driver is coming into shape at least
#asahi-dev · 2023-02-10 21:15
poviki am making the requisite dcp calls from userspace over debugfs, so still a lot of work remaining
#asahi-dev · 2023-02-10 21:14
povikgood news, the fake dma works!
#asahi-dev · 2023-02-10 21:14
povikgot an audiobook version of 'the wizard of oz' playing over hdmi from asahi
#asahi-dev · 2023-02-10 20:12
jannauChaosPrincess: fixed
#asahi-dev · 2023-02-10 19:59
ChaosPrincessjannau: some nitpicks on that pr, but in general looks good, will you fix those yourself, or do you want me to make the changes and merge?
#asahi-dev · 2023-02-10 19:54
povikhad to patch the pwrstate driver to the same effect
#asahi-dev · 2023-02-10 19:54
povikthanks, that may come useful
#asahi-dev · 2023-02-10 19:51
jannausio <-> spi hid, kernel cmd line parameter pd_ignore_unused is useful when you suspect power related issue
#asahi-dev · 2023-02-10 19:49
povikSPI_P, out of all domains...
#asahi-dev · 2023-02-10 19:49
povikdon't ask how much time getting to that root cause cost me...
#asahi-dev · 2023-02-10 19:48
poviksio firmware serrors out if you trigger a dpaudio transfer, and the *SPI_P* power domain is disabled
#asahi-dev · 2023-02-10 19:48
povikaaaaargh
#asahi-dev · 2023-02-10 18:16
as400jannau: yes it is
#asahi-dev · 2023-02-10 18:08
jannauis bluez installed in the minimal image?
#asahi-dev · 2023-02-10 16:32
ChaosPrincessdone
#asahi-dev · 2023-02-10 16:29
jannauChaosPrincess: missing 'license = "MIT"' in Cargo.toml
#asahi-dev · 2023-02-10 16:26
jannauthanks
#asahi-dev · 2023-02-10 16:26
ChaosPrincessdone
#asahi-dev · 2023-02-10 16:25
jannauMIT is also the most popular among the dependencies
#asahi-dev · 2023-02-10 16:20
jannauI don't care. we use MIT for most sw if there are no external requirements
#asahi-dev · 2023-02-10 16:17
ChaosPrincesswhich one would you want?
#asahi-dev · 2023-02-10 16:17
jannauChaosPrincess: please add a LICENSE to asahi-nvram. I'd like to package it for asahi and integrate the bt device/key syncing
#asahi-dev · 2023-02-10 15:09
svenand I cursed C multiple times while writing it due to that slightly awkward ring buffer
#asahi-dev · 2023-02-10 15:08
svenyeah, that implementation was required for dptx
#asahi-dev · 2023-02-10 14:37
jannaulatest rebase is in https://github.com/jannau/linux/tree/asahi-6.2-rc3-7_dp-altmode-wip
#asahi-dev · 2023-02-10 14:36
povikshould have checked first :/
#asahi-dev · 2023-02-10 14:36
povikah...
#asahi-dev · 2023-02-10 14:36
jannaupovik: sven already implemented epic for dcpext
#asahi-dev · 2023-02-10 14:35
poviknow it occurred to mey that one of you, jannau or sven, could have already done the same in bringing up dcpext
#asahi-dev · 2023-02-10 14:35
poviki started implementing epic in kernel's dcp driver to get to the audio interface
#asahi-dev · 2023-02-10 11:27
jannaubt pairing key import from nvram works but needs for some reason an explicit `bluetoothctl connect $MAC`
#asahi-dev · 2023-02-10 11:13
linaarnd: Yeah, this is a fatal error path anyway so __packed makes perfect sense ^^
#asahi-dev · 2023-02-10 08:08
arndI usually tell driver writers to avoid __packed annotations because it makes accesses more expensive when the structure is known to be aligned, but here is sounds like the right thing to do
#asahi-dev · 2023-02-10 08:07
arndlina: actually just marking the structures as __packed (with a comment) should be sufficient to make the compiler do the right thing for unaligned access on all theoretical target architectures
#asahi-dev · 2023-02-10 07:14
arndlina: ah, makes sense. Accessing the pointer would be good I think. Maybe use get_unaligned() for reading the data then, it's only a few words anyway so it shouldn't clutter up the code too much, and it will document why it's done
#asahi-dev · 2023-02-09 23:39
linaarnd: I think I did that to avoid alignment issues, but at least on arm64 that shouldn't matter... I can replace it with a pointer if you want
#asahi-dev · 2023-02-09 22:08
svenluckily so far we almost never had to actually reverse engineer any firmware
#asahi-dev · 2023-02-09 21:43
eilni recall the isp firmware was extremely large

plus ›