linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] console/fbcon: Add support for deferred console takeover
@ 2018-06-26 18:36 Hans de Goede
  2018-06-26 18:36 ` [PATCH v3 1/3] printk: Export is_console_locked Hans de Goede
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Hans de Goede @ 2018-06-26 18:36 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Petr Mladek, Sergey Senozhatsky
  Cc: Hans de Goede, dri-devel, linux-fbdev, Steven Rostedt, linux-kernel

Hi All,

Here is v4 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.

This patch-set spans 2 subsystems.

Petr, the printk subsys change is really trivial (1 line addition) can we
get your Acked-by for merging all 3 patches through the fbdev tree?

Changelog:

Changes in v4:
-Keep the comments about which fbcon functions need locks in place

Changes in v3:
-Export is_console_locke() for use in modules (as fbcon may be built as a .ko)
-Use WARN_CONSOLE_UNLOCKED() in several places in the fbcon code to assert
 proper locking (requested by Daniel)
-Unregister the fbcon-dummycon-output-notifier on fbcon_exit() (req. by Daniel)
-Document the fbcon=nodefer commandline option (req. by Emil)

Changes in v2:
-Check the whole string when checking for erases in putcs, instead of just
 the first char
-Make dummycon_blank return 1, so that a redraw gets triggered and any text
 rendered while blanked gets output so that it can trigger a deferred
 takeover if one is pending

Regards,

Hans
 

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v3 0/3] console/fbcon: Add support for deferred console takeover
@ 2018-06-26 13:55 Hans de Goede
  2018-06-26 13:55 ` [PATCH v3 1/3] printk: Export is_console_locked Hans de Goede
  0 siblings, 1 reply; 18+ messages in thread
From: Hans de Goede @ 2018-06-26 13:55 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Petr Mladek, Sergey Senozhatsky
  Cc: Hans de Goede, dri-devel, linux-fbdev, Steven Rostedt, linux-kernel

Hi All,

Here is v3 of my patch, now 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.

New in v3 are the following changes:
-Export is_console_locke() for use in modules (as fbcon may be built as a .ko)
-Use WARN_CONSOLE_UNLOCKED() in several places in the fbcon code to assert
 proper locking (requested by Daniel)
-Unregister the fbcon-dummycon-output-notifier on fbcon_exit() (req. by Daniel)
-Document the fbcon=nodefer commandline option (req. by Emil)

These changes mean that this patch-set now spans 2 subsystems.

Petr, the printk subsys change is really trivial (1 line addition) can we
get your Acked-by for merging all 3 patches through the fbdev tree?

Regards,

Hans



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

end of thread, other threads:[~2018-06-28  8:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 18:36 [PATCH v4 0/3] console/fbcon: Add support for deferred console takeover Hans de Goede
2018-06-26 18:36 ` [PATCH v3 1/3] printk: Export is_console_locked Hans de Goede
2018-06-26 18:38   ` Hans de Goede
2018-06-27  1:07   ` Sergey Senozhatsky
2018-06-27 13:31   ` Petr Mladek
2018-06-26 18:36 ` [PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable Hans de Goede
2018-06-27  1:09   ` Sergey Senozhatsky
2018-06-26 18:36 ` [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover Hans de Goede
2018-06-28  7:55   ` Daniel Vetter
2018-06-28  8:20     ` Hans de Goede
2018-06-28  8:37       ` Daniel Vetter
2018-06-28  8:58         ` Hans de Goede
2018-06-26 19:14 ` [PATCH v4 0/3] " Steven Rostedt
2018-06-27  9:15 ` Daniel Vetter
2018-06-27  9:47   ` Bartlomiej Zolnierkiewicz
2018-06-27 11:13     ` Hans de Goede
2018-06-27 14:15       ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2018-06-26 13:55 [PATCH v3 " Hans de Goede
2018-06-26 13:55 ` [PATCH v3 1/3] printk: Export is_console_locked Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).