xref: /openbmc/linux/drivers/gpu/drm/i915/Kconfig (revision afc98d90)
1config DRM_I915
2	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
3	depends on DRM
4	depends on X86 && PCI
5	depends on (AGP || AGP=n)
6	select INTEL_GTT
7	select AGP_INTEL if AGP
8	# we need shmfs for the swappable backing store, and in particular
9	# the shmem_readpage() which depends upon tmpfs
10	select SHMEM
11	select TMPFS
12	select DRM_KMS_HELPER
13	# i915 depends on ACPI_VIDEO when ACPI is enabled
14	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
15	select BACKLIGHT_LCD_SUPPORT if ACPI
16	select BACKLIGHT_CLASS_DEVICE if ACPI
17	select VIDEO_OUTPUT_CONTROL if ACPI
18	select INPUT if ACPI
19	select ACPI_VIDEO if ACPI
20	select ACPI_BUTTON if ACPI
21	help
22	  Choose this option if you have a system that has "Intel Graphics
23	  Media Accelerator" or "HD Graphics" integrated graphics,
24	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
25	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
26	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.
27	  If M is selected, the module will be called i915.  AGP support
28	  is required for this driver to work. This driver is used by
29	  the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
30	  replaces the older i830 module that supported a subset of the
31	  hardware in older X.org releases.
32
33	  Note that the older i810/i815 chipsets require the use of the
34	  i810 driver instead, and the Atom z5xx series has an entirely
35	  different implementation.
36
37config DRM_I915_KMS
38	bool "Enable modesetting on intel by default"
39	depends on DRM_I915
40	default y
41	help
42	  Choose this option if you want kernel modesetting enabled by default.
43
44	  If in doubt, say "Y".
45
46config DRM_I915_FBDEV
47	bool "Enable legacy fbdev support for the modesetting intel driver"
48	depends on DRM_I915
49	select DRM_KMS_FB_HELPER
50	select FB_CFB_FILLRECT
51	select FB_CFB_COPYAREA
52	select FB_CFB_IMAGEBLIT
53	default y
54	help
55	  Choose this option if you have a need for the legacy fbdev
56	  support. Note that this support also provide the linux console
57	  support on top of the intel modesetting driver.
58
59	  If in doubt, say "Y".
60
61config DRM_I915_PRELIMINARY_HW_SUPPORT
62	bool "Enable preliminary support for prerelease Intel hardware by default"
63	depends on DRM_I915
64	default n
65	help
66	  Choose this option if you have prerelease Intel hardware and want the
67	  i915 driver to support it by default.  You can enable such support at
68	  runtime with the module option i915.preliminary_hw_support=1; this
69	  option changes the default for that module option.
70
71	  If in doubt, say "N".
72
73config DRM_I915_UMS
74	bool "Enable userspace modesetting on Intel hardware (DEPRECATED)"
75	depends on DRM_I915
76	default n
77	help
78	  Choose this option if you still need userspace modesetting.
79
80	  Userspace modesetting is deprecated for quite some time now, so
81	  enable this only if you have ancient versions of the DDX drivers.
82
83	  If in doubt, say "N".
84