[PATCH 11/12] drm/panic: Move panic display code into helper library
Randy Dunlap
rdunlap at infradead.org
Tue Aug 18 08:55:11 PDT 2026
Hi,
On 8/18/26 5:28 AM, Thomas Zimmermann wrote:
> M: Hans de Goede <hansg at kernel.org>
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index 323422861e8f..cdfd72d9a9c5 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -45,6 +45,7 @@ config DRM_MIPI_DSI
> config DRM_KMS_HELPER
> tristate
> depends on DRM
> + select DRM_PANIC_HELPER if DRM_PANIC
but DRM_PANIC_HELPER depends on DRM_TTM so
DRM_KMS_HELPER should also depend on DRM_TTM. Otherwise:
WARNING: unmet direct dependencies detected for DRM_PANIC_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_TTM [=n]
Selected by [y]:
- DRM_KMS_HELPER [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_PANIC [=y]
> select FB_CORE if DRM_FBDEV_EMULATION
> help
> CRTC helpers for KMS drivers.
> @@ -130,6 +131,10 @@ config DRM_PANIC_SCREEN_QR_VERSION
> Smaller QR code are easier to read, but will contain less debugging
> data. Default is 40.
>
> +config DRM_PANIC_HELPER
> + bool
> + depends on DRM_TTM
> +
> config DRM_RAS
> bool "DRM RAS support"
> depends on DRM
--
~Randy
More information about the linux-arm-kernel
mailing list