CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/patch/misc/0009-bootsplash.patch
Views: 3959
1
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
2
index 9a39a6fcfe98..8a9c67e1c5d8 100644
3
--- a/drivers/video/fbdev/core/fbcon.c
4
+++ b/drivers/video/fbdev/core/fbcon.c
5
@@ -1343,6 +1343,16 @@ static void fbcon_cursor(struct vc_data *vc, int mode)
6
int y;
7
int c = scr_readw((u16 *) vc->vc_pos);
8
9
+ /*
10
+ * Disable the splash here so we don't have to hook into
11
+ * vt_console_print() in drivers/tty/vt/vt.c
12
+ *
13
+ * We'd disable the splash just before the call to
14
+ * hide_cursor() anyway, so this spot is just fine.
15
+ */
16
+ if (oops_in_progress)
17
+ bootsplash_disable();
18
+
19
ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms);
20
21
if (fbcon_is_inactive(vc, info) || vc->vc_deccm != 1)
22
23