xref: /linux/drivers/gpu/drm/Kconfig (revision 5fc537bfd00033a3f813330175f7f12c25957ebf)
1c0e09200SDave Airlie#
2c0e09200SDave Airlie# Drm device configuration
3c0e09200SDave Airlie#
4c0e09200SDave Airlie# This driver provides support for the
5c0e09200SDave Airlie# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
6c0e09200SDave Airlie#
7c0e09200SDave Airliemenuconfig DRM
8c0e09200SDave Airlie	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
962a0d98aSBenjamin Gaignard	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
108d70f395SHans de Goede	select DRM_PANEL_ORIENTATION_QUIRKS
1110a85120SThierry Reding	select HDMI
12eaf99c74SChris Wilson	select FB_CMDLINE
1357a6297eSDave Airlie	select I2C
1457a6297eSDave Airlie	select I2C_ALGOBIT
153248877eSDave Airlie	select DMA_SHARED_BUFFER
1696260142SGustavo Padovan	select SYNC_FILE
17c0e09200SDave Airlie	help
18c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
19c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
20c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
21c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
22c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
23c0e09200SDave Airlie	  details.  You should also select and configure AGP
24dcdb1674SJordan Crouse	  (/dev/agpgart) support if it is available for your platform.
25c0e09200SDave Airlie
26068a0023SAndrzej Hajdaconfig DRM_MIPI_DSI
27068a0023SAndrzej Hajda	bool
28068a0023SAndrzej Hajda	depends on DRM
29068a0023SAndrzej Hajda
30e94cb37bSRafael Antognolliconfig DRM_DP_AUX_CHARDEV
31e94cb37bSRafael Antognolli	bool "DRM DP AUX Interface"
32e94cb37bSRafael Antognolli	depends on DRM
33e94cb37bSRafael Antognolli	help
34e94cb37bSRafael Antognolli	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
35e94cb37bSRafael Antognolli	  read and write values to arbitrary DPCD registers on the DP aux
36e94cb37bSRafael Antognolli	  channel.
37e94cb37bSRafael Antognolli
385705670dSChris Wilsonconfig DRM_DEBUG_MM
395705670dSChris Wilson	bool "Insert extra checks and debug info into the DRM range managers"
405705670dSChris Wilson	default n
41cd456f8dSChris Wilson	depends on DRM=y
424b514e10SChris Wilson	depends on STACKTRACE_SUPPORT
435705670dSChris Wilson	select STACKDEPOT
445705670dSChris Wilson	help
455705670dSChris Wilson	  Enable allocation tracking of memory manager and leak detection on
465705670dSChris Wilson	  shutdown.
475705670dSChris Wilson
485705670dSChris Wilson	  Recommended for driver developers only.
495705670dSChris Wilson
505705670dSChris Wilson	  If in doubt, say "N".
515705670dSChris Wilson
5234b13e5eSMaarten Lankhorstconfig DRM_DEBUG_SELFTEST
5334b13e5eSMaarten Lankhorst	tristate "kselftests for DRM"
5450f0033dSChris Wilson	depends on DRM
5550f0033dSChris Wilson	depends on DEBUG_KERNEL
5650f0033dSChris Wilson	select PRIME_NUMBERS
5750f0033dSChris Wilson	select DRM_LIB_RANDOM
587420e049SMaarten Lankhorst	select DRM_KMS_HELPER
5950f0033dSChris Wilson	default n
6050f0033dSChris Wilson	help
6134b13e5eSMaarten Lankhorst	  This option provides kernel modules that can be used to run
6234b13e5eSMaarten Lankhorst	  various selftests on parts of the DRM api. This option is not
6350f0033dSChris Wilson	  useful for distributions or general kernels, but only for kernel
6450f0033dSChris Wilson	  developers working on DRM and associated drivers.
6550f0033dSChris Wilson
6650f0033dSChris Wilson	  If in doubt, say "N".
6750f0033dSChris Wilson
686fcefd56SDave Airlieconfig DRM_KMS_HELPER
6913a8195bSDave Airlie	tristate
7013a8195bSDave Airlie	depends on DRM
7192b6f89fSDaniel Vetter	help
7292b6f89fSDaniel Vetter	  CRTC helpers for KMS drivers.
7392b6f89fSDaniel Vetter
7492b6f89fSDaniel Vetterconfig DRM_KMS_FB_HELPER
7592b6f89fSDaniel Vetter	bool
7692b6f89fSDaniel Vetter	depends on DRM_KMS_HELPER
7713a8195bSDave Airlie	select FB
786a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
79bf5192edSDave Airlie	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
80cbb1a82eSArchit Taneja	select FB_SYS_FOPS
81742547b7SArchit Taneja	select FB_SYS_FILLRECT
82742547b7SArchit Taneja	select FB_SYS_COPYAREA
83742547b7SArchit Taneja	select FB_SYS_IMAGEBLIT
84742547b7SArchit Taneja	select FB_CFB_FILLRECT
85742547b7SArchit Taneja	select FB_CFB_COPYAREA
86742547b7SArchit Taneja	select FB_CFB_IMAGEBLIT
87eaa434deSNoralf Trønnes	select FB_DEFERRED_IO
8813a8195bSDave Airlie	help
8992b6f89fSDaniel Vetter	  FBDEV helpers for KMS drivers.
9013a8195bSDave Airlie
91a03fdcb1SArchit Tanejaconfig DRM_FBDEV_EMULATION
92a03fdcb1SArchit Taneja	bool "Enable legacy fbdev support for your modesetting driver"
93a03fdcb1SArchit Taneja	depends on DRM
94a03fdcb1SArchit Taneja	select DRM_KMS_HELPER
95a03fdcb1SArchit Taneja	select DRM_KMS_FB_HELPER
96a03fdcb1SArchit Taneja	default y
97a03fdcb1SArchit Taneja	help
98a03fdcb1SArchit Taneja	  Choose this option if you have a need for the legacy fbdev
99a03fdcb1SArchit Taneja	  support. Note that this support also provides the linux console
100a03fdcb1SArchit Taneja	  support on top of your modesetting driver.
101a03fdcb1SArchit Taneja
102a03fdcb1SArchit Taneja	  If in doubt, say "Y".
103a03fdcb1SArchit Taneja
1045f152576SXinliang Liuconfig DRM_FBDEV_OVERALLOC
1055f152576SXinliang Liu	int "Overallocation of the fbdev buffer"
1065f152576SXinliang Liu	depends on DRM_FBDEV_EMULATION
1075f152576SXinliang Liu	default 100
1085f152576SXinliang Liu	help
1095f152576SXinliang Liu	  Defines the fbdev buffer overallocation in percent. Default
1105f152576SXinliang Liu	  is 100. Typical values for double buffering will be 200,
1115f152576SXinliang Liu	  triple buffering 300.
1125f152576SXinliang Liu
1134be9bd10SNeil Armstrongconfig DRM_FBDEV_LEAK_PHYS_SMEM
1144be9bd10SNeil Armstrong	bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
1154be9bd10SNeil Armstrong	depends on DRM_FBDEV_EMULATION && EXPERT
1164be9bd10SNeil Armstrong	default n
1174be9bd10SNeil Armstrong	help
1184be9bd10SNeil Armstrong	  In order to keep user-space compatibility, we want in certain
1194be9bd10SNeil Armstrong	  use-cases to keep leaking the fbdev physical address to the
1204be9bd10SNeil Armstrong	  user-space program handling the fbdev buffer.
1214be9bd10SNeil Armstrong	  This affects, not only, Amlogic, Allwinner or Rockchip devices
1224be9bd10SNeil Armstrong	  with ARM Mali GPUs using an userspace Blob.
1234be9bd10SNeil Armstrong	  This option is not supported by upstream developers and should be
1244be9bd10SNeil Armstrong	  removed as soon as possible and be considered as a broken and
1254be9bd10SNeil Armstrong	  legacy behaviour from a modern fbdev device driver.
1264be9bd10SNeil Armstrong
1274be9bd10SNeil Armstrong	  Please send any bug reports when using this to your proprietary
1284be9bd10SNeil Armstrong	  software vendor that requires this.
1294be9bd10SNeil Armstrong
1304be9bd10SNeil Armstrong	  If in doubt, say "N" or spread the word to your closed source
1314be9bd10SNeil Armstrong	  library vendor.
1324be9bd10SNeil Armstrong
133da0df92bSCarsten Emdeconfig DRM_LOAD_EDID_FIRMWARE
134da0df92bSCarsten Emde	bool "Allow to specify an EDID data set instead of probing for it"
13553fd40a9SJani Nikula	depends on DRM
136da0df92bSCarsten Emde	help
137da0df92bSCarsten Emde	  Say Y here, if you want to use EDID data to be loaded from the
138da0df92bSCarsten Emde	  /lib/firmware directory or one of the provided built-in
139da0df92bSCarsten Emde	  data sets. This may be necessary, if the graphics adapter or
140da0df92bSCarsten Emde	  monitor are unable to provide appropriate EDID data. Since this
141da0df92bSCarsten Emde	  feature is provided as a workaround for broken hardware, the
142da0df92bSCarsten Emde	  default case is N. Details and instructions how to build your own
143da0df92bSCarsten Emde	  EDID data are given in Documentation/EDID/HOWTO.txt.
144da0df92bSCarsten Emde
1452c6d1fffSHans Verkuilconfig DRM_DP_CEC
1462c6d1fffSHans Verkuil	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
1472c6d1fffSHans Verkuil	select CEC_CORE
1482c6d1fffSHans Verkuil	help
1492c6d1fffSHans Verkuil	  Choose this option if you want to enable HDMI CEC support for
1502c6d1fffSHans Verkuil	  DisplayPort/USB-C to HDMI adapters.
1512c6d1fffSHans Verkuil
1522c6d1fffSHans Verkuil	  Note: not all adapters support this feature, and even for those
1532c6d1fffSHans Verkuil	  that do support this they often do not hook up the CEC pin.
1542c6d1fffSHans Verkuil
155ba4e7d97SThomas Hellstromconfig DRM_TTM
156771fe6b9SJerome Glisse	tristate
15762a0d98aSBenjamin Gaignard	depends on DRM && MMU
158ba4e7d97SThomas Hellstrom	help
159ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
160ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
161ba4e7d97SThomas Hellstrom	  uses it.
162ba4e7d97SThomas Hellstrom
16385438a8dSThomas Zimmermannconfig DRM_VRAM_HELPER
16485438a8dSThomas Zimmermann	tristate
16585438a8dSThomas Zimmermann	depends on DRM
16685438a8dSThomas Zimmermann	select DRM_TTM
16785438a8dSThomas Zimmermann	help
16885438a8dSThomas Zimmermann	  Helpers for VRAM memory management
16985438a8dSThomas Zimmermann
170b9d47450SSascha Hauerconfig DRM_GEM_CMA_HELPER
171b9d47450SSascha Hauer	bool
172e1c7e324SChristoph Hellwig	depends on DRM
173b9d47450SSascha Hauer	help
174b9d47450SSascha Hauer	  Choose this if you need the GEM CMA helper functions
175b9d47450SSascha Hauer
1762e3b3c42SLars-Peter Clausenconfig DRM_KMS_CMA_HELPER
1772e3b3c42SLars-Peter Clausen	bool
178e1c7e324SChristoph Hellwig	depends on DRM
1792e3b3c42SLars-Peter Clausen	select DRM_GEM_CMA_HELPER
1802e3b3c42SLars-Peter Clausen	help
1812e3b3c42SLars-Peter Clausen	  Choose this if you need the KMS CMA helper functions
1822e3b3c42SLars-Peter Clausen
1832194a63aSNoralf Trønnesconfig DRM_GEM_SHMEM_HELPER
1842194a63aSNoralf Trønnes	bool
1852194a63aSNoralf Trønnes	depends on DRM
1862194a63aSNoralf Trønnes	help
1872194a63aSNoralf Trønnes	  Choose this if you need the GEM shmem helper functions
1882194a63aSNoralf Trønnes
18999c48e1eSBenjamin Gaignardconfig DRM_VM
19099c48e1eSBenjamin Gaignard	bool
1917e53c284SBenjamin Gaignard	depends on DRM && MMU
19299c48e1eSBenjamin Gaignard
1931b1f42d8SLucas Stachconfig DRM_SCHED
1941b1f42d8SLucas Stach	tristate
1951b1f42d8SLucas Stach	depends on DRM
1961b1f42d8SLucas Stach
1976504d0d9SRob Clarksource "drivers/gpu/drm/i2c/Kconfig"
1986504d0d9SRob Clark
1998e22d792SLiviu Dudausource "drivers/gpu/drm/arm/Kconfig"
2008e22d792SLiviu Dudau
201c0e09200SDave Airlieconfig DRM_RADEON
202c0e09200SDave Airlie	tristate "ATI Radeon"
203011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
20470967ab9SBen Hutchings	select FW_LOADER
205a0cdc649SDave Airlie        select DRM_KMS_HELPER
206a0cdc649SDave Airlie        select DRM_TTM
2075d9b7e2dSDave Airlie	select POWER_SUPPLY
20821a8122aSAlex Deucher	select HWMON
20914adc892SChristian König	select BACKLIGHT_CLASS_DEVICE
2100aea5e4aSAlex Deucher	select INTERVAL_TREE
211c0e09200SDave Airlie	help
212c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
213c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
214c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
215c0e09200SDave Airlie
216c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
217c0e09200SDave Airlie
218f71d0187SDave Airliesource "drivers/gpu/drm/radeon/Kconfig"
219f71d0187SDave Airlie
220d38ceaf9SAlex Deucherconfig DRM_AMDGPU
221d38ceaf9SAlex Deucher	tristate "AMD GPU"
222011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
223d38ceaf9SAlex Deucher	select FW_LOADER
224d38ceaf9SAlex Deucher        select DRM_KMS_HELPER
2251b1f42d8SLucas Stach	select DRM_SCHED
226d38ceaf9SAlex Deucher        select DRM_TTM
227d38ceaf9SAlex Deucher	select POWER_SUPPLY
228d38ceaf9SAlex Deucher	select HWMON
229d38ceaf9SAlex Deucher	select BACKLIGHT_CLASS_DEVICE
230d38ceaf9SAlex Deucher	select INTERVAL_TREE
231a2f14820SFelix Kuehling	select CHASH
232d38ceaf9SAlex Deucher	help
233d38ceaf9SAlex Deucher	  Choose this option if you have a recent AMD Radeon graphics card.
234d38ceaf9SAlex Deucher
235d38ceaf9SAlex Deucher	  If M is selected, the module will be called amdgpu.
236d38ceaf9SAlex Deucher
237d38ceaf9SAlex Deuchersource "drivers/gpu/drm/amd/amdgpu/Kconfig"
238a8fe58ceSMaruthi Bayyavarapu
239f3c93cbdSBen Skeggssource "drivers/gpu/drm/nouveau/Kconfig"
240f3c93cbdSBen Skeggs
2414520f53aSDaniel Vettersource "drivers/gpu/drm/i915/Kconfig"
24299486b8eSJosh Triplett
243502e95c6SZach Reiznerconfig DRM_VGEM
244502e95c6SZach Reizner	tristate "Virtual GEM provider"
245502e95c6SZach Reizner	depends on DRM
246502e95c6SZach Reizner	help
247502e95c6SZach Reizner	  Choose this option to get a virtual graphics memory manager,
248502e95c6SZach Reizner	  as used by Mesa's software renderer for enhanced performance.
249502e95c6SZach Reizner	  If M is selected the module will be called vgem.
250502e95c6SZach Reizner
2511c7c5fd9SHaneen Mohammedconfig DRM_VKMS
252c91b007eSRodrigo Siqueira	tristate "Virtual KMS (EXPERIMENTAL)"
2531c7c5fd9SHaneen Mohammed	depends on DRM
2545ba57babSArnd Bergmann	select DRM_KMS_HELPER
255c91b007eSRodrigo Siqueira	default n
2561c7c5fd9SHaneen Mohammed	help
257c91b007eSRodrigo Siqueira	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for
258c91b007eSRodrigo Siqueira	  running GPU in a headless machines. Choose this option to get
259c91b007eSRodrigo Siqueira	  a VKMS.
260c91b007eSRodrigo Siqueira
2611c7c5fd9SHaneen Mohammed	  If M is selected the module will be called vkms.
262502e95c6SZach Reizner
263848ee538SDave Airlieconfig DRM_ATI_PCIGART
264848ee538SDave Airlie        bool
265848ee538SDave Airlie
2661c248b7dSInki Daesource "drivers/gpu/drm/exynos/Kconfig"
2675a7b74beSThomas Hellstrom
2682048e328SMark Yaosource "drivers/gpu/drm/rockchip/Kconfig"
2692048e328SMark Yao
2705a7b74beSThomas Hellstromsource "drivers/gpu/drm/vmwgfx/Kconfig"
27191c75492SAlan Cox
27291c75492SAlan Coxsource "drivers/gpu/drm/gma500/Kconfig"
27391c75492SAlan Cox
2745320918bSDave Airliesource "drivers/gpu/drm/udl/Kconfig"
275312fec14SDave Airlie
276312fec14SDave Airliesource "drivers/gpu/drm/ast/Kconfig"
277312fec14SDave Airlie
278414c4531SDave Airliesource "drivers/gpu/drm/mgag200/Kconfig"
279f9aa76a8SDave Airlie
280f9aa76a8SDave Airliesource "drivers/gpu/drm/cirrus/Kconfig"
28151c13278SLaurent Pinchart
28296f60e37SRussell Kingsource "drivers/gpu/drm/armada/Kconfig"
28396f60e37SRussell King
2841a396789SBoris Brezillonsource "drivers/gpu/drm/atmel-hlcdc/Kconfig"
2851a396789SBoris Brezillon
2864bf8e196SLaurent Pinchartsource "drivers/gpu/drm/rcar-du/Kconfig"
2874bf8e196SLaurent Pinchart
28851c13278SLaurent Pinchartsource "drivers/gpu/drm/shmobile/Kconfig"
289d8f4a9edSThierry Reding
2909026e0d1SMaxime Ripardsource "drivers/gpu/drm/sun4i/Kconfig"
2919026e0d1SMaxime Ripard
2928bb0daffSRob Clarksource "drivers/gpu/drm/omapdrm/Kconfig"
293ca18e142SDave Airlie
29416ea975eSRob Clarksource "drivers/gpu/drm/tilcdc/Kconfig"
295f64122c1SDave Airlie
296f64122c1SDave Airliesource "drivers/gpu/drm/qxl/Kconfig"
297c8afe684SRob Clark
2980a6659bdSGerd Hoffmannsource "drivers/gpu/drm/bochs/Kconfig"
2990a6659bdSGerd Hoffmann
300dc5698e8SDave Airliesource "drivers/gpu/drm/virtio/Kconfig"
301dc5698e8SDave Airlie
302c8afe684SRob Clarksource "drivers/gpu/drm/msm/Kconfig"
303dee8268fSThierry Reding
304109eee2fSJianwei Wangsource "drivers/gpu/drm/fsl-dcu/Kconfig"
305109eee2fSJianwei Wang
306dee8268fSThierry Redingsource "drivers/gpu/drm/tegra/Kconfig"
307aead40eaSThierry Reding
308b759012cSYannick Fertresource "drivers/gpu/drm/stm/Kconfig"
309b759012cSYannick Fertre
310aead40eaSThierry Redingsource "drivers/gpu/drm/panel/Kconfig"
311f2cb3148SBenjamin Gaignard
312a33ee95fSThierry Redingsource "drivers/gpu/drm/bridge/Kconfig"
313a33ee95fSThierry Reding
314f2cb3148SBenjamin Gaignardsource "drivers/gpu/drm/sti/Kconfig"
3154a488a7aSOded Gabbay
3166556f7f8SPhilipp Zabelsource "drivers/gpu/drm/imx/Kconfig"
317c8b75bcaSEric Anholt
31857692c94SEric Anholtsource "drivers/gpu/drm/v3d/Kconfig"
31957692c94SEric Anholt
320c8b75bcaSEric Anholtsource "drivers/gpu/drm/vc4/Kconfig"
321a8c21a54SThe etnaviv authors
322a8c21a54SThe etnaviv authorssource "drivers/gpu/drm/etnaviv/Kconfig"
32351dacf20SCarlos Palminha
32451dacf20SCarlos Palminhasource "drivers/gpu/drm/arc/Kconfig"
32523e7b2abSXinliang Liu
32623e7b2abSXinliang Liusource "drivers/gpu/drm/hisilicon/Kconfig"
327119f5173SCK Hu
328119f5173SCK Husource "drivers/gpu/drm/mediatek/Kconfig"
329d92d9c3aSDavid Herrmann
3300a886f59SShawn Guosource "drivers/gpu/drm/zte/Kconfig"
3310a886f59SShawn Guo
33245d59d70SMarek Vasutsource "drivers/gpu/drm/mxsfb/Kconfig"
33345d59d70SMarek Vasut
334bbbe775eSNeil Armstrongsource "drivers/gpu/drm/meson/Kconfig"
335bbbe775eSNeil Armstrong
336fa201ac2SNoralf Trønnessource "drivers/gpu/drm/tinydrm/Kconfig"
337fa201ac2SNoralf Trønnes
338bed41005STom Cookseysource "drivers/gpu/drm/pl111/Kconfig"
339bed41005STom Cooksey
340179c02feSLinus Walleijsource "drivers/gpu/drm/tve200/Kconfig"
341179c02feSLinus Walleij
342c575b7eeSOleksandr Andrushchenkosource "drivers/gpu/drm/xen/Kconfig"
343c575b7eeSOleksandr Andrushchenko
344131abc56SHans de Goedesource "drivers/gpu/drm/vboxvideo/Kconfig"
345131abc56SHans de Goede
346a1d2a633SQiang Yusource "drivers/gpu/drm/lima/Kconfig"
347a1d2a633SQiang Yu
348f3ba9122SRob Herringsource "drivers/gpu/drm/panfrost/Kconfig"
349f3ba9122SRob Herring
3504f2a8f58SJoel Stanleysource "drivers/gpu/drm/aspeed/Kconfig"
3514f2a8f58SJoel Stanley
352*5fc537bfSLinus Walleijsource "drivers/gpu/drm/mcde/Kconfig"
353*5fc537bfSLinus Walleij
354d92d9c3aSDavid Herrmann# Keep legacy drivers last
355d92d9c3aSDavid Herrmann
356d92d9c3aSDavid Herrmannmenuconfig DRM_LEGACY
357d92d9c3aSDavid Herrmann	bool "Enable legacy drivers (DANGEROUS)"
3587e53c284SBenjamin Gaignard	depends on DRM && MMU
35999c48e1eSBenjamin Gaignard	select DRM_VM
360848ee538SDave Airlie	select DRM_ATI_PCIGART if PCI
361d92d9c3aSDavid Herrmann	help
362d92d9c3aSDavid Herrmann	  Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
363d92d9c3aSDavid Herrmann	  APIs to user-space, which can be used to circumvent access
364d92d9c3aSDavid Herrmann	  restrictions and other security measures. For backwards compatibility
365d92d9c3aSDavid Herrmann	  those drivers are still available, but their use is highly
366d92d9c3aSDavid Herrmann	  inadvisable and might harm your system.
367d92d9c3aSDavid Herrmann
368d92d9c3aSDavid Herrmann	  You are recommended to use the safe modeset-only drivers instead, and
369d92d9c3aSDavid Herrmann	  perform 3D emulation in user-space.
370d92d9c3aSDavid Herrmann
371d92d9c3aSDavid Herrmann	  Unless you have strong reasons to go rogue, say "N".
372d92d9c3aSDavid Herrmann
373d92d9c3aSDavid Herrmannif DRM_LEGACY
374d92d9c3aSDavid Herrmann
375d92d9c3aSDavid Herrmannconfig DRM_TDFX
376d92d9c3aSDavid Herrmann	tristate "3dfx Banshee/Voodoo3+"
377d92d9c3aSDavid Herrmann	depends on DRM && PCI
378d92d9c3aSDavid Herrmann	help
379d92d9c3aSDavid Herrmann	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
380d92d9c3aSDavid Herrmann	  graphics card.  If M is selected, the module will be called tdfx.
381d92d9c3aSDavid Herrmann
382d92d9c3aSDavid Herrmannconfig DRM_R128
383d92d9c3aSDavid Herrmann	tristate "ATI Rage 128"
384d92d9c3aSDavid Herrmann	depends on DRM && PCI
385d92d9c3aSDavid Herrmann	select FW_LOADER
386d92d9c3aSDavid Herrmann	help
387d92d9c3aSDavid Herrmann	  Choose this option if you have an ATI Rage 128 graphics card.  If M
388d92d9c3aSDavid Herrmann	  is selected, the module will be called r128.  AGP support for
389d92d9c3aSDavid Herrmann	  this card is strongly suggested (unless you have a PCI version).
390d92d9c3aSDavid Herrmann
391d92d9c3aSDavid Herrmannconfig DRM_I810
392d92d9c3aSDavid Herrmann	tristate "Intel I810"
393d92d9c3aSDavid Herrmann	# !PREEMPT because of missing ioctl locking
394d92d9c3aSDavid Herrmann	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
395d92d9c3aSDavid Herrmann	help
396d92d9c3aSDavid Herrmann	  Choose this option if you have an Intel I810 graphics card.  If M is
397d92d9c3aSDavid Herrmann	  selected, the module will be called i810.  AGP support is required
398d92d9c3aSDavid Herrmann	  for this driver to work.
399d92d9c3aSDavid Herrmann
400d92d9c3aSDavid Herrmannconfig DRM_MGA
401d92d9c3aSDavid Herrmann	tristate "Matrox g200/g400"
402d92d9c3aSDavid Herrmann	depends on DRM && PCI
403d92d9c3aSDavid Herrmann	select FW_LOADER
404d92d9c3aSDavid Herrmann	help
405d92d9c3aSDavid Herrmann	  Choose this option if you have a Matrox G200, G400 or G450 graphics
406d92d9c3aSDavid Herrmann	  card.  If M is selected, the module will be called mga.  AGP
407d92d9c3aSDavid Herrmann	  support is required for this driver to work.
408d92d9c3aSDavid Herrmann
409d92d9c3aSDavid Herrmannconfig DRM_SIS
410d92d9c3aSDavid Herrmann	tristate "SiS video cards"
411d92d9c3aSDavid Herrmann	depends on DRM && AGP
412d92d9c3aSDavid Herrmann	depends on FB_SIS || FB_SIS=n
413d92d9c3aSDavid Herrmann	help
414d92d9c3aSDavid Herrmann	  Choose this option if you have a SiS 630 or compatible video
415d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called sis. AGP
416d92d9c3aSDavid Herrmann	  support is required for this driver to work.
417d92d9c3aSDavid Herrmann
418d92d9c3aSDavid Herrmannconfig DRM_VIA
419d92d9c3aSDavid Herrmann	tristate "Via unichrome video cards"
420d92d9c3aSDavid Herrmann	depends on DRM && PCI
421d92d9c3aSDavid Herrmann	help
422d92d9c3aSDavid Herrmann	  Choose this option if you have a Via unichrome or compatible video
423d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called via.
424d92d9c3aSDavid Herrmann
425d92d9c3aSDavid Herrmannconfig DRM_SAVAGE
426d92d9c3aSDavid Herrmann	tristate "Savage video cards"
427d92d9c3aSDavid Herrmann	depends on DRM && PCI
428d92d9c3aSDavid Herrmann	help
429d92d9c3aSDavid Herrmann	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
430d92d9c3aSDavid Herrmann	  chipset. If M is selected the module will be called savage.
431d92d9c3aSDavid Herrmann
432d92d9c3aSDavid Herrmannendif # DRM_LEGACY
433a33d42ddSChris Wilson
434341a0ffcSHans de Goede# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
435341a0ffcSHans de Goedeconfig DRM_PANEL_ORIENTATION_QUIRKS
436341a0ffcSHans de Goede	tristate
437341a0ffcSHans de Goede
438a33d42ddSChris Wilsonconfig DRM_LIB_RANDOM
439a33d42ddSChris Wilson	bool
440a33d42ddSChris Wilson	default n
441