All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/4] dm: video: Correct color ANSI escape sequence support
@ 2018-02-08 20:47 Heinrich Schuchardt
  2018-02-08 20:47 ` [U-Boot] [PATCH v4 1/4] dm: video: show correct colors in graphical console Heinrich Schuchardt
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Heinrich Schuchardt @ 2018-02-08 20:47 UTC (permalink / raw)
  To: u-boot

Support special rendition code 0 - reset attributes.
Support special rendition code 1 - increased intensity (bold).
Get RGB sequence in pixels right (swap blue and red).
Do not set reserved bits.
Use u32 instead of unsigned for color bit mask.

qemu-system-i386 -display sdl -vga virtio and
qemu-system-i386 -display sdl -vga cirrus
now display the same colors as
qemu-system-i386 -nographic

Testing is possible via

	setenv efi_selftest test output
	bootefi selftest
---
v4:
	Fix a build warning leading to a Travis error.
	Rename a variable.
v3:
	Split single patch up into a series
	Use constants for colors
v2:
	SGR 0 should reset the colors and the attributes.
---

Heinrich Schuchardt (4):
  dm: video: show correct colors in graphical console
  dm: video: correctly clean background in 16bit mode
  dm: video: use constants to refer to colors
  dm: video: support increased intensity (bold)

 drivers/video/vidconsole-uclass.c | 86 ++++++++++++++++++++++++++-------------
 drivers/video/video-uclass.c      | 38 +++++++++++++----
 include/video.h                   | 13 +++++-
 include/video_console.h           | 43 ++++++++++++++++++++
 test/dm/video.c                   |  2 +-
 5 files changed, 142 insertions(+), 40 deletions(-)

-- 
2.14.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-06  9:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 20:47 [U-Boot] [PATCH v4 0/4] dm: video: Correct color ANSI escape sequence support Heinrich Schuchardt
2018-02-08 20:47 ` [U-Boot] [PATCH v4 1/4] dm: video: show correct colors in graphical console Heinrich Schuchardt
2018-02-08 20:47 ` [U-Boot] [PATCH v4 2/4] dm: video: correctly clean background in 16bit mode Heinrich Schuchardt
2018-02-08 20:47 ` [U-Boot] [PATCH v4 3/4] dm: video: use constants to refer to colors Heinrich Schuchardt
2018-02-12 14:35   ` Simon Glass
2018-02-08 20:47 ` [U-Boot] [PATCH v4 4/4] dm: video: support increased intensity (bold) Heinrich Schuchardt
2018-02-09 16:06   ` Simon Glass
2018-03-06  9:16 ` [U-Boot] [PATCH v4 0/4] dm: video: Correct color ANSI escape sequence support Anatolij Gustschin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.