]> git.baikalelectronics.ru Git - uboot.git/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)
commit6987e8a371a0a1d29978e16799da045413e9d2cc
treee82b6a7b2d0f6ff3270f40a616b259c143a04665
parent25f4f4daa5d4cf920b6a24f88ec00afc3e4bff78
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