#asahi-dev · 2021-08-30 02:48
alyssaso I can get away with just 0/1 for the two planes or something like that?#asahi-dev · 2021-08-30 02:48
alyssaAlright#asahi-dev · 2021-08-30 02:45
alyssaare those meaningful to the DCP, just debug, just need to be internally consistent, ...?#asahi-dev · 2021-08-30 02:45
alyssamarcan: what are the surface IDs in the swap call?#asahi-dev · 2021-08-30 02:42
alyssaoh, that's in 16.16 fixed point... ok#asahi-dev · 2021-08-30 02:41
alyssaummm that would explain a bit..#asahi-dev · 2021-08-30 02:41
alyssa(0, 0) + 125829120x70778880 --> (0, 0) + 1920x1080#asahi-dev · 2021-08-30 02:36
alyssawonder why this is cutting off#asahi-dev · 2021-08-30 02:36
alyssa[ 54.113366] apple-dcp 231c00000.dcp: RTKit: syslog message: FramebufferDCP.cpp:1824: virtual IOMFBStatus IOMobileFramebuffer::swap_submit_dcp(const IOMFBSwap *, IOMFB::Surface **, const uint32_t *, bool, double, #asahi-dev · 2021-08-30 01:24
alyssa...closing weston causes a kernel oops, but, you know, technicalities..#asahi-dev · 2021-08-30 01:22
alyssaweston is artefact free now, waow :)#asahi-dev · 2021-08-30 01:21
alyssapiped through semi-fake vblanks, so it's less horribly broken now#asahi-dev · 2021-08-29 21:48
alyssafor some very generous definition of works.#asahi-dev · 2021-08-29 21:48
alyssaDCP driver "works"#asahi-dev · 2021-08-29 20:20
alyssait's apurely physical layer issue#asahi-dev · 2021-08-29 20:19
alyssawhich makes sense I think#asahi-dev · 2021-08-29 20:19
alyssa^^ ditto for me#asahi-dev · 2021-08-29 17:31
alyssaok, now why is it broken#asahi-dev · 2021-08-29 17:29
alyssawhat did i do#asahi-dev · 2021-08-29 17:28
alyssaj_ey: thank u#asahi-dev · 2021-08-29 17:27
alyssaand answer seems to be "deferred probing" or maybe just fixing my DT bindings#asahi-dev · 2021-08-29 17:26
alyssaj_ey: this is the one I'm interested in#asahi-dev · 2021-08-29 17:24
alyssaOh, finally :]#asahi-dev · 2021-08-29 17:24
alyssa[ 0.116190] Unable to handle kernel NULL pointer dereference at virtual address 000000000000022c#asahi-dev · 2021-08-29 17:23
alyssaack#asahi-dev · 2021-08-29 17:22
alyssayeah, I am#asahi-dev · 2021-08-29 17:21
alyssavuart works up until then, though#asahi-dev · 2021-08-29 17:21
alyssauh oh#asahi-dev · 2021-08-29 17:21
alyssaGuest exception: EXCEPTION_LOWER/SERROR#asahi-dev · 2021-08-29 17:20
alyssatrying to debug display #asahi-dev · 2021-08-29 17:20
alyssathx#asahi-dev · 2021-08-29 17:20
alyssaack#asahi-dev · 2021-08-29 17:19
alyssalinux kernel command line I mean, in chosen.bootargs#asahi-dev · 2021-08-29 17:18
alyssaj_ey: what cmdline do you use for hv?#asahi-dev · 2021-08-29 15:21
alyssaThat too#asahi-dev · 2021-08-29 15:02
alyssareads the DT spec#asahi-dev · 2021-08-29 15:02
alyssamaybe i'm a nerd :p#asahi-dev · 2021-08-29 15:01
alyssamarcan: yes, but it's kinda interesting seeing it in real apple code#asahi-dev · 2021-08-29 14:01
alyssathis is kinda interesitng#asahi-dev · 2021-08-29 14:01
alyssamarcan: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/cocoa/IOSurface.mm#L197-L212#asahi-dev · 2021-08-29 03:57
alyssa(continued in #asahi-re)#asahi-dev · 2021-08-29 03:57
alyssaand you get 3 as long as you aren't using fancy featur?s/ Dunno#asahi-dev · 2021-08-29 03:56
alyssaUnless DCP has a particular meaning of "blend" (i.e. scaling or CSC or overlapping or something)#asahi-dev · 2021-08-29 03:56
alyssaYeah. I'd say "just firmware, there are 4 in 12.x after all" but that doesn't explain why there seemed to be 3 slots in the registers too..#asahi-dev · 2021-08-29 03:54
alyssamarcan: that explains why you saw macos fuse the cursor into the main fb .... that's the only way to make room for an overlay plane for video compositing, etc#asahi-dev · 2021-08-29 03:53
alyssaOh, that's a bummer :|#asahi-dev · 2021-08-29 03:53
alyssa[syslog] * [UPPipeDCP_H13P.cpp:3320]IOMFB verify_active_surface_count: cannot blend more than 2 layers#asahi-dev · 2021-08-29 03:51
alyssa("layer" in the firmware, based on syslog)#asahi-dev · 2021-08-29 03:51
alyssabit i says whether to enable surface i#asahi-dev · 2021-08-29 03:51
alyssaswap_enabled/swap_completed are bitfields