:: commit 2dc49ee73bd2c334039f5079a9e59a1d0c66682f

mintsuki <mintsuki@protonmail.com> — 2021-03-20 11:03

parents: 984986a64d

vbe: Force bpp to 32 when trying EDID else it will never work

diff --git a/stage23/drivers/vbe.c b/stage23/drivers/vbe.c
index 46a8ed5e..a6707128 100644
--- a/stage23/drivers/vbe.c
+++ b/stage23/drivers/vbe.c
@@ -149,6 +149,7 @@ bool init_vbe(struct fb_info *ret,
             if (edid_width && edid_height) {
                 target_width  = edid_width;
                 target_height = edid_height;
+                target_bpp    = 32;
                 print("vbe: EDID detected screen resolution of %ux%u\n",
                       target_width, target_height);
             }
tab: 248 wrap: offon