Mimoja uploaded patch set #9 to this change.

View Change

lib/coreboot_table: Show splashscreen in lb_table_init

Every vga init implementation needs to cache the framebuffer state
to be able to fill the lb_framebuffer struct later on in the
fill_lb_framebuffer call.

Showing the bootsplash afterwards guarantees to have the same interface
into all the vga drivers.

This is by far from ideal, as it only allows for a single driver at
compile-time and should be adapted in the future.

This was tested tested on the wip razer blade stealth using vgabios @ 1280x1024
It was also tested in Qemu @ 1280x1024

By default the qemu framebuffer will be initialized in 800x600@32.
This can be overwriten by configuration by setting
CONFIG_DRIVERS_EMULATION_QEMU_BOCHS_{X,Y}RES .

The same code does not work on the cirrus vga, as it only shows
a white screen - more investigation will be required.

Change-Id: I4bec06d22423627e8f429c4b47e0dc9920f1464e
Signed-off-by: Johanna Schander <coreboot@mimoja.de>
---
M src/device/Kconfig
M src/device/pci_device.c
M src/include/bootsplash.h
M src/lib/bootsplash.c
M src/lib/coreboot_table.c
5 files changed, 26 insertions(+), 38 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/34599/9

To view, visit change 34599. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4bec06d22423627e8f429c4b47e0dc9920f1464e
Gerrit-Change-Number: 34599
Gerrit-PatchSet: 9
Gerrit-Owner: Mimoja <coreboot@mimoja.de>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Mimoja <coreboot@mimoja.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Gerd Hoffmann <kraxel@redhat.com>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-MessageType: newpatchset