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 explicitely on it.
Suggested-by: Michael Kelley <[email protected]> Signed-off-by: Jocelyn Falempe <[email protected]> --- drivers/gpu/drm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 758f2eb3d588..0d0657dd1b41 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 base-commit: df4dc947c46bb9f80038f52c6e38cb2d40c10e50 -- 2.52.0
