#
✕ nick:jannau
#asahi-dev · 2022-01-16 20:09
jannauthe imac announces just the native mode with almost a 12M pixel display
#asahi-dev · 2022-01-16 20:07
jannaumight be beneficial to shrink the fb and configure 2x upscaling for high DPI displays
#asahi-dev · 2022-01-16 01:21
jannauno problem, I'll spend some time to improve it
#asahi-dev · 2022-01-16 01:12
jannauthey help a little with embedding struct dcp_swap_submit_req_11_4 and dcp_swap_submit_req_12_0 in struct apple_dcp
#asahi-dev · 2022-01-16 01:07
jannauI fear there is none, make the structs version dependent and use unions if they are embedded
#asahi-dev · 2022-01-16 01:05
jannauyes, the pointer tables are reasonable, the struct changes are more annoying
#asahi-dev · 2022-01-16 01:03
jannauI was considering if I should keep the 11.4 to 11.6 support for testing. I postponed that for now
#asahi-dev · 2022-01-16 00:58
jannauwith the installer it's at least somewhat reasonable to add a 11.x install before updating to macos 12.1. it needs 2.5G and a copy of the 11.x kmutil
#asahi-dev · 2022-01-16 00:54
jannaualyssa: it's possible that I broke something or hotplug has to be handled differently with macos 12
#asahi-dev · 2022-01-15 17:22
jannauavoided by marking the best scored mode as preferred
#asahi-dev · 2022-01-15 17:21
jannauXorg working as well now. the modesetting driver selects a random mode without EDID. for some reason 1400x1050 and setting that mode fails
#asahi-dev · 2022-01-15 12:34
jannauhmm, I think the problem is that it tries to set the current mode again and the dcp driver does a swap if the mode does not change
#asahi-dev · 2022-01-15 12:15
jannauI would guess it tries to clear the screen or it's simply how it works. I'm not really familiar with drm/kms internals
#asahi-dev · 2022-01-15 11:11
jannauthe xorg modesetting driver causes swaps without surface which dcp doesn't seem to like
#asahi-dev · 2022-01-15 01:09
jannauexperiments/dcp.py probably misses just a setPowerState to work with 12.0 final and 12.1
#asahi-dev · 2022-01-15 01:08
jannausigh, so the complexity might a valid reason to remove hdmi initialization from iboot
#asahi-dev · 2022-01-15 00:55
jannauI tried with to create the boot policy but I don't think I tried bputil -r
#asahi-dev · 2022-01-15 00:54
jannaunow that the dcp driver "works" on 12.0 final and 12.1 my interest in 12.0 beta releases has vanished
#asahi-dev · 2022-01-15 00:03
jannauporting involved just updating the API to the one documented in m1n1's tracer and powering the output on
#asahi-dev · 2022-01-15 00:00
jannauprobably works only on mac minis
#asahi-dev · 2022-01-15 00:00
jannauhttps://github.com/jannau/linux/tree/asahi-dcp - experimental, I could not mount the root fs with macos 12.0.1 for errors which looked like memory corruption
#asahi-dev · 2022-01-14 23:27
jannaumacos 12.1 seems to work as well
#asahi-dev · 2022-01-14 22:38
jannauidentical dcp API as the beta m1n1's tracer is build on
#asahi-dev · 2022-01-14 22:36
jannauyeah! working dcp (mac mini hdmi out) with macos 12.0
#asahi-dev · 2022-01-11 18:43
jannaudoes verbose 1 logs something which is not logged at 2/3?
#asahi-dev · 2022-01-11 08:36
jannauplease take the two fixes commits from https://github.com/jannau/linux/commits/bits/090-spi-hid for bits/090-spi-hid when it's convenient
#asahi-dev · 2022-01-11 08:36
jannaumarcan: I guess we still need to rebase the bits/* branches from time to time
#asahi-dev · 2022-01-08 20:25
jannauChaosPrincess: does tracing of spi3 work? did you adept it to the mbp 13" adt?
#asahi-dev · 2022-01-08 14:50
jannauI've tried if the macos driver falls back to non-DMA if the "dam-parent" and "dma-channel" properties are removed but it didn't work for the keyboard/trackpad
#asahi-dev · 2022-01-08 14:26
jannauChaosPrincess: I've updated https://github.com/jannau/m1n1/tree/keyboard_tracer with my latest state, very hacky, not recently tested
#asahi-dev · 2022-01-08 13:44
jannauI have a updated version of spi tracer locally
#asahi-dev · 2022-01-08 13:44
jannauthose go together, the dma-channels are used in the SIO messages
#asahi-dev · 2022-01-08 13:42
jannaua spi tracer is in https://github.com/AsahiLinux/m1n1/pull/131
#asahi-dev · 2022-01-08 13:41
jannauI haven't yet figured out how the SIO setup works, I was however able to see the transfers with the regmonitor
#asahi-dev · 2022-01-08 13:38
jannauChaosPrincess: it's complicated (at least for spi3) as the macos driver uses "DMA" over SIO
#asahi-dev · 2022-01-08 13:08
jannaunew asahi branch seems to work fine on m1 max and mac mini (booted through linux.py)
#asahi-dev · 2022-01-08 10:58
jannauthere are a couple of recent patches for hid-apple and hid-magicmouse. I haven't checked whether they are already in linux-next. if they are I expect them to conflict with this series
#asahi-dev · 2022-01-08 10:55
jannaumarcan: please replace the spi hid patches with https://github.com/jannau/linux/tree/dev/spi-hid-apple
#asahi-dev · 2022-01-06 11:49
jannaumarcan: u-boot has smc support and enables the brcm devices
#asahi-dev · 2022-01-05 12:15
jannauwe should at least not report that SAE offloading is supported if it doesn't work
#asahi-dev · 2022-01-05 12:12
jannaubut according to the article it ight not be specific to apple's firmware
#asahi-dev · 2022-01-05 12:07
jannaumarcan: iwd uses SAE offload and it fails immediately
#asahi-dev · 2022-01-03 11:18
jannaureducing the debug spam was a nice side effect
#asahi-dev · 2022-01-03 11:18
jannauwell, I removed them because I remembered you said they cause the device not initiated without 'u-boot,dm-pre-reloc'. I wasn't aware that it's only a problem with the pmgr driver in u-boot
#asahi-dev · 2022-01-03 11:12
jannauyes
#asahi-dev · 2022-01-03 11:10
jannauis hat also needed when all power-domains are removed?
#asahi-dev · 2022-01-03 11:09
jannauyes, I enabled device model debugging output
#asahi-dev · 2022-01-03 10:57
jannaukettenis: is 'Device 'serial@39b200000' failed to configure default pinctrl: -19' expected? I'm already using a patched dtb with power-management/power-domains removed
#asahi-dev · 2021-12-31 11:55
jannauincreasing get_page_table_size() up to 8M does not make a difference
#asahi-dev · 2021-12-31 11:54
jannauyes, it makes it to build_mem_map() and memory and framebuffer address/size are correct

plus ›