1# 2# Drm device configuration 3# 4# This driver provides support for the 5# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 6# 7menuconfig DRM 8 tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" 9 depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU 10 select HDMI 11 select I2C 12 select I2C_ALGOBIT 13 select DMA_SHARED_BUFFER 14 help 15 Kernel-level support for the Direct Rendering Infrastructure (DRI) 16 introduced in XFree86 4.0. If you say Y here, you need to select 17 the module that's right for your graphics card from the list below. 18 These modules provide support for synchronization, security, and 19 DMA transfers. Please see <http://dri.sourceforge.net/> for more 20 details. You should also select and configure AGP 21 (/dev/agpgart) support if it is available for your platform. 22 23config DRM_USB 24 tristate 25 depends on DRM 26 depends on USB_SUPPORT && USB_ARCH_HAS_HCD 27 select USB 28 29config DRM_KMS_HELPER 30 tristate 31 depends on DRM 32 select FB 33 select FRAMEBUFFER_CONSOLE if !EXPERT 34 select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE 35 help 36 FB and CRTC helpers for KMS drivers. 37 38config DRM_LOAD_EDID_FIRMWARE 39 bool "Allow to specify an EDID data set instead of probing for it" 40 depends on DRM_KMS_HELPER 41 help 42 Say Y here, if you want to use EDID data to be loaded from the 43 /lib/firmware directory or one of the provided built-in 44 data sets. This may be necessary, if the graphics adapter or 45 monitor are unable to provide appropriate EDID data. Since this 46 feature is provided as a workaround for broken hardware, the 47 default case is N. Details and instructions how to build your own 48 EDID data are given in Documentation/EDID/HOWTO.txt. 49 50config DRM_TTM 51 tristate 52 depends on DRM 53 help 54 GPU memory management subsystem for devices with multiple 55 GPU memory types. Will be enabled automatically if a device driver 56 uses it. 57 58config DRM_GEM_CMA_HELPER 59 bool 60 depends on DRM 61 help 62 Choose this if you need the GEM CMA helper functions 63 64config DRM_KMS_CMA_HELPER 65 bool 66 select DRM_GEM_CMA_HELPER 67 select FB_SYS_FILLRECT 68 select FB_SYS_COPYAREA 69 select FB_SYS_IMAGEBLIT 70 help 71 Choose this if you need the KMS CMA helper functions 72 73source "drivers/gpu/drm/i2c/Kconfig" 74 75config DRM_TDFX 76 tristate "3dfx Banshee/Voodoo3+" 77 depends on DRM && PCI 78 help 79 Choose this option if you have a 3dfx Banshee or Voodoo3 (or later), 80 graphics card. If M is selected, the module will be called tdfx. 81 82config DRM_R128 83 tristate "ATI Rage 128" 84 depends on DRM && PCI 85 select FW_LOADER 86 help 87 Choose this option if you have an ATI Rage 128 graphics card. If M 88 is selected, the module will be called r128. AGP support for 89 this card is strongly suggested (unless you have a PCI version). 90 91config DRM_RADEON 92 tristate "ATI Radeon" 93 depends on DRM && PCI 94 select FB_CFB_FILLRECT 95 select FB_CFB_COPYAREA 96 select FB_CFB_IMAGEBLIT 97 select FW_LOADER 98 select DRM_KMS_HELPER 99 select DRM_TTM 100 select POWER_SUPPLY 101 select HWMON 102 select BACKLIGHT_CLASS_DEVICE 103 help 104 Choose this option if you have an ATI Radeon graphics card. There 105 are both PCI and AGP versions. You don't need to choose this to 106 run the Radeon in plain VGA mode. 107 108 If M is selected, the module will be called radeon. 109 110source "drivers/gpu/drm/radeon/Kconfig" 111 112source "drivers/gpu/drm/nouveau/Kconfig" 113 114config DRM_I810 115 tristate "Intel I810" 116 # !PREEMPT because of missing ioctl locking 117 depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) 118 help 119 Choose this option if you have an Intel I810 graphics card. If M is 120 selected, the module will be called i810. AGP support is required 121 for this driver to work. 122 123config DRM_I915 124 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" 125 depends on DRM 126 depends on AGP 127 depends on AGP_INTEL 128 # we need shmfs for the swappable backing store, and in particular 129 # the shmem_readpage() which depends upon tmpfs 130 select SHMEM 131 select TMPFS 132 select DRM_KMS_HELPER 133 select FB_CFB_FILLRECT 134 select FB_CFB_COPYAREA 135 select FB_CFB_IMAGEBLIT 136 # i915 depends on ACPI_VIDEO when ACPI is enabled 137 # but for select to work, need to select ACPI_VIDEO's dependencies, ick 138 select BACKLIGHT_LCD_SUPPORT if ACPI 139 select BACKLIGHT_CLASS_DEVICE if ACPI 140 select VIDEO_OUTPUT_CONTROL if ACPI 141 select INPUT if ACPI 142 select ACPI_VIDEO if ACPI 143 select ACPI_BUTTON if ACPI 144 help 145 Choose this option if you have a system that has "Intel Graphics 146 Media Accelerator" or "HD Graphics" integrated graphics, 147 including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, 148 G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3, 149 Core i5, Core i7 as well as Atom CPUs with integrated graphics. 150 If M is selected, the module will be called i915. AGP support 151 is required for this driver to work. This driver is used by 152 the Intel driver in X.org 6.8 and XFree86 4.4 and above. It 153 replaces the older i830 module that supported a subset of the 154 hardware in older X.org releases. 155 156 Note that the older i810/i815 chipsets require the use of the 157 i810 driver instead, and the Atom z5xx series has an entirely 158 different implementation. 159 160config DRM_I915_KMS 161 bool "Enable modesetting on intel by default" 162 depends on DRM_I915 163 help 164 Choose this option if you want kernel modesetting enabled by default, 165 and you have a new enough userspace to support this. Running old 166 userspaces with this enabled will cause pain. Note that this causes 167 the driver to bind to PCI devices, which precludes loading things 168 like intelfb. 169 170config DRM_MGA 171 tristate "Matrox g200/g400" 172 depends on DRM && PCI 173 select FW_LOADER 174 help 175 Choose this option if you have a Matrox G200, G400 or G450 graphics 176 card. If M is selected, the module will be called mga. AGP 177 support is required for this driver to work. 178 179config DRM_SIS 180 tristate "SiS video cards" 181 depends on DRM && AGP 182 depends on FB_SIS || FB_SIS=n 183 help 184 Choose this option if you have a SiS 630 or compatible video 185 chipset. If M is selected the module will be called sis. AGP 186 support is required for this driver to work. 187 188config DRM_VIA 189 tristate "Via unichrome video cards" 190 depends on DRM && PCI 191 help 192 Choose this option if you have a Via unichrome or compatible video 193 chipset. If M is selected the module will be called via. 194 195config DRM_SAVAGE 196 tristate "Savage video cards" 197 depends on DRM && PCI 198 help 199 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister 200 chipset. If M is selected the module will be called savage. 201 202source "drivers/gpu/drm/exynos/Kconfig" 203 204source "drivers/gpu/drm/vmwgfx/Kconfig" 205 206source "drivers/gpu/drm/gma500/Kconfig" 207 208source "drivers/gpu/drm/udl/Kconfig" 209 210source "drivers/gpu/drm/ast/Kconfig" 211 212source "drivers/gpu/drm/mgag200/Kconfig" 213 214source "drivers/gpu/drm/cirrus/Kconfig" 215 216source "drivers/gpu/drm/shmobile/Kconfig" 217 218source "drivers/gpu/drm/omapdrm/Kconfig" 219 220source "drivers/gpu/drm/tilcdc/Kconfig" 221 222source "drivers/gpu/drm/qxl/Kconfig" 223