Kconfig.debug

CONFIG_DRM_WERROR Compile the drm subsystem with warnings as errors

Unknown

A kernel build should not cause any compiler warnings, and this enables the '-Werror' flag to enforce that rule in the drm subsystem.

The drm subsystem enables more warnings than the kernel default, so this config option is disabled by default.

If in doubt, say N.

CONFIG_DRM_DEBUG_MM Insert extra checks and debug info into the DRM range managers

On

Enable allocation tracking of memory manager and leak detection on shutdown.

Recommended for driver developers only.

If in doubt, say "N".

CONFIG_DRM_KUNIT_TEST KUnit tests for DRM

  • Off
  • Module
  • Built in

This builds unit tests for DRM. This option is not useful for distributions or general kernels, but only for kernel developers working on DRM and associated drivers.

For more information on KUnit and unit tests in general, please refer to the KUnit documentation in Documentation/dev-tools/kunit/.

If in doubt, say "N".

CONFIG_DRM_TTM_KUNIT_TEST KUnit tests for TTM

  • Off
  • Module
  • Built in

Enables unit tests for TTM, a GPU memory manager subsystem used to manage memory buffers. This option is mostly useful for kernel developers. It depends on (UML || COMPILE_TEST) since no other driver which uses TTM can be loaded while running the tests.

If in doubt, say "N".