From: Patrick Rudolph Date: Mon, 29 May 2017 17:25:13 +0000 (+0200) Subject: SeaVGABios/cbvga: Use active mode to clear screen X-Git-Tag: rel-1.11.0~28 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6b69446de71a6f8a472798a38c08881ec42a8518;p=people%2Fandrewcoop%2Fseabios.git SeaVGABios/cbvga: Use active mode to clear screen As coreboot framebuffer is immutable always use CBmodeinfo. Signed-off-by: Patrick Rudolph --- diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c index 417ade3..4b7cd0e 100644 --- a/vgasrc/cbvga.c +++ b/vgasrc/cbvga.c @@ -105,7 +105,7 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags) return 0; } struct gfx_op op; - init_gfx_op(&op, vmode_g); + init_gfx_op(&op, &CBmodeinfo); op.x = op.y = 0; op.xlen = GET_GLOBAL(CBmodeinfo.width); op.ylen = GET_GLOBAL(CBmodeinfo.height);