Kconfig

CONFIG_DRM Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

  • Off
  • Module
  • Built in

Kernel-level support for the Direct Rendering Infrastructure (DRI) introduced in XFree86 4.0. If you say Y here, you need to select the module that's right for your graphics card from the list below. These modules provide support for synchronization, security, and DMA transfers. Please see <http://dri.sourceforge.net/> for more details. You should also select and configure AGP (/dev/agpgart) support if it is available for your platform.

If DRM

DRM debugging options

Includedrivers/gpu/drm/Kconfig.debug Open file
End of DRM debugging options

If DRM

CONFIG_DRM_PANIC Display a user-friendly message when a kernel panic occurs

On

Enable a drm panic handler, which will display a user-friendly message when a kernel panic occurs. It's useful when using a user-space console instead of fbcon. It will only work if your graphic driver supports this feature. To support Hi-DPI Display, you can enable bigger fonts like FONT_TER16x32

If DRM_PANIC

CONFIG_DRM_PANIC_DEBUG Add a debug fs entry to trigger drm_panic

On

Add dri/[device]/drm_panic_plane_x in the kernel debugfs, to force the panic handler to write the panic message to this plane scanout buffer. This is unsafe and should not be enabled on a production build. If in doubt, say "N".

CONFIG_DRM_PANIC_SCREEN Panic screen formatter

This option enable to choose what will be displayed when a kernel panic occurs. You can choose between "user", a short message telling the user to reboot the system, or "kmsg" which will display the last lines of kmsg. This can also be overridden by drm.panic_screen=xxxx kernel parameter or by writing to /sys/module/drm/parameters/panic_screen sysfs entry Default is "user"

CONFIG_DRM_PANIC_SCREEN_QR_CODE Add a panic screen with a QR code

Unknown

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 information. This should be easier for the user to report a kernel panic, with all debug information available. To use this panic screen, also set DRM_PANIC_SCREEN to "qr_code"

If DRM_PANIC_SCREEN_QR_CODE

CONFIG_DRM_PANIC_SCREEN_QR_CODE_URL Base URL of the QR code in the panic screen

Unknown

This option sets the base URL to report the kernel panic. If it's set the QR code will contain the URL and the kmsg compressed with zlib as a URL parameter. If it's empty, the QR code will contain the kmsg as uncompressed text only. There is a demo code in javascript, to decode and uncompress the kmsg data from the URL parameter at https://github.com/kdj0c/panic_report

CONFIG_DRM_PANIC_SCREEN_QR_VERSION Maximum version (size) of the QR code.

Unknown

This option limits the version (or size) of the QR code. QR code version ranges from Version 1 (21x21) to Version 40 (177x177). Smaller QR code are easier to read, but will contain less debugging data. Default is 40.

CONFIG_DRM_RAS DRM RAS support

On

Enables the DRM RAS (Reliability, Availability and Serviceability) support for DRM drivers. This provides a Generic Netlink interface for error reporting and queries. If in doubt, say "N".

CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS Enable refcount backtrace history in the DP MST helpers

On

Enables debug tracing for topology refs in DRM's DP MST helpers. A history of each topology reference/dereference will be printed to the kernel log once a port or branch device's topology refcount reaches 0.

This has the potential to use a lot of memory and print some very large kernel messages. If in doubt, say "N".

CONFIG_DRM_DEBUG_MODESET_LOCK Enable backtrace history for lock contention

On

Enable debug tracing of failures to gracefully handle drm modeset lock contention. A history of each drm modeset lock path hitting -EDEADLK will be saved until gracefully handled, and the backtrace will be printed when attempting to lock a contended lock.

If in doubt, say "N".

CONFIG_DRM_CLIENT

On

Enables support for DRM clients. DRM drivers that need struct drm_client_dev and its interfaces should select this option. Drivers that support the default clients should select DRM_CLIENT_SELECTION instead.

Includedrivers/gpu/drm/clients/Kconfig Open file

CONFIG_DRM_LOAD_EDID_FIRMWARE Allow to specify an EDID data set instead of probing for it

On

Say Y here, if you want to use EDID data to be loaded from the /lib/firmware directory or one of the provided built-in data sets. This may be necessary, if the graphics adapter or monitor are unable to provide appropriate EDID data. Since this feature is provided as a workaround for broken hardware, the default case is N. Details and instructions how to build your own EDID data are given in Documentation/admin-guide/edid.rst.

Includedrivers/gpu/drm/display/Kconfig Open file

CONFIG_DRM_TTM

  • Off
  • Module
  • Built in

GPU memory management subsystem for devices with multiple GPU memory types. Will be enabled automatically if a device driver uses it.

CONFIG_DRM_EXEC

  • Off
  • Module
  • Built in

Execution context for command submissions

CONFIG_DRM_GPUVM

  • Off
  • Module
  • Built in

GPU-VM representation providing helpers to manage a GPUs virtual address space

