forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/drm/i915/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config DRM_I915
23 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
34 depends on DRM
....@@ -15,7 +16,6 @@
1516 select IRQ_WORK
1617 # i915 depends on ACPI_VIDEO when ACPI is enabled
1718 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
18
- select BACKLIGHT_LCD_SUPPORT if ACPI
1919 select BACKLIGHT_CLASS_DEVICE if ACPI
2020 select INPUT if ACPI
2121 select ACPI_VIDEO if ACPI
....@@ -25,6 +25,7 @@
2525 select CRC32
2626 select SND_HDA_I915 if SND_HDA_CORE
2727 select CEC_CORE if CEC_NOTIFIER
28
+ select VMAP_PFN
2829 help
2930 Choose this option if you have a system that has "Intel Graphics
3031 Media Accelerator" or "HD Graphics" integrated graphics,
....@@ -42,22 +43,24 @@
4243
4344 If "M" is selected, the module will be called i915.
4445
45
-config DRM_I915_ALPHA_SUPPORT
46
- bool "Enable alpha quality support for new Intel hardware by default"
46
+config DRM_I915_FORCE_PROBE
47
+ string "Force probe driver for selected new Intel hardware"
4748 depends on DRM_I915
48
- default n
4949 help
50
- Choose this option if you have new Intel hardware and want to enable
51
- the alpha quality i915 driver support for the hardware in this kernel
52
- version. You can also enable the support at runtime using the module
53
- parameter i915.alpha_support=1; this option changes the default for
54
- that module parameter.
50
+ This is the default value for the i915.force_probe module
51
+ parameter. Using the module parameter overrides this option.
5552
56
- It is recommended to upgrade to a kernel version with proper support
57
- as soon as it is available. Generally fixes for platforms with alpha
58
- support are not backported to older kernels.
53
+ Force probe the driver for new Intel graphics devices that are
54
+ recognized but not properly supported by this kernel version. It is
55
+ recommended to upgrade to a kernel version with proper support as soon
56
+ as it is available.
5957
60
- If in doubt, say "N".
58
+ Use "" to disable force probe. If in doubt, use this.
59
+
60
+ Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed
61
+ devices. For example, "4500" or "4500,4571".
62
+
63
+ Use "*" to force probe the driver for all known devices.
6164
6265 config DRM_I915_CAPTURE_ERROR
6366 bool "Enable capturing GPU state following a hang"
....@@ -66,9 +69,8 @@
6669 help
6770 This option enables capturing the GPU state when a hang is detected.
6871 This information is vital for triaging hangs and assists in debugging.
69
- Please report any hang to
70
- https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
71
- for triaging.
72
+ Please report any hang for triaging according to:
73
+ https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
7274
7375 If in doubt, say "Y".
7476
....@@ -96,11 +98,12 @@
9698 If in doubt, say "Y".
9799
98100 config DRM_I915_GVT
99
- bool "Enable Intel GVT-g graphics virtualization host support"
100
- depends on DRM_I915
101
- depends on 64BIT
102
- default n
103
- help
101
+ bool "Enable Intel GVT-g graphics virtualization host support"
102
+ depends on DRM_I915
103
+ depends on X86
104
+ depends on 64BIT
105
+ default n
106
+ help
104107 Choose this option if you want to enable Intel GVT-g graphics
105108 virtualization technology host support with integrated graphics.
106109 With GVT-g, it's possible to have one integrated graphics
....@@ -131,5 +134,17 @@
131134 menu "drm/i915 Debugging"
132135 depends on DRM_I915
133136 depends on EXPERT
134
-source drivers/gpu/drm/i915/Kconfig.debug
137
+source "drivers/gpu/drm/i915/Kconfig.debug"
138
+endmenu
139
+
140
+menu "drm/i915 Profile Guided Optimisation"
141
+ visible if EXPERT
142
+ depends on DRM_I915
143
+ source "drivers/gpu/drm/i915/Kconfig.profile"
144
+endmenu
145
+
146
+menu "drm/i915 Unstable Evolution"
147
+ visible if EXPERT && STAGING && BROKEN
148
+ depends on DRM_I915
149
+ source "drivers/gpu/drm/i915/Kconfig.unstable"
135150 endmenu