#asahi-dev · 2021-09-11 17:49
alyssanot in the mood to go poking at manager.py further but yeah.#asahi-dev · 2021-09-11 17:49
alyssathe one wrinkle to doing this in dcp.py is that hotPlug_notify_gated comes in on the ASYNC channel, so we need to issue the modeset on the CMD channel (whereas m1n1 will incorrectly see we're in a callback and then use the CB channel)#asahi-dev · 2021-09-11 17:48
alyssawhere foo and bar are from the big dict which is resent on hotplug#asahi-dev · 2021-09-11 17:48
alyssaso handle hotPlug_notify_gated as "set_display_device(2); set_digital_out_mode(foo, bar);"#asahi-dev · 2021-09-11 17:48
alyssamarcan: As for hotplugging, the idea is that we need to do a mode set anytime the HDMI cable is plugged in, in addition to on boot#asahi-dev · 2021-09-11 00:47
alyssayeah ok setPowerState fixes it#asahi-dev · 2021-09-11 00:33
alyssamacOS actually does setPowerState#asahi-dev · 2021-09-11 00:26
alyssasystemWillShutdown did not fix the green flash#asahi-dev · 2021-09-10 20:50
alyssaso that is progress indeedily#asahi-dev · 2021-09-10 20:50
alyssaaside -- finally have X11 working in 4K#asahi-dev · 2021-09-10 20:49
alyssathat seems like the most likely hahaha#asahi-dev · 2021-09-10 20:49
alyssa-----oh, or IOMobileFramebufferAP::systemWillShutdown lol#asahi-dev · 2021-09-10 20:49
alyssamaybe IOMobileFramebufferAP::setPowerState#asahi-dev · 2021-09-10 20:48
alyssaanyway it's a bit annoying and I'm assuming I just need to call, uhh#asahi-dev · 2021-09-10 20:44
alyssaI'm noticing my monitor flashing green for 0.1s while rebooting -- probably unmapping framebuffer memory or something and crashing the DCP right before the whole machine goes down#asahi-dev · 2021-09-10 20:44
alyssamarcan: is there a special DCP power off sequence?#asahi-dev · 2021-09-03 21:19
alyssamarcan: they should donate to you just so they can stop donating a month later and fill out an exit survey, really stick it to you! :p#asahi-dev · 2021-09-02 22:49
alyssaPick one: true/false#asahi-dev · 2021-09-02 22:49
alyssa bool?#asahi-dev · 2021-09-02 22:23
alyssathat's why they're, you know, tools#asahi-dev · 2021-09-02 22:23
alyssaAriadne: ? tools are useful though#asahi-dev · 2021-09-01 04:09
alyssaHello from my M1 in 4k#asahi-dev · 2021-09-01 04:06
alyssa"stream 0 not free" ugh X11 please#asahi-dev · 2021-09-01 03:56
alyssaglad I implenmented all that printk lol#asahi-dev · 2021-09-01 03:55
alyssawait no, ended up with an actual null surface. wat?!#asahi-dev · 2021-09-01 03:55
alyssaDefinitely failing to disable the plane.#asahi-dev · 2021-09-01 03:55
alyssa[ 42.625008] apple-dart 231304000.dart: translation fault: status:0x80000002 stream:0 code:0x2 (NO PMD FOR IOVA) at 0x0#asahi-dev · 2021-09-01 03:53
alyssaHum, cursor seems fixed but faulting does not#asahi-dev · 2021-09-01 03:49
alyssaMaybe. let's see#asahi-dev · 2021-09-01 03:47
alyssaalong with a null surface#asahi-dev · 2021-09-01 03:47
alyssapossible bit 31 and the cleared bit L in swap_enabled and completed#asahi-dev · 2021-09-01 03:47
alyssawait i think i found it#asahi-dev · 2021-09-01 03:25
alyssaso much data#asahi-dev · 2021-09-01 03:24
alyssaok, have massive amounts of hypervisor logs, let's see if the answers i seek are here#asahi-dev · 2021-09-01 03:10
alyssaoh, there it goes#asahi-dev · 2021-09-01 03:09
alyssaand now my hypervisor won't work#asahi-dev · 2021-09-01 03:04
alyssaerg, how do I turn off a surface :|#asahi-dev · 2021-09-01 02:56
alyssa(in dcp.py, I mean)#asahi-dev · 2021-09-01 02:56
alyssaget a key error in self.in_struct.build#asahi-dev · 2021-09-01 02:56
alyssamarcan: doesn't look like I can specify None for io surfaces#asahi-dev · 2021-08-30 03:03
alyssa👍#asahi-dev · 2021-08-30 02:52
alyssaSure, okay#asahi-dev · 2021-08-30 02:52
alyssa"lClock" eh?#asahi-dev · 2021-08-30 02:52
alyssart bandwidth is clearly a structure, not a single thing#asahi-dev · 2021-08-30 02:51
alyssaGroan.#asahi-dev · 2021-08-30 02:49
alyssaYeah, I would totally believe Apple serializing things that are used by macOS but not the DCP just because it's in their IOSurface class..#asahi-dev · 2021-08-30 02:48
alyssaAck#asahi-dev · 2021-08-30 02:48
alyssathe rt bandwidth structure otoh...#asahi-dev · 2021-08-30 02:48
alyssatrying to get rid of the magic numbers in the code and that's an easy one#asahi-dev · 2021-08-30 02:48
alyssa👍