Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux-drm-fsl-dcu.git] / drivers / gpu / drm / i915 / Kconfig
1 config DRM_I915
2         tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
3         depends on DRM
4         depends on AGP
5         depends on AGP_INTEL
6         # we need shmfs for the swappable backing store, and in particular
7         # the shmem_readpage() which depends upon tmpfs
8         select SHMEM
9         select TMPFS
10         select DRM_KMS_HELPER
11         # i915 depends on ACPI_VIDEO when ACPI is enabled
12         # but for select to work, need to select ACPI_VIDEO's dependencies, ick
13         select BACKLIGHT_LCD_SUPPORT if ACPI
14         select BACKLIGHT_CLASS_DEVICE if ACPI
15         select VIDEO_OUTPUT_CONTROL if ACPI
16         select INPUT if ACPI
17         select ACPI_VIDEO if ACPI
18         select ACPI_BUTTON if ACPI
19         help
20           Choose this option if you have a system that has "Intel Graphics
21           Media Accelerator" or "HD Graphics" integrated graphics,
22           including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
23           G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
24           Core i5, Core i7 as well as Atom CPUs with integrated graphics.
25           If M is selected, the module will be called i915.  AGP support
26           is required for this driver to work. This driver is used by
27           the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
28           replaces the older i830 module that supported a subset of the
29           hardware in older X.org releases.
30
31           Note that the older i810/i815 chipsets require the use of the
32           i810 driver instead, and the Atom z5xx series has an entirely
33           different implementation.
34
35 config DRM_I915_KMS
36         bool "Enable modesetting on intel by default"
37         depends on DRM_I915
38         help
39           Choose this option if you want kernel modesetting enabled by default,
40           and you have a new enough userspace to support this. Running old
41           userspaces with this enabled will cause pain.  Note that this causes
42           the driver to bind to PCI devices, which precludes loading things
43           like intelfb.
44
45 config DRM_I915_FBDEV
46         bool "Enable legacy fbdev support for the modesettting intel driver"
47         depends on DRM_I915
48         select DRM_KMS_FB_HELPER
49         select FB_CFB_FILLRECT
50         select FB_CFB_COPYAREA
51         select FB_CFB_IMAGEBLIT
52         default y
53         help
54           Choose this option if you have a need for the legacy fbdev
55           support. Note that this support also provide the linux console
56           support on top of the intel modesetting driver.
57
58 config DRM_I915_PRELIMINARY_HW_SUPPORT
59         bool "Enable preliminary support for prerelease Intel hardware by default"
60         depends on DRM_I915
61         help
62           Choose this option if you have prerelease Intel hardware and want the
63           i915 driver to support it by default.  You can enable such support at
64           runtime with the module option i915.preliminary_hw_support=1; this
65           option changes the default for that module option.
66
67           If in doubt, say "N".