#
✕ nick:_jannau_
#asahi-dev · 2022-10-21 13:15
_jannau_I agree. I should have noticed that as I added the connector state detection for external displays to dcp_link()
#asahi-dev · 2022-10-21 12:55
_jannau_I'd just add an dcp_start(), called from apple_drv when its setup is done
#asahi-dev · 2022-10-21 12:53
_jannau_iomfb_start_rtkit() should probably not be in dcp_probe()
#asahi-dev · 2022-10-21 12:44
_jannau_called from apple_probe_per_dcp()
#asahi-dev · 2022-10-21 12:43
_jannau_sven: that should be set in dcp_link() during probing
#asahi-dev · 2022-10-21 09:26
_jannau_sven: if you think the link setup is stable enough I wouldn't mind if you offload the iomfb debugging to me
#asahi-dev · 2022-10-21 09:17
_jannau_I don't see wha could be the problem though. looks like struct apple_dcp is either invalid or not initialized
#asahi-dev · 2022-10-21 09:10
_jannau_that looks like the setup for dcpext is incomplete
#asahi-dev · 2022-10-20 16:10
_jannau_I think most important missing piece is making the dart page table swap atomic. that one is annoying with the locked TTBR
#asahi-dev · 2022-10-20 16:08
_jannau_yes, I think it would be a good idea to have linux-asahi-dev, I would have proposed linux-asahi-dcp
#asahi-dev · 2022-10-20 15:37
_jannau_DPMS in DCP turns the display (scanout) off as well and should reduce energy use as well
#asahi-dev · 2022-10-20 15:13
_jannau_I guess I should rebase it tonight onto asahi-wip
#asahi-dev · 2022-10-20 15:13
_jannau_we've started. the m1n1 part for iommu mapping is merged
#asahi-dev · 2022-10-20 14:01
_jannau_knows how to "open" the lid with an magnet
#asahi-dev · 2022-10-20 12:53
_jannau_yes
#asahi-dev · 2022-10-20 12:52
_jannau_it seems to be variable, I've seen > 18h of no-dispaly battery run time with the m2 macbook pro (linux), but with sleep >90% bettery charge were lost in ~8h
#asahi-dev · 2022-10-20 08:41
_jannau_marcan: there are also the asahi-scripts PRs from fedora
#asahi-dev · 2022-10-18 15:45
_jannau_predicts the next macbook pros will have a new wifi chipset
#asahi-dev · 2022-10-18 13:57
_jannau_Foxboron: I think it's PE executable embedded compressed data. not sure if compressed offset/size are at constant offsets. it's probably harder to parse compressed kernels
#asahi-dev · 2022-10-18 12:43
_jannau_not sure if we need compression support for EFI_ZBOOT
#asahi-dev · 2022-10-18 12:42
_jannau_compression support isn't that important to us anymore since we ship uncompressed kernels for sd-boot compatibility
#asahi-dev · 2022-10-18 12:26
_jannau_#86 is probably superseeded by #112
#asahi-dev · 2022-10-18 12:24
_jannau_hmm, I never noticed that one. that might not be in the archlinux arm pkgbuild
#asahi-dev · 2022-10-18 12:21
_jannau_there's a config of which modules to to include
#asahi-dev · 2022-10-18 12:20
_jannau_s/march/january/ (30th) https://github.com/archlinux/mkinitcpio/pull/86
#asahi-dev · 2022-10-18 12:19
_jannau_Foxboron: I think there's only a single patch which is as patch in the archlinux arm pkgbuild. It is ignored upstream since march
#asahi-dev · 2022-10-18 08:17
_jannau_no, doesn't help. Are you testing baremetal?
#asahi-dev · 2022-10-18 06:47
_jannau_I count 199 patches on top of v6.0-rc6 ignoring patches in asoc-6.1 (which probably misses a few patches we would have carried)
#asahi-dev · 2022-10-18 06:41
_jannau_I managed with the kde volume applet to set voulme one point quieter on the right channel
#asahi-dev · 2022-10-18 06:40
_jannau_except for the tps6598x i2c irq issue no problems on j493
#asahi-dev · 2022-10-18 06:36
_jannau_asahi-6.0-rc6-1 contained sound/6.1 for dependencies. that was probably around 200 commits
#asahi-dev · 2022-10-17 13:40
_jannau_I don't think it's worth to try to be clever for a package which probably is obsolete in a couple of months
#asahi-dev · 2022-10-17 13:38
_jannau_just using v0.1 and v0.2 like I did with the pkgbuild would be fine imo
#asahi-dev · 2022-10-17 13:32
_jannau_tags in the repo would be nice and we might want to move the repo to AsahiLinux/
#asahi-dev · 2022-10-17 13:26
_jannau_error should probably be ratelimited
#asahi-dev · 2022-10-17 13:24
_jannau_did anyone already build asahi-wip? why wouldn't it be ok to enable multi gen LRU? except for the rc status of the kernel
#asahi-dev · 2022-10-17 10:08
_jannau_update seems to have lost a clk_*_add_action
#asahi-dev · 2022-10-11 15:49
_jannau_yes, only I'm only fixing mismatches between the implementation and drm expectations as I discover them
#asahi-dev · 2022-10-11 15:41
_jannau_I've forward pushed my dcp branch with fixes for multiple crtcs case, probably still broken
#asahi-dev · 2022-10-11 15:36
_jannau_could piodma be a sio like coprocessor which emulates DMA between disp0 and dcp for dcp? Hard to make sense out of piodma otherwise
#asahi-dev · 2022-10-11 15:16
_jannau_sven: do you mean drivers/gpu/host1x/context.c:host1x_memory_context_list_init()
#asahi-dev · 2022-10-11 15:04
_jannau_I'll keep the mappings as iboot left them
#asahi-dev · 2022-10-11 15:03
_jannau_yes, that sounds like good compromise, I'll update the PR tonight
#asahi-dev · 2022-10-11 15:02
_jannau_I've monitored the piodma/dcp mapping left by iboot. It seems to be unused on the mac mini. It's all 0 and is not written to during a whole macos boot/shutdown cycle. macos keeps however the mapping
#asahi-dev · 2022-10-11 14:59
_jannau_marcan: I was thinking if a simpler version would be preferable. It would allow to use the same function for dcpext. Instead of bools in the mapping we would have the aliases. Would result in looking up DT nodes and initializing darts multiple times
#asahi-dev · 2022-10-11 11:42
_jannau_rmk: if it requires significant changes for 6.0 I don't think anyone has looked at it. If you just have issue with PCIe you could have missed to revert https://github.com/AsahiLinux/linux/commit/1bf81f0950b0c1ab6df6555d23505130cb44beef
#asahi-dev · 2022-10-06 11:50
_jannau_nicolas17: tracing the rouch-bar is a little annoying since apple uses an coprocessor (sio) to emulate DMA. best starting point is the keyboard tracer but I stopped looking into it once it was good enough for the keyboard/trackpad
#asahi-dev · 2022-10-06 11:38
_jannau_nicolas17: I think someone started looking ages ago (i.e. m1 macbook pro). touch input appears to be similar to the trackpad. I'm not sure anyone has started looking into the display controller for the touchbar
#asahi-dev · 2022-10-05 11:29
_jannau_I think this is more appropiate in #asahi-alt
#asahi-dev · 2022-10-05 11:28
_jannau_run make oldconfig and possibly enable everything which looks apple related

plus ›