From: Jocelyn Falempe Date: Thu, 12 Feb 2026 10:05:54 +0000 (+0100) Subject: drm/panic: depends on PRINTK X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=948e195dfaa56e48eabda591f97630502ff7e27e;p=thirdparty%2Fkernel%2Flinux.git drm/panic: depends on PRINTK drm_panic uses kmsg_dump_register() to register its panic handler, so it won't work if CONFIG_PRINTK is not enabled. Let's not pretend it could work without PRINTK, and depends explicitly on it. Suggested-by: Michael Kelley Reviewed-by: Michael Kelley Link: https://patch.msgid.link/20260212100615.989957-1-jfalempe@redhat.com Signed-off-by: Jocelyn Falempe --- diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 758f2eb3d5887..0d0657dd1b41d 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -55,7 +55,7 @@ config DRM_DRAW config DRM_PANIC bool "Display a user-friendly message when a kernel panic occurs" - depends on DRM + depends on DRM && PRINTK select FONT_SUPPORT select DRM_DRAW help