CONFIG_DRM_VRAM_HELPER

  • Off
  • Module
  • Built in

Helpers for VRAM memory management

CONFIG_DRM_SUBALLOC_HELPER

  • Off
  • Module
  • Built in

CONFIG_DRM_PANEL_BACKLIGHT_QUIRKS

  • Off
  • Module
  • Built in
Includedrivers/gpu/drm/adp/Kconfig Open file
Includedrivers/gpu/drm/amd/amdgpu/Kconfig Open file
Includedrivers/gpu/drm/arm/Kconfig Open file
Includedrivers/gpu/drm/armada/Kconfig Open file
Includedrivers/gpu/drm/aspeed/Kconfig Open file
Includedrivers/gpu/drm/ast/Kconfig Open file
Includedrivers/gpu/drm/atmel-hlcdc/Kconfig Open file
Includedrivers/gpu/drm/bridge/Kconfig Open file
Includedrivers/gpu/drm/etnaviv/Kconfig Open file
Includedrivers/gpu/drm/exynos/Kconfig Open file
Includedrivers/gpu/drm/fsl-dcu/Kconfig Open file
Includedrivers/gpu/drm/gma500/Kconfig Open file
Includedrivers/gpu/drm/gud/Kconfig Open file
Includedrivers/gpu/drm/hisilicon/Kconfig Open file
Includedrivers/gpu/drm/hyperv/Kconfig Open file
Includedrivers/gpu/drm/i915/Kconfig Open file
Includedrivers/gpu/drm/imagination/Kconfig Open file
Includedrivers/gpu/drm/imx/Kconfig Open file
Includedrivers/gpu/drm/ingenic/Kconfig Open file
Includedrivers/gpu/drm/kmb/Kconfig Open file
Includedrivers/gpu/drm/lima/Kconfig Open file
Includedrivers/gpu/drm/logicvc/Kconfig Open file
Includedrivers/gpu/drm/loongson/Kconfig Open file
Includedrivers/gpu/drm/mcde/Kconfig Open file
Includedrivers/gpu/drm/mediatek/Kconfig Open file
Includedrivers/gpu/drm/meson/Kconfig Open file
Includedrivers/gpu/drm/mgag200/Kconfig Open file
Includedrivers/gpu/drm/msm/Kconfig Open file
Includedrivers/gpu/drm/mxsfb/Kconfig Open file
Includedrivers/gpu/drm/nouveau/Kconfig Open file
Includedrivers/gpu/drm/nova/Kconfig Open file
Includedrivers/gpu/drm/omapdrm/Kconfig Open file
Includedrivers/gpu/drm/panel/Kconfig Open file
Includedrivers/gpu/drm/panfrost/Kconfig Open file
Includedrivers/gpu/drm/panthor/Kconfig Open file
Includedrivers/gpu/drm/pl111/Kconfig Open file
Includedrivers/gpu/drm/qxl/Kconfig Open file
Includedrivers/gpu/drm/radeon/Kconfig Open file
Includedrivers/gpu/drm/renesas/Kconfig Open file
Includedrivers/gpu/drm/rockchip/Kconfig Open file
Includedrivers/gpu/drm/sitronix/Kconfig Open file
Includedrivers/gpu/drm/solomon/Kconfig Open file
Includedrivers/gpu/drm/sprd/Kconfig Open file
Includedrivers/gpu/drm/sti/Kconfig Open file
Includedrivers/gpu/drm/stm/Kconfig Open file
Includedrivers/gpu/drm/sun4i/Kconfig Open file
Includedrivers/gpu/drm/sysfb/Kconfig Open file
Includedrivers/gpu/drm/tegra/Kconfig Open file
Includedrivers/gpu/drm/tidss/Kconfig Open file
Includedrivers/gpu/drm/tilcdc/Kconfig Open file
Includedrivers/gpu/drm/tiny/Kconfig Open file
Includedrivers/gpu/drm/tve200/Kconfig Open file
Includedrivers/gpu/drm/tyr/Kconfig Open file
Includedrivers/gpu/drm/udl/Kconfig Open file
Includedrivers/gpu/drm/v3d/Kconfig Open file
Includedrivers/gpu/drm/vboxvideo/Kconfig Open file
Includedrivers/gpu/drm/vc4/Kconfig Open file
Includedrivers/gpu/drm/verisilicon/Kconfig Open file
Includedrivers/gpu/drm/vgem/Kconfig Open file
Includedrivers/gpu/drm/virtio/Kconfig Open file
Includedrivers/gpu/drm/vkms/Kconfig Open file
Includedrivers/gpu/drm/vmwgfx/Kconfig Open file
Includedrivers/gpu/drm/xe/Kconfig Open file
Includedrivers/gpu/drm/xen/Kconfig Open file
Includedrivers/gpu/drm/xlnx/Kconfig Open file

CONFIG_DRM_PANEL_ORIENTATION_QUIRKS

  • Off
  • Module
  • Built in