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.
- Depends on
HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
DRM_PANEL_ORIENTATION_QUIRKS if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
HDMI if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
I2C if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
DMA_SHARED_BUFFER if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
SYNC_FILE if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
KCMP if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA - Selects
VIDEO if HAS_IOMEM && (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
If DRM
If DRM
CONFIG_DRM_MIPI_DBI
- Off
- Module
- Built in
- Depends on
HAS_IOMEM && DRM - Selects
DRM_KMS_HELPER if HAS_IOMEM && DRM
CONFIG_DRM_MIPI_DSI
CONFIG_DRM_KMS_HELPER
- Off
- Module
- Built in
CRTC helpers for KMS drivers.
CONFIG_DRM_DRAW
CONFIG_DRM_PANIC Display a user-friendly message when a kernel panic occurs
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_FOREGROUND_COLOR Drm panic screen foreground color, in RGB
CONFIG_DRM_PANIC_BACKGROUND_COLOR Drm panic screen background color, in RGB
CONFIG_DRM_PANIC_DEBUG Add a debug fs entry to trigger drm_panic
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
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
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
- Depends on
HAS_IOMEM && DRM && DRM_PANIC_SCREEN_QR_CODE
CONFIG_DRM_PANIC_SCREEN_QR_VERSION Maximum version (size) of the QR code.
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.
- Depends on
HAS_IOMEM && DRM && DRM_PANIC_SCREEN_QR_CODE
CONFIG_DRM_PANIC_HELPER
CONFIG_DRM_RAS DRM RAS support
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
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".
- Depends on
HAS_IOMEM && DRM && && DEBUG_KERNEL && EXPERT - Selects
STACKDEPOT if HAS_IOMEM && DRM && && DEBUG_KERNEL && EXPERT - Selects
DRM_KMS_HELPER if HAS_IOMEM && DRM && && DEBUG_KERNEL && EXPERT
CONFIG_DRM_DEBUG_MODESET_LOCK Enable backtrace history for lock contention
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".
- Depends on
HAS_IOMEM && DRM && && DEBUG_KERNEL && EXPERT - Selects
STACKDEPOT if HAS_IOMEM && DRM && && DEBUG_KERNEL && EXPERT
CONFIG_DRM_CLIENT
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.
CONFIG_DRM_LOAD_EDID_FIRMWARE Allow to specify an EDID data set instead of probing for it
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.
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_RUST_DRM_GPUVM
Choose this if you need GPUVM functions in Rust
CONFIG_DRM_GPUSVM
- Off
- Module
- Built in
GPU-SVM representation providing helpers to manage a GPUs shared virtual memory
- Depends on
HAS_IOMEM && DRM - Selects
HMM_MIRROR if HAS_IOMEM && DRM - Selects
MMU_NOTIFIER if HAS_IOMEM && DRM
CONFIG_DRM_BUDDY
- Off
- Module
- Built in
A page based buddy allocator
CONFIG_DRM_VRAM_HELPER
- Off
- Module
- Built in
Helpers for VRAM memory management
CONFIG_DRM_TTM_HELPER
- Off
- Module
- Built in
Helpers for ttm-based gem objects
- Depends on
HAS_IOMEM && DRM - Selects
DRM_TTM if HAS_IOMEM && DRM - Selects
DRM_CLIENT_LIB if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION - Selects
FB_CORE if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION - Selects
FB_SYSMEM_HELPERS_DEFERRED if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION
CONFIG_DRM_GEM_DMA_HELPER
- Off
- Module
- Built in
Choose this if you need the GEM DMA helper functions
- Depends on
HAS_IOMEM && DRM - Selects
DRM_CLIENT_LIB if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION - Selects
FB_CORE if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION - Selects
FB_DMAMEM_HELPERS_DEFERRED if HAS_IOMEM && DRM && DRM_FBDEV_EMULATION
CONFIG_DRM_GEM_SHMEM_HELPER
- Off
- Module
- Built in
Choose this if you need the GEM shmem helper functions
- Depends on
HAS_IOMEM && DRM && - Selects
DRM_CLIENT_LIB if HAS_IOMEM && DRM && && DRM_FBDEV_EMULATION - Selects
FB_CORE if HAS_IOMEM && DRM && && DRM_FBDEV_EMULATION - Selects
FB_SYSMEM_HELPERS_DEFERRED if HAS_IOMEM && DRM && && DRM_FBDEV_EMULATION
CONFIG_RUST_DRM_GEM_SHMEM_HELPER
Choose this if you need the GEM shmem helper functions In Rust
- Depends on
HAS_IOMEM && DRM && - Selects
DRM_GEM_SHMEM_HELPER if HAS_IOMEM && DRM &&
CONFIG_DRM_SUBALLOC_HELPER
- Off
- Module
- Built in
CONFIG_DRM_SCHED
- Off
- Module
- Built in
CONFIG_DRM_PANEL_BACKLIGHT_QUIRKS
- Off
- Module
- Built in
CONFIG_DRM_PRIVACY_SCREEN
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS
- Off
- Module
- Built in
- Depends on
HAS_IOMEM
- arch/alpha/Kconfig:116
- arch/arc/Kconfig:82
- arch/arm/Kconfig:222
- arch/arm64/Kconfig:331
- arch/csky/Kconfig:163
- arch/hexagon/Kconfig:69
- arch/loongarch/Kconfig:282
- arch/microblaze/Kconfig:81
- arch/mips/Kconfig:3001
- arch/openrisc/Kconfig:68
- arch/parisc/Kconfig:167
- arch/powerpc/Kconfig:101
- arch/riscv/Kconfig:320
- arch/s390/Kconfig:11
- arch/sh/Kconfig:111
- arch/sparc/Kconfig:125
- arch/um/Kconfig:81
- arch/x86/Kconfig:353
- arch/xtensa/Kconfig:91
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94