drm/i915: GVT-g driver depends on 64BIT kernel
[sfrench/cifs-2.6.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 X86 && PCI
5         select INTEL_GTT
6         select INTERVAL_TREE
7         select STOP_MACHINE
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         select DRM_PANEL
14         select DRM_MIPI_DSI
15         # i915 depends on ACPI_VIDEO when ACPI is enabled
16         # but for select to work, need to select ACPI_VIDEO's dependencies, ick
17         select BACKLIGHT_LCD_SUPPORT if ACPI
18         select BACKLIGHT_CLASS_DEVICE if ACPI
19         select INPUT if ACPI
20         select ACPI_VIDEO if ACPI
21         select ACPI_BUTTON if ACPI
22         help
23           Choose this option if you have a system that has "Intel Graphics
24           Media Accelerator" or "HD Graphics" integrated graphics,
25           including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
26           G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
27           Core i5, Core i7 as well as Atom CPUs with integrated graphics.
28           If M is selected, the module will be called i915.  AGP support
29           is required for this driver to work. This driver is used by
30           the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
31           replaces the older i830 module that supported a subset of the
32           hardware in older X.org releases.
33
34           Note that the older i810/i815 chipsets require the use of the
35           i810 driver instead, and the Atom z5xx series has an entirely
36           different implementation.
37
38 config DRM_I915_PRELIMINARY_HW_SUPPORT
39         bool "Enable preliminary support for prerelease Intel hardware by default"
40         depends on DRM_I915
41         default n
42         help
43           Choose this option if you have prerelease Intel hardware and want the
44           i915 driver to support it by default.  You can enable such support at
45           runtime with the module option i915.preliminary_hw_support=1; this
46           option changes the default for that module option.
47
48           If in doubt, say "N".
49
50 config DRM_I915_CAPTURE_ERROR
51         bool "Enable capturing GPU state following a hang"
52         depends on DRM_I915
53         default y
54         help
55           This option enables capturing the GPU state when a hang is detected.
56           This information is vital for triaging hangs and assists in debugging.
57           Please report any hang to
58             https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
59           for triaging.
60
61           If in doubt, say "Y".
62
63 config DRM_I915_COMPRESS_ERROR
64         bool "Compress GPU error state"
65         depends on DRM_I915_CAPTURE_ERROR
66         select ZLIB_DEFLATE
67         default y
68         help
69           This option selects ZLIB_DEFLATE if it isn't already
70           selected and causes any error state captured upon a GPU hang
71           to be compressed using zlib.
72
73           If in doubt, say "Y".
74
75 config DRM_I915_USERPTR
76         bool "Always enable userptr support"
77         depends on DRM_I915
78         select MMU_NOTIFIER
79         default y
80         help
81           This option selects CONFIG_MMU_NOTIFIER if it isn't already
82           selected to enabled full userptr support.
83
84           If in doubt, say "Y".
85
86 config DRM_I915_GVT
87         bool "Enable Intel GVT-g graphics virtualization host support"
88         depends on DRM_I915
89         depends on 64BIT
90         default n
91         help
92           Choose this option if you want to enable Intel GVT-g graphics
93           virtualization technology host support with integrated graphics.
94           With GVT-g, it's possible to have one integrated graphics
95           device shared by multiple VMs under different hypervisors.
96
97           Note that at least one hypervisor like Xen or KVM is required for
98           this driver to work, and it only supports newer device from
99           Broadwell+. For further information and setup guide, you can
100           visit: http://01.org/igvt-g.
101
102           Now it's just a stub to support the modifications of i915 for
103           GVT device model. It requires at least one MPT modules for Xen/KVM
104           and other components of GVT device model to work. Use it under
105           you own risk.
106
107           If in doubt, say "N".
108
109 menu "drm/i915 Debugging"
110 depends on DRM_I915
111 depends on EXPERT
112 source drivers/gpu/drm/i915/Kconfig.debug
113 endmenu