summarylogtreecommitdiffstats
path: root/0409-bootsplash.patch
diff options
context:
space:
mode:
authorJeka2022-10-26 14:14:45 +0300
committerJeka2022-10-26 14:14:45 +0300
commit5e6f6fec39965f5452c3b1617f8a4387c9986bc0 (patch)
treec90d21e00a66dc00fe428c2bd5af95a846c694d0 /0409-bootsplash.patch
downloadaur-5e6f6fec39965f5452c3b1617f8a4387c9986bc0.tar.gz
release kernel 6.0.4
Diffstat (limited to '0409-bootsplash.patch')
-rw-r--r--0409-bootsplash.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/0409-bootsplash.patch b/0409-bootsplash.patch
new file mode 100644
index 000000000000..add68e7b275c
--- /dev/null
+++ b/0409-bootsplash.patch
@@ -0,0 +1,21 @@
+diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
+index 9a39a6fcfe98..8a9c67e1c5d8 100644
+--- a/drivers/video/fbdev/core/fbcon.c
++++ b/drivers/video/fbdev/core/fbcon.c
+@@ -1343,6 +1343,16 @@ static void fbcon_cursor(struct vc_data *vc, int mode)
+ int y;
+ int c = scr_readw((u16 *) vc->vc_pos);
+
++ /*
++ * Disable the splash here so we don't have to hook into
++ * vt_console_print() in drivers/tty/vt/vt.c
++ *
++ * We'd disable the splash just before the call to
++ * hide_cursor() anyway, so this spot is just fine.
++ */
++ if (oops_in_progress)
++ bootsplash_disable();
++
+ ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms);
+
+ if (fbcon_is_inactive(vc, info) || vc->vc_deccm != 1)