#
✕ nick:chaos_princess
#asahi-dev · 2024-09-24 15:36
chaos_princessalso, remind me later today, i might have some of my research notes saved
#asahi-dev · 2024-09-24 15:34
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/drivers/gpu/drm/adp/adp_drv.c#L72 - here are the relevant offsets
#asahi-dev · 2024-09-24 15:33
chaos_princessonly one mmio address there
#asahi-dev · 2024-09-24 15:33
chaos_princessin m1 device trees the relevant one is described as mipi-dsim
#asahi-dev · 2024-09-24 15:31
chaos_princessdo you have a device tree?
#asahi-dev · 2024-09-24 14:55
chaos_princessm1 display should accept a 2 byte command too in theory
#asahi-dev · 2024-09-24 14:55
chaos_princessand fill it from there
#asahi-dev · 2024-09-24 14:55
chaos_princesshttps://github.com/AsahiLinux/linux/blob/bd0a1a7d465fcb60685a2360565ed424bafff354/drivers/gpu/drm/adp/panel-summit.c#L49
#asahi-dev · 2024-09-24 14:55
chaos_princessNo need, just add a of property
#asahi-dev · 2024-09-24 14:53
chaos_princessunfortunately, i do not have the pdf of the version of mipi dcs spec that has that command
#asahi-dev · 2024-09-24 14:53
chaos_princessyea, i guess it has extra bits on primary display, and other devices send 2 bytes there https://elixir.bootlin.com/linux/v6.11/source/drivers/gpu/drm/drm_mipi_dsi.c#L1342
#asahi-dev · 2024-09-21 18:23
chaos_princesstry sending it MIPI_DCS_SET_DISPLAY_OFF or MIPI_DCS_ENTER_IDLE_MODE and see what happens
#asahi-dev · 2024-09-21 18:22
chaos_princessyes, it does
#asahi-dev · 2024-09-21 18:07
chaos_princesswell... on m1 iboot does fully initialize it and it comes up as just a black framebuffer
#asahi-dev · 2024-09-21 17:58
chaos_princessat least on m1, by default it comes up in "free run" mode, where it constantly outputs whatever is in the frame buffer to the screen
#asahi-dev · 2024-09-21 17:58
chaos_princessif you want a way to test, comment out the call that sets fifo enable, and write stuff directly into the framebuffer
#asahi-dev · 2024-09-21 17:53
chaos_princessi think you need to have dart working properly for display pipe, the driver writes translated addresses for the source buffer
#asahi-dev · 2024-09-21 17:48
chaos_princessso it just returns whatever value was last set
#asahi-dev · 2024-09-21 17:48
chaos_princesssummit does not support brightness reporting, i kinda never needed this
#asahi-dev · 2024-09-11 13:33
chaos_princessand also root menu, which seems like it fits, but idk if anything listens for that one
#asahi-dev · 2024-09-11 13:33
chaos_princessoh, for menu i got it wrong, there is menu and context menu
#asahi-dev · 2024-09-11 13:30
chaos_princessthough homepage is also a bit of HID abuse, back in the day some keyboards shipped with a key that opened ie homepage, and it is that
#asahi-dev · 2024-09-11 13:29
chaos_princessiirc home and menu are the literal home button on the keyboard and the contextual menu key from a normal pc keyboard respectively
#asahi-dev · 2024-09-11 11:19
chaos_princesspretty much, the display controller is adp, summit is just for a few extra mipi commands
#asahi-dev · 2024-08-16 19:45
chaos_princessit is either p.mmu_init or u.mmu_init
#asahi-dev · 2024-08-11 10:27
chaos_princessi am not sure as to what exactly are you targeting, flat response, or "consumer-desirable-sound"?
#asahi-dev · 2024-08-11 10:09
chaos_princessi think the new one is a definite improvement at least here https://www.youtube.com/watch?v=0vxx04quIzs around 0:28 and following mark
#asahi-dev · 2024-08-11 08:59
chaos_princess(though i still like the headphone sound better :P)
#asahi-dev · 2024-08-11 08:59
chaos_princessto my very much not audiophile-quality ears - it is better than before.
#asahi-dev · 2024-08-05 11:40
chaos_princessshouldnt the soc shut down on it's own if it trips a certain temp value? Not great ux, but i do not think you can actually melt it with a misconfiguration\
#asahi-dev · 2024-07-08 09:39
chaos_princessyou could probably figure out per-core ones by getting the core to multiply matrices and looking at which one spikes
#asahi-dev · 2024-07-08 09:31
chaos_princessand i take it there is no convenient plist in macos that fixes this mess?
#asahi-dev · 2024-07-08 09:30
chaos_princesswhats up with hwmon sensors?
#asahi-dev · 2024-07-07 09:43
chaos_princess*not tracer, the dcp.py thing in experiments
#asahi-dev · 2024-07-07 09:43
chaos_princessalso, since you were the one who last touched the dcp tracer, do you remember which macos version does it work with?
#asahi-dev · 2024-07-07 09:26
chaos_princessdoes anyone have an archived 13.5 installassistant.pkg? can't find it anywhere
#asahi-dev · 2024-07-06 22:28
chaos_princessi think the "cancelled, sorry no refunds" won't fly in eu even for flights
#asahi-dev · 2024-07-06 22:25
chaos_princessa few days ago i was taking a train and somehow ended up in the same car with a bunch of techbros, all in t-shirts with various shitcoin logos on them and discussing ai nonsense. Was really jealous of monolingual people that day.
#asahi-dev · 2024-07-06 22:18
chaos_princesstreating a stochastic parrot as a mechanical god, i wonder if all those 'ai will let everyone code' people actually ever tried it.
#asahi-dev · 2024-06-22 09:51
chaos_princessjannau: if you have time, would you mind merging https://github.com/AsahiLinux/m1n1/pull/384
#asahi-dev · 2024-03-02 09:10
chaos_princessalso tried out plasma 6 yesterday, it also felt "off" (i think it is microstuttering) and there were other issues like sddm being broken with kwin_wayland, sddm not loading the breeze theme with x11, and task manager crashing upon right clicking icons
#asahi-dev · 2024-02-15 21:22
chaos_princessbasically, do not touch the first and last partition under any circumstances
#asahi-dev · 2024-02-15 21:22
chaos_princesswiping the disk on this platform is kinda similar to wiping the bios chip on a x86 machine, it will be rendered unbootable and you will need to use a separate machine to recover it.
#asahi-dev · 2024-02-15 21:21
chaos_princessyou absolutely must not wipe the disk
#asahi-dev · 2024-02-11 19:36
chaos_princessor start the installer on macos, kill it once it finishes downloading, then grab the binary from /tmp
#asahi-dev · 2024-01-21 11:09
chaos_princesseiln: unfortunately the answer is "you don't", you need to figure out which specific als model is present via a separate aop subdevice, and then hardcode it.
#asahi-dev · 2024-01-12 22:58
chaos_princessDon't even remember where that came from, and i dont think it's required.
#asahi-dev · 2024-01-12 22:47
chaos_princessSomething like that. I haven't seen macos use anything other than 0x2001
#asahi-dev · 2024-01-12 22:20
chaos_princessYou can queue up a bunch of register writes via the fifo and it will apply all of them. I do not use this feature in the linux driver.
#asahi-dev · 2023-12-20 21:28
chaos_princessi'd say dcp is a bit more stable-ish, since they have their cursed rpc protocol and some items are serialized dicts and not just bags of bytes.

plus ›