Jocelyn Falempe
cb5164ac43
drm/panic: Add a QR code panic screen
...
This patch adds a new panic screen, with a QR code and the kmsg data
embedded.
If DRM_PANIC_SCREEN_QR_CODE_URL is set, then the kmsg data will be
compressed with zlib and encoded as a numerical segment, and appended
to the URL as a URL parameter. This allows to save space, and put
about ~7500 bytes of kmsg data, in a V40 QR code.
Linux distributions can customize the URL, and put a web frontend to
directly open a bug report with the kmsg data.
Otherwise the kmsg data will be encoded as a binary segment (ie raw
ascii) and only a maximum of 2953 bytes of kmsg data will be
available in the QR code.
You can also limit the QR code size with DRM_PANIC_SCREEN_QR_VERSION.
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20240822073852.562286-5-jfalempe@redhat.com
2024-08-23 16:55:35 +02:00
..
2024-08-16 09:27:15 +02:00
2024-07-05 10:47:28 +02:00
2024-04-25 17:05:48 +03:00
2024-08-22 09:13:21 +02:00
2024-05-30 15:47:55 +02:00
2024-08-19 15:36:47 +02:00
2024-08-13 17:04:10 -03:00
2024-08-08 18:58:46 +02:00
2024-07-29 09:35:54 +02:00
2024-07-05 10:47:28 +02:00
2024-08-08 18:58:46 +02:00
2024-06-10 12:44:39 +02:00
2024-08-13 16:22:43 +02:00
2024-05-02 11:33:17 +02:00
2024-05-13 19:10:57 +02:00
2024-08-16 12:07:46 +03:00
2024-08-16 12:07:46 +03:00
2024-05-27 17:25:49 +03:00
2024-05-27 11:08:31 +02:00
2024-07-29 09:35:54 +02:00
2024-08-01 10:03:44 +02:00
2024-07-05 11:36:25 +02:00
2024-07-18 09:34:02 -07:00
2024-08-09 08:13:48 +02:00
2024-07-19 09:59:58 -07:00
2024-07-16 20:15:31 +02:00
2024-08-13 16:21:10 +02:00
2024-08-07 10:17:28 +03:00
2024-08-20 14:18:18 -07:00
2024-07-29 09:35:54 +02:00
2024-08-08 18:58:46 +02:00
2024-07-10 09:12:42 +02:00
2024-08-16 09:27:52 +02:00
2024-07-05 10:47:28 +02:00
2024-08-15 19:27:39 +02:00
2024-07-25 14:05:12 +02:00
2024-05-02 11:33:18 +02:00
2024-07-05 13:18:36 +02:00
2024-08-08 18:58:46 +02:00
2024-06-10 12:44:41 +02:00
2024-07-08 13:55:03 -07:00
2024-07-29 09:35:54 +02:00
2024-06-18 10:06:35 +02:00
2024-08-16 09:28:01 +02:00
2024-06-10 12:44:32 +02:00
2024-08-08 18:58:46 +02:00
2024-08-16 12:07:46 +03:00
2024-08-08 18:58:46 +02:00
2024-07-19 19:03:18 -07:00
2024-08-22 07:57:44 -03:00
2024-07-30 09:09:23 +02:00
2024-08-15 11:01:48 -03:00
2024-07-30 09:09:23 +02:00
2024-08-08 18:58:46 +02:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-04-15 16:11:26 +02:00
2024-07-31 20:49:54 +02:00
2024-07-10 10:36:47 +02:00
2024-07-18 13:33:09 +02:00
2024-07-18 13:20:16 +02:00
2024-05-27 13:47:14 +10:00
2024-04-22 14:35:52 +10:00
2024-07-29 08:50:23 +02:00
2024-07-28 13:41:14 -07:00
2024-08-12 09:07:31 -04:00
2024-03-11 11:47:07 +02:00
2024-04-15 16:22:50 +03:00
2024-08-23 16:55:35 +02:00
2024-06-24 17:08:33 +03:00
2024-06-12 10:56:57 +03:00
2024-04-22 11:38:11 +03:00
2024-08-14 10:19:09 +03:00
2024-08-23 16:55:35 +02:00
2024-02-26 14:05:18 +01:00
2024-08-16 12:07:46 +03:00
2024-04-17 16:11:17 +03:00
2024-05-02 23:39:21 +02:00
2024-08-13 16:21:11 +02:00
2024-07-12 12:50:30 +10:00
2024-05-15 14:50:46 +02:00
2024-07-18 09:34:02 -07:00
2024-08-13 16:21:12 +02:00
2024-04-19 17:36:49 +02:00
2024-05-29 09:30:44 +02:00
2024-04-02 09:51:30 +02:00
2024-03-11 13:33:50 +01:00
2024-08-13 16:21:12 +02:00
2024-05-10 20:56:12 +03:00
2024-07-03 10:11:03 +02:00
2024-06-10 12:44:39 +02:00
2024-08-20 14:17:54 -07:00
2024-06-06 10:24:13 -04:00
2024-07-18 15:39:54 +02:00
2024-05-28 09:57:28 +02:00
2024-06-18 11:13:30 +02:00
2024-02-28 15:07:15 +01:00
2024-07-30 09:09:23 +02:00
2024-07-22 09:00:58 -07:00
2024-08-23 16:55:35 +02:00
2024-08-23 16:55:35 +02:00
2024-06-24 17:08:53 +03:00
2024-03-28 19:52:22 +01:00
2024-06-06 14:46:15 -04:00
2024-08-13 16:21:13 +02:00
2024-06-10 12:44:39 +02:00
2024-02-26 11:41:07 +01:00
2024-05-23 14:37:24 +03:00
2024-06-24 18:03:18 +02:00
2024-07-26 17:40:10 -04:00
2024-08-23 16:55:35 +02:00
2024-08-23 16:55:35 +02:00