blob: 6aedc96aa412cd0e94a7dc1705bde7c2b865f6a1 [file] [log] [blame]
Daniel Vetter4520f532013-10-09 09:18:51 +02001config DRM_I915
2 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
3 depends on DRM
Ville Syrjälä00fe6392013-11-05 14:00:08 +02004 depends on X86 && PCI
Ville Syrjälä00fe6392013-11-05 14:00:08 +02005 select INTEL_GTT
Chris Wilson5cc9ed42014-05-16 14:22:37 +01006 select INTERVAL_TREE
Chris Wilson9f267eb2016-10-12 10:05:19 +01007 select STOP_MACHINE
Daniel Vetter4520f532013-10-09 09:18:51 +02008 # 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
Jani Nikula593e0622015-01-23 15:30:56 +020013 select DRM_PANEL
Jani Nikula7e9804f2015-01-16 14:27:23 +020014 select DRM_MIPI_DSI
Daniel Vetter4520f532013-10-09 09:18:51 +020015 # 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
Daniel Vetter4520f532013-10-09 09:18:51 +020019 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
Daniel Vetter4520f532013-10-09 09:18:51 +020038config DRM_I915_PRELIMINARY_HW_SUPPORT
39 bool "Enable preliminary support for prerelease Intel hardware by default"
40 depends on DRM_I915
Daniel Vetterb30324a2013-11-13 22:11:25 +010041 default n
Daniel Vetter4520f532013-10-09 09:18:51 +020042 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".
Chris Wilson755412e2016-01-11 09:16:14 +000049
Chris Wilson98a2f412016-10-12 10:05:18 +010050config 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
Chris Wilson0a970152016-10-12 10:05:22 +010063config 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
Chris Wilson755412e2016-01-11 09:16:14 +000075config 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".
Tvrtko Ursulin643a24b2016-03-03 14:36:43 +000085
Zhi Wang0ad35fe2016-06-16 08:07:00 -040086config DRM_I915_GVT
87 bool "Enable Intel GVT-g graphics virtualization host support"
88 depends on DRM_I915
89 default n
90 help
91 Choose this option if you want to enable Intel GVT-g graphics
92 virtualization technology host support with integrated graphics.
93 With GVT-g, it's possible to have one integrated graphics
94 device shared by multiple VMs under different hypervisors.
95
96 Note that at least one hypervisor like Xen or KVM is required for
97 this driver to work, and it only supports newer device from
98 Broadwell+. For further information and setup guide, you can
99 visit: http://01.org/igvt-g.
100
101 Now it's just a stub to support the modifications of i915 for
102 GVT device model. It requires at least one MPT modules for Xen/KVM
103 and other components of GVT device model to work. Use it under
104 you own risk.
105
106 If in doubt, say "N".
107
Tvrtko Ursulin643a24b2016-03-03 14:36:43 +0000108menu "drm/i915 Debugging"
109depends on DRM_I915
110depends on EXPERT
111source drivers/gpu/drm/i915/Kconfig.debug
112endmenu