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