diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2024-10-04 01:07:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:45 +0100 |
| commit | 874b95398bd702ccd0635e27db3686e31ebb0365 (patch) | |
| tree | 834865ae1c29d4fc3e775582fd4df4915ebd73d3 | |
| parent | b72b2a7f007cb10c9b4ce1825df769e3762e4ac7 (diff) | |
| download | linux-874b95398bd702ccd0635e27db3686e31ebb0365.tar.gz linux-874b95398bd702ccd0635e27db3686e31ebb0365.tar.bz2 linux-874b95398bd702ccd0635e27db3686e31ebb0365.zip | |
drm/panic: Select ZLIB_DEFLATE for DRM_PANIC_SCREEN_QR_CODE
[ Upstream commit 2ad84af4cff9121827d3dd35e293478bdb0b58bb ]
Under `CONFIG_DRM_PANIC_SCREEN_QR_CODE=y`, zlib is used:
ld.lld: error: undefined symbol: zlib_deflate_workspacesize
>>> referenced by drm_panic.c
>>> drivers/gpu/drm/drm_panic.o:(drm_panic_qr_init) in archive vmlinux.a
Thus select `CONFIG_ZLIB_DEFLATE`.
Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241003230734.653717-1-ojeda@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
| -rw-r--r-- | drivers/gpu/drm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 1cb5a4f19293..cf5bc77e2362 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -152,6 +152,7 @@ config DRM_PANIC_SCREEN config DRM_PANIC_SCREEN_QR_CODE bool "Add a panic screen with a QR code" depends on DRM_PANIC && RUST + select ZLIB_DEFLATE help This option adds a QR code generator, and a panic screen with a QR code. The QR code will contain the last lines of kmsg and other debug |
