]> xenbits.xensource.com Git - seabios.git/commit
SeaVGABios/cbvga: Advertise correct pixel format
authorPatrick Rudolph <siro@das-labor.org>
Mon, 29 May 2017 17:25:10 +0000 (19:25 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 12 Jun 2017 19:10:05 +0000 (15:10 -0400)
commit4b42cc4b31f682214ab473838f0de0584f58cba8
tree4762eb88fb50309ce113d9c6be740916d3f69e25
parent58953eb793b7f43f9cbb72bd7802922746235266
SeaVGABios/cbvga: Advertise correct pixel format

Accumulate the pixel format's bits instead relying on coreboot's
bits_per_pixel, which says nothing about the active pixel format.

Allows VBE to correctly advertise XRGB8 and BGRX8 framebuffer formats,
commonly used by coreboot.

Fixes at least Windows Bootloader and gfxboot.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
vgasrc/cbvga.c