[coreboot-gerrit] New patch to review for coreboot: fad3571 qemu: fix cirrus build

Gerd Hoffmann (kraxel@redhat.com) gerrit at coreboot.org
Wed Aug 27 11:26:55 CEST 2014


Gerd Hoffmann (kraxel at redhat.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6771

-gerrit

commit fad3571eb1e0d2f9a4b2bc6e96d307c7feebec11
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Aug 27 11:23:35 2014 +0200

    qemu: fix cirrus build
    
    commit 9518b56ab079f4c12eefe83cc9b4fa24b413ebe8 changed "struct edid"
    and thereby broke the build.  Adapt drivers/emulation/qemu/bochs.c to
    the changes to fix this.
    
    Change-Id: I2d3cecde21d495e9b99ff8d2f741f8a462c75a4d
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/drivers/emulation/qemu/cirrus.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index 5f8a01e..c96e032 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -338,7 +338,9 @@ static void cirrus_init(device_t dev)
 	edid.x_resolution = width;
 	edid.y_resolution = height;
 	edid.bytes_per_line = width * 4;
-	edid.bpp = 32;
+	edid.framebuffer_bits_per_pixel = 32;
+	edid.panel_bits_per_color = 8;
+	edid.panel_bits_per_pixel = 24;
 	set_vbe_mode_info_valid(&edid, addr);
 #else
 	vga_misc_write(0x1);



More information about the coreboot-gerrit mailing list