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