xref: /linux/drivers/gpu/drm/Kconfig (revision 16ea975eac671fa40a78594a116a44fef8e3f4a9)
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)"
9dcdb1674SJordan Crouse	depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
1057a6297eSDave Airlie	select I2C
1157a6297eSDave Airlie	select I2C_ALGOBIT
123248877eSDave Airlie	select DMA_SHARED_BUFFER
13c0e09200SDave Airlie	help
14c0e09200SDave Airlie	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
15c0e09200SDave Airlie	  introduced in XFree86 4.0. If you say Y here, you need to select
16c0e09200SDave Airlie	  the module that's right for your graphics card from the list below.
17c0e09200SDave Airlie	  These modules provide support for synchronization, security, and
18c0e09200SDave Airlie	  DMA transfers. Please see <http://dri.sourceforge.net/> for more
19c0e09200SDave Airlie	  details.  You should also select and configure AGP
20dcdb1674SJordan Crouse	  (/dev/agpgart) support if it is available for your platform.
21c0e09200SDave Airlie
229c1dfc55SDave Airlieconfig DRM_USB
239c1dfc55SDave Airlie	tristate
249c1dfc55SDave Airlie	depends on DRM
2595ca19cfSSedat Dilek	depends on USB_SUPPORT && USB_ARCH_HAS_HCD
269c1dfc55SDave Airlie	select USB
279c1dfc55SDave Airlie
286fcefd56SDave Airlieconfig DRM_KMS_HELPER
2913a8195bSDave Airlie	tristate
3013a8195bSDave Airlie	depends on DRM
3113a8195bSDave Airlie	select FB
326a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
33bf5192edSDave Airlie	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
3413a8195bSDave Airlie	help
356fcefd56SDave Airlie	  FB and CRTC helpers for KMS drivers.
3613a8195bSDave Airlie
37da0df92bSCarsten Emdeconfig DRM_LOAD_EDID_FIRMWARE
38da0df92bSCarsten Emde	bool "Allow to specify an EDID data set instead of probing for it"
39da0df92bSCarsten Emde	depends on DRM_KMS_HELPER
40da0df92bSCarsten Emde	help
41da0df92bSCarsten Emde	  Say Y here, if you want to use EDID data to be loaded from the
42da0df92bSCarsten Emde	  /lib/firmware directory or one of the provided built-in
43da0df92bSCarsten Emde	  data sets. This may be necessary, if the graphics adapter or
44da0df92bSCarsten Emde	  monitor are unable to provide appropriate EDID data. Since this
45da0df92bSCarsten Emde	  feature is provided as a workaround for broken hardware, the
46da0df92bSCarsten Emde	  default case is N. Details and instructions how to build your own
47da0df92bSCarsten Emde	  EDID data are given in Documentation/EDID/HOWTO.txt.
48da0df92bSCarsten Emde
49ba4e7d97SThomas Hellstromconfig DRM_TTM
50771fe6b9SJerome Glisse	tristate
51ba4e7d97SThomas Hellstrom	depends on DRM
52ba4e7d97SThomas Hellstrom	help
53ba4e7d97SThomas Hellstrom	  GPU memory management subsystem for devices with multiple
54ba4e7d97SThomas Hellstrom	  GPU memory types. Will be enabled automatically if a device driver
55ba4e7d97SThomas Hellstrom	  uses it.
56ba4e7d97SThomas Hellstrom
57b9d47450SSascha Hauerconfig DRM_GEM_CMA_HELPER
58b9d47450SSascha Hauer	bool
59b9d47450SSascha Hauer	depends on DRM
60b9d47450SSascha Hauer	help
61b9d47450SSascha Hauer	  Choose this if you need the GEM CMA helper functions
62b9d47450SSascha Hauer
632e3b3c42SLars-Peter Clausenconfig DRM_KMS_CMA_HELPER
642e3b3c42SLars-Peter Clausen	bool
652e3b3c42SLars-Peter Clausen	select DRM_GEM_CMA_HELPER
662e3b3c42SLars-Peter Clausen	select FB_SYS_FILLRECT
672e3b3c42SLars-Peter Clausen	select FB_SYS_COPYAREA
682e3b3c42SLars-Peter Clausen	select FB_SYS_IMAGEBLIT
692e3b3c42SLars-Peter Clausen	help
702e3b3c42SLars-Peter Clausen	  Choose this if you need the KMS CMA helper functions
712e3b3c42SLars-Peter Clausen
726504d0d9SRob Clarksource "drivers/gpu/drm/i2c/Kconfig"
736504d0d9SRob Clark
74c0e09200SDave Airlieconfig DRM_TDFX
75c0e09200SDave Airlie	tristate "3dfx Banshee/Voodoo3+"
76c0e09200SDave Airlie	depends on DRM && PCI
77c0e09200SDave Airlie	help
78c0e09200SDave Airlie	  Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
79c0e09200SDave Airlie	  graphics card.  If M is selected, the module will be called tdfx.
80c0e09200SDave Airlie
81c0e09200SDave Airlieconfig DRM_R128
82c0e09200SDave Airlie	tristate "ATI Rage 128"
83c0e09200SDave Airlie	depends on DRM && PCI
8452f97df5SBen Hutchings	select FW_LOADER
85c0e09200SDave Airlie	help
86c0e09200SDave Airlie	  Choose this option if you have an ATI Rage 128 graphics card.  If M
87c0e09200SDave Airlie	  is selected, the module will be called r128.  AGP support for
88c0e09200SDave Airlie	  this card is strongly suggested (unless you have a PCI version).
89c0e09200SDave Airlie
90c0e09200SDave Airlieconfig DRM_RADEON
91c0e09200SDave Airlie	tristate "ATI Radeon"
92c0e09200SDave Airlie	depends on DRM && PCI
93771fe6b9SJerome Glisse	select FB_CFB_FILLRECT
94771fe6b9SJerome Glisse	select FB_CFB_COPYAREA
95771fe6b9SJerome Glisse	select FB_CFB_IMAGEBLIT
9670967ab9SBen Hutchings	select FW_LOADER
97a0cdc649SDave Airlie        select DRM_KMS_HELPER
98a0cdc649SDave Airlie        select DRM_TTM
995d9b7e2dSDave Airlie	select POWER_SUPPLY
10021a8122aSAlex Deucher	select HWMON
10114adc892SChristian König	select BACKLIGHT_CLASS_DEVICE
102c0e09200SDave Airlie	help
103c0e09200SDave Airlie	  Choose this option if you have an ATI Radeon graphics card.  There
104c0e09200SDave Airlie	  are both PCI and AGP versions.  You don't need to choose this to
105c0e09200SDave Airlie	  run the Radeon in plain VGA mode.
106c0e09200SDave Airlie
107c0e09200SDave Airlie	  If M is selected, the module will be called radeon.
108c0e09200SDave Airlie
109f71d0187SDave Airliesource "drivers/gpu/drm/radeon/Kconfig"
110f71d0187SDave Airlie
111f3c93cbdSBen Skeggssource "drivers/gpu/drm/nouveau/Kconfig"
112f3c93cbdSBen Skeggs
113c0e09200SDave Airlieconfig DRM_I810
114c0e09200SDave Airlie	tristate "Intel I810"
1151f692a14SArnd Bergmann	# !PREEMPT because of missing ioctl locking
1161f692a14SArnd Bergmann	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
117c0e09200SDave Airlie	help
118c0e09200SDave Airlie	  Choose this option if you have an Intel I810 graphics card.  If M is
119c0e09200SDave Airlie	  selected, the module will be called i810.  AGP support is required
120c0e09200SDave Airlie	  for this driver to work.
121c0e09200SDave Airlie
122c0e09200SDave Airlieconfig DRM_I915
1237f506847SArnd Bergmann	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
1247f506847SArnd Bergmann	depends on DRM
1257f506847SArnd Bergmann	depends on AGP
1268c52da50SEric Anholt	depends on AGP_INTEL
127f7ab9b40SChris Wilson	# we need shmfs for the swappable backing store, and in particular
128f7ab9b40SChris Wilson	# the shmem_readpage() which depends upon tmpfs
129ca9ab100SChris Wilson	select SHMEM
130f7ab9b40SChris Wilson	select TMPFS
1316fcefd56SDave Airlie	select DRM_KMS_HELPER
13206d9f33cSEric Anholt	select FB_CFB_FILLRECT
13306d9f33cSEric Anholt	select FB_CFB_COPYAREA
13406d9f33cSEric Anholt	select FB_CFB_IMAGEBLIT
13531db5645SLen Brown	# i915 depends on ACPI_VIDEO when ACPI is enabled
13631db5645SLen Brown	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
13744a1dabfSRandy Dunlap	select BACKLIGHT_LCD_SUPPORT if ACPI
13831db5645SLen Brown	select BACKLIGHT_CLASS_DEVICE if ACPI
139cbf15bdbSKonstantin Khlebnikov	select VIDEO_OUTPUT_CONTROL if ACPI
14031db5645SLen Brown	select INPUT if ACPI
14131db5645SLen Brown	select ACPI_VIDEO if ACPI
142c1c7af60SJesse Barnes	select ACPI_BUTTON if ACPI
143c0e09200SDave Airlie	help
1447f506847SArnd Bergmann	  Choose this option if you have a system that has "Intel Graphics
1457f506847SArnd Bergmann	  Media Accelerator" or "HD Graphics" integrated graphics,
1467f506847SArnd Bergmann	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
1477f506847SArnd Bergmann	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
1487f506847SArnd Bergmann	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.
1497f506847SArnd Bergmann	  If M is selected, the module will be called i915.  AGP support
1507f506847SArnd Bergmann	  is required for this driver to work. This driver is used by
1517f506847SArnd Bergmann	  the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
1527f506847SArnd Bergmann	  replaces the older i830 module that supported a subset of the
1537f506847SArnd Bergmann	  hardware in older X.org releases.
1547f506847SArnd Bergmann
1557f506847SArnd Bergmann	  Note that the older i810/i815 chipsets require the use of the
1567f506847SArnd Bergmann	  i810 driver instead, and the Atom z5xx series has an entirely
1577f506847SArnd Bergmann	  different implementation.
158c0e09200SDave Airlie
15979e53945SJesse Barnesconfig DRM_I915_KMS
16079e53945SJesse Barnes	bool "Enable modesetting on intel by default"
16179e53945SJesse Barnes	depends on DRM_I915
16279e53945SJesse Barnes	help
16379e53945SJesse Barnes	  Choose this option if you want kernel modesetting enabled by default,
16479e53945SJesse Barnes	  and you have a new enough userspace to support this. Running old
16579e53945SJesse Barnes	  userspaces with this enabled will cause pain.  Note that this causes
16679e53945SJesse Barnes	  the driver to bind to PCI devices, which precludes loading things
16779e53945SJesse Barnes	  like intelfb.
16879e53945SJesse Barnes
169c0e09200SDave Airlieconfig DRM_MGA
170c0e09200SDave Airlie	tristate "Matrox g200/g400"
171f5f05c8aSDave Airlie	depends on DRM && PCI
172ece2be79SBen Hutchings	select FW_LOADER
173c0e09200SDave Airlie	help
174c0e09200SDave Airlie	  Choose this option if you have a Matrox G200, G400 or G450 graphics
175c0e09200SDave Airlie	  card.  If M is selected, the module will be called mga.  AGP
176c0e09200SDave Airlie	  support is required for this driver to work.
177c0e09200SDave Airlie
178c0e09200SDave Airlieconfig DRM_SIS
179c0e09200SDave Airlie	tristate "SiS video cards"
180c0e09200SDave Airlie	depends on DRM && AGP
181dfcf96d0SAdrian Bunk	depends on FB_SIS || FB_SIS=n
182c0e09200SDave Airlie	help
183c0e09200SDave Airlie	  Choose this option if you have a SiS 630 or compatible video
184c0e09200SDave Airlie          chipset. If M is selected the module will be called sis. AGP
185c0e09200SDave Airlie          support is required for this driver to work.
186c0e09200SDave Airlie
187c0e09200SDave Airlieconfig DRM_VIA
188c0e09200SDave Airlie	tristate "Via unichrome video cards"
189f5f05c8aSDave Airlie	depends on DRM && PCI
190c0e09200SDave Airlie	help
191c0e09200SDave Airlie	  Choose this option if you have a Via unichrome or compatible video
192c0e09200SDave Airlie	  chipset. If M is selected the module will be called via.
193c0e09200SDave Airlie
194c0e09200SDave Airlieconfig DRM_SAVAGE
195c0e09200SDave Airlie	tristate "Savage video cards"
196f5f05c8aSDave Airlie	depends on DRM && PCI
197c0e09200SDave Airlie	help
198c0e09200SDave Airlie	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
199c0e09200SDave Airlie	  chipset. If M is selected the module will be called savage.
2001c248b7dSInki Dae
2011c248b7dSInki Daesource "drivers/gpu/drm/exynos/Kconfig"
2025a7b74beSThomas Hellstrom
2035a7b74beSThomas Hellstromsource "drivers/gpu/drm/vmwgfx/Kconfig"
20491c75492SAlan Cox
20591c75492SAlan Coxsource "drivers/gpu/drm/gma500/Kconfig"
20691c75492SAlan Cox
2075320918bSDave Airliesource "drivers/gpu/drm/udl/Kconfig"
208312fec14SDave Airlie
209312fec14SDave Airliesource "drivers/gpu/drm/ast/Kconfig"
210312fec14SDave Airlie
211414c4531SDave Airliesource "drivers/gpu/drm/mgag200/Kconfig"
212f9aa76a8SDave Airlie
213f9aa76a8SDave Airliesource "drivers/gpu/drm/cirrus/Kconfig"
21451c13278SLaurent Pinchart
21551c13278SLaurent Pinchartsource "drivers/gpu/drm/shmobile/Kconfig"
216d8f4a9edSThierry Reding
217d8f4a9edSThierry Redingsource "drivers/gpu/drm/tegra/Kconfig"
218*16ea975eSRob Clark
219*16ea975eSRob Clarksource "drivers/gpu/drm/tilcdc/Kconfig"
220