Re: [PATCH v5 0/3] console/fbcon: Add support for deferred console takeover

From: Hans de Goede
Date: Thu Jun 28 2018 - 11:24:57 EST


HI,

On 28-06-18 15:50, Bartlomiej Zolnierkiewicz wrote:
On Thursday, June 28, 2018 11:03:48 AM Hans de Goede wrote:
Hi All,

Here is v5 of my patch-set, to delay fbcon taking over the console (and
binding to fbdev devices) until there actually is some text output to the
console. This is intended for use with the "quiet" cmdline option, in
combination with a bootloader which leaves the vendor's logo /
EFI bootgraphics put up by the firmware intact on the EFI framebuffer.

The end goal here is a boot where the firmware shows its boot graphics
and these stay in place for a couple of seconds until the GUI loads and
the GUI then smoothly takes over the framebuffer without any distruptions.

Bartlomiej, I believe that this patch-set is ready for merging now and
the first patch has Petr's ack, so can we get this merged now?

Done, thanks for patches (also for reviews & acks).

You're welcome and thank you for merging these.

Regards,

Hans



Also please create an inmutable (or topic) branch for this, so that the
drm people can merge it into drm-tip for additional testing.

Daniel,

The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819:

Linux 4.18-rc2 (2018-06-24 20:54:29 +0800)

are available in the git repository at:

https://github.com/bzolnier/linux.git tags/ib-fbdev-drm-v4.19-deferred-console-takeover

for you to fetch changes up to 83d83bebf40132e2d55ec58af666713cc76f9764:

console/fbcon: Add support for deferred console takeover (2018-06-28 15:20:30 +0200)

----------------------------------------------------------------
Immutable branch between fbdev and drm for the v4.19 merge window
(contains the deferred console takeover feature)

----------------------------------------------------------------
Hans de Goede (3):
printk: Export is_console_locked
fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable
console/fbcon: Add support for deferred console takeover

Documentation/fb/fbcon.txt | 7 ++++
drivers/video/console/Kconfig | 11 ++++++
drivers/video/console/dummycon.c | 67 ++++++++++++++++++++++++++++----
drivers/video/fbdev/core/fbcon.c | 83 ++++++++++++++++++++++++++++++++++++++++
include/linux/console.h | 5 +++
kernel/printk/printk.c | 1 +
6 files changed, 166 insertions(+), 8 deletions(-)

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics