diff options
author | Jeka | 2023-06-27 19:47:18 +0300 |
---|---|---|
committer | Jeka | 2023-06-27 19:47:18 +0300 |
commit | fb679befae679f6b3235a56e5929582a73b49981 (patch) | |
tree | 8919cbe496f162fade1c0dd0653cba182f71dd75 /0407-bootsplash.patch | |
parent | 5044b4b52b055721532303f99530dfc38796bc6a (diff) | |
download | aur-fb679befae679f6b3235a56e5929582a73b49981.tar.gz |
kernel release 6.4
Diffstat (limited to '0407-bootsplash.patch')
-rw-r--r-- | 0407-bootsplash.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/0407-bootsplash.patch b/0407-bootsplash.patch deleted file mode 100644 index 3f82eb0b9296..000000000000 --- a/0407-bootsplash.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c -index f4166263bb3a..a248429194bb 100644 ---- a/drivers/tty/vt/keyboard.c -+++ b/drivers/tty/vt/keyboard.c -@@ -49,6 +49,8 @@ - - #include <asm/irq_regs.h> - -+#include <linux/bootsplash.h> -+ - /* - * Exported functions/variables - */ -@@ -1413,6 +1415,28 @@ static void kbd_keycode(unsigned int key - } - #endif - -+ /* Trap keys when bootsplash is shown */ -+ if (bootsplash_would_render_now()) { -+ /* Deactivate bootsplash on ESC or Alt+Fxx VT switch */ -+ if (keycode >= KEY_F1 && keycode <= KEY_F12) { -+ bootsplash_disable(); -+ -+ /* -+ * No return here since we want to actually -+ * perform the VT switch. -+ */ -+ } else { -+ if (keycode == KEY_ESC) -+ bootsplash_disable(); -+ -+ /* -+ * Just drop any other keys. -+ * Their effect would be hidden by the splash. -+ */ -+ return; -+ } -+ } -+ - if (kbd->kbdmode == VC_MEDIUMRAW) { - /* - * This is extended medium raw mode, with keys above 127 |