]> git.sur5r.net Git - u-boot/commit
dm: video: show correct colors in graphical console
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 8 Feb 2018 20:47:09 +0000 (21:47 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 6 Mar 2018 09:00:32 +0000 (10:00 +0100)
commit3aeb0cbe126849bd8aaa332a18b7ab2fe0699c02
treee82b6a7b2d0f6ff3270f40a616b259c143a04665
parent5e62f828256d66e2b28def4f9ef20a2a05c2d04f
dm: video: show correct colors in graphical console

Get RGB sequence in pixels right (swap blue and red).
Do not set reserved bits.

qemu-system-i386 -display sdl -vga virtio and
qemu-system-i386 -display sdl -vga cirrus
now display the similar colors (highlighting still missing) as
qemu-system-i386 -nographic

Testing is possible via

setenv efi_selftest test output
bootefi selftest

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c
test/dm/video.c