#asahi · 2022-03-27 09:44
marcanyou didn't say "once it's done", you said "if you have"#asahi · 2022-03-27 09:43
marcanbecause then chainloading xnu will work as intended#asahi · 2022-03-27 09:43
marcanactually we might want to just outright mutate the ADT at that point, and point /vram at the new location, and just accept the loss of the old vram#asahi · 2022-03-27 09:42
marcanand unmap the old FB *after* the swap completes, regardless of what direction we go in#asahi · 2022-03-27 09:41
marcanso that's easy then, make display.c use that if it's available and the new mode fits in it, otherwise allocate, map, and clear a new one before the swap, pulling from the top of RAM (which nothing else does, so that should be safe)#asahi · 2022-03-27 09:40
marcan/vram is the bootfb area#asahi · 2022-03-27 09:40
marcanit's the same base#asahi · 2022-03-27 09:40
marcanthen yeah, I think that's just the framebuffer#asahi · 2022-03-27 09:40
marcanI was looking at the wrong buffer#asahi · 2022-03-27 09:39
marcanit *is* /vram#asahi · 2022-03-27 09:39
marcanoh I'm dumb, sorry#asahi · 2022-03-27 09:39
marcanwait hold on#asahi · 2022-03-27 09:38
marcandoes it contain anything?#asahi · 2022-03-27 09:38
marcanjannau: yeah, so I wonder what it is#asahi · 2022-03-27 09:38
marcanGlanzmann: you really need to stop asking people for patches that aren't done yet, especially when we literally just had a merge conflict here...#asahi · 2022-03-27 09:37
marcanwhile my FB is at 0x9e6213000#asahi · 2022-03-27 09:37
marcan0x9e3a18000..0x9e4f18000 is what I get for /vram#asahi · 2022-03-27 09:37
marcanusually just some block set aside for something special#asahi · 2022-03-27 09:36
marcanjust memory#asahi · 2022-03-27 09:36
marcanjannau: looks like the preallocated fb is outside /vram?#asahi · 2022-03-27 09:30
marcanI guess the sane thing to do is to give up on the "search the DART for the framebuffer" business and just carve our own FB off the top of RAM unconditionally, though it would be nice to somehow figure out how to unmap those leftover IOVAs so they don't pollute the DART unnecessarily#asahi · 2022-03-27 09:28
marcando we have (unmapped) reserved VRAM for larger FBs, or do we need to steal some of main RAM?#asahi · 2022-03-27 09:27
marcanbut 1920x1080 is a bit ew, 16:10 monitors are a thing#asahi · 2022-03-27 09:27
marcanhm, if it were 1920x1200 I'd say we can live without reallocation for now#asahi · 2022-03-27 09:26
marcanalso oops, sorry :<#asahi · 2022-03-27 09:25
marcanyeah, I noticed#asahi · 2022-03-27 09:24
marcannot yet#asahi · 2022-03-27 09:24
marcanit isn't#asahi · 2022-03-27 09:20
marcanbest decision I ever made#asahi · 2022-03-27 09:20
marcanyup#asahi · 2022-03-27 09:11
marcanand that will fix the display in stage 2 for people with issues in stage 1, including bad mode selection, and hopefully not really affect anyone else#asahi · 2022-03-27 09:11
marcanso that means I can ship something to update-m1n1 to pull the display= config from /etc/m1n1.conf or whatever, and ship a default config file with "display=auto" in it#asahi · 2022-03-27 09:11
marcanthe good news is doing a DCP init is very fast, and setting the mode to the current mode does not cause a cycle/flicker, and we don't reinit the FB when the mode did not change#asahi · 2022-03-27 09:08
marcanyeeeah.#asahi · 2022-03-27 08:55
marcanfor people with HDMI issues or who want to change the boot time resolution, I have a test thing here: https://github.com/AsahiLinux/m1n1/issues/159#issuecomment-1079882919#asahi · 2022-03-27 06:38
marcanso I guess they picked a smaller size then wanted to expand it later from linux#asahi · 2022-03-27 06:38
marcanthe partition is created at the size you specify by the installer#asahi · 2022-03-27 06:37
marcanbut it won't expand the partition for you, just the filesystem#asahi · 2022-03-27 06:36
marcanyou can turn that off in /etc/fstab, it's a standard systemd thing#asahi · 2022-03-27 06:36
marcanso if they expanded the partition and rebooted that's all it takes#asahi · 2022-03-27 06:36
marcantpw_rules: there's an fstab config to autogrow the fs, yes; it checks on every boot#asahi · 2022-03-26 19:23
marcanmatde[m]: there is only a block diagram concept, the project was never really started#asahi · 2022-03-26 19:03
marcanmatde[m]: it's on the back burner and also kind of blocked on the chip shortage#asahi · 2022-03-26 08:43
marcanthat partition is required even if mostly empty#asahi · 2022-03-26 08:43
marcanSobek[m]: yes#asahi · 2022-03-25 07:44
marcanyou'd think if xorg and kwin/wayland of all things work plymouth should too#asahi · 2022-03-25 07:44
marcanodd, could be a bug#asahi · 2022-03-25 07:43
marcanunless you mean it relies on DRM/KMS features that that doesn't support#asahi · 2022-03-25 07:42
marcanchadmed: we don't? we're using simpledrm, we should#asahi · 2022-03-24 16:42
marcanwrites docs that nobody reads :<