brintos

brintos / linux-shallow public Read only

0
0
Text · 5.6 KiB · 14ac351 Raw
184 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_I9153	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"4	depends on DRM5	depends on X86 && PCI6	depends on !PREEMPT_RT7	select INTEL_GTT if X868	select INTERVAL_TREE9	# we need shmfs for the swappable backing store, and in particular10	# the shmem_readpage() which depends upon tmpfs11	select SHMEM12	select TMPFS13	select DRM_DISPLAY_DP_HELPER14	select DRM_DISPLAY_HDCP_HELPER15	select DRM_DISPLAY_HDMI_HELPER16	select DRM_DISPLAY_HELPER17	select DRM_KMS_HELPER18	select DRM_PANEL19	select DRM_MIPI_DSI20	select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION21	select RELAY22	select I2C23	select I2C_ALGOBIT24	select IRQ_WORK25	# i915 depends on ACPI_VIDEO when ACPI is enabled26	# but for select to work, need to select ACPI_VIDEO's dependencies, ick27	select BACKLIGHT_CLASS_DEVICE if ACPI28	select INPUT if ACPI29	select X86_PLATFORM_DEVICES if ACPI30	select ACPI_WMI if ACPI31	select ACPI_VIDEO if ACPI32	select SYNC_FILE33	select IOSF_MBI if X8634	select CRC3235	select SND_HDA_I915 if SND_HDA_CORE36	select CEC_CORE if CEC_NOTIFIER37	select VMAP_PFN38	select DRM_TTM39	select DRM_BUDDY40	select AUXILIARY_BUS41	help42	  Choose this option if you have a system that has "Intel Graphics43	  Media Accelerator" or "HD Graphics" integrated graphics,44	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,45	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,46	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.47 48	  This driver is used by the Intel driver in X.org 6.8 and49	  XFree86 4.4 and above. It replaces the older i830 module that50	  supported a subset of the hardware in older X.org releases.51 52	  Note that the older i810/i815 chipsets require the use of the53	  i810 driver instead, and the Atom z5xx series has an entirely54	  different implementation.55 56	  If "M" is selected, the module will be called i915.57 58config DRM_I915_FORCE_PROBE59	string "Force probe i915 for selected Intel hardware IDs"60	depends on DRM_I91561	help62	  This is the default value for the i915.force_probe module63	  parameter. Using the module parameter overrides this option.64 65	  Force probe the i915 driver for Intel graphics devices that are66	  recognized but not properly supported by this kernel version. Force67	  probing an unsupported device taints the kernel. It is recommended to68	  upgrade to a kernel version with proper support as soon as it is69	  available.70 71	  It can also be used to block the probe of recognized and fully72	  supported devices.73 74	  Use "" to disable force probe. If in doubt, use this.75 76	  Use "<pci-id>[,<pci-id>,...]" to force probe the i915 for listed77	  devices. For example, "4500" or "4500,4571".78 79	  Use "*" to force probe the driver for all known devices. Not80	  recommended.81 82	  Use "!" right before the ID to block the probe of the device. For83	  example, "4500,!4571" forces the probe of 4500 and blocks the probe of84	  4571.85 86	  Use "!*" to block the probe of the driver for all known devices.87 88config DRM_I915_CAPTURE_ERROR89	bool "Enable capturing GPU state following a hang"90	depends on DRM_I91591	default y92	help93	  This option enables capturing the GPU state when a hang is detected.94	  This information is vital for triaging hangs and assists in debugging.95	  Please report any hang for triaging according to:96	    https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html97 98	  If in doubt, say "Y".99 100config DRM_I915_COMPRESS_ERROR101	bool "Compress GPU error state"102	depends on DRM_I915_CAPTURE_ERROR103	select ZLIB_DEFLATE104	default y105	help106	  This option selects ZLIB_DEFLATE if it isn't already107	  selected and causes any error state captured upon a GPU hang108	  to be compressed using zlib.109 110	  If in doubt, say "Y".111 112config DRM_I915_USERPTR113	bool "Always enable userptr support"114	depends on DRM_I915115	select MMU_NOTIFIER116	default y117	help118	  This option selects CONFIG_MMU_NOTIFIER if it isn't already119	  selected to enabled full userptr support.120 121	  If in doubt, say "Y".122 123config DRM_I915_GVT_KVMGT124	tristate "Enable KVM host support Intel GVT-g graphics virtualization"125	depends on DRM_I915126	depends on KVM_X86127	depends on 64BIT128	depends on VFIO129	select DRM_I915_GVT130	select KVM_EXTERNAL_WRITE_TRACKING131	select VFIO_MDEV132 133	help134	  Choose this option if you want to enable Intel GVT-g graphics135	  virtualization technology host support with integrated graphics.136	  With GVT-g, it's possible to have one integrated graphics137	  device shared by multiple VMs under KVM.138 139	  Note that this driver only supports newer device from Broadwell on.140	  For further information and setup guide, you can visit:141	  https://github.com/intel/gvt-linux/wiki.142 143	  If in doubt, say "N".144 145config DRM_I915_PXP146	bool "Enable Intel PXP support"147	depends on DRM_I915148	depends on INTEL_MEI && INTEL_MEI_PXP149	default n150	help151	  PXP (Protected Xe Path) is an i915 component, available on graphics152	  version 12 and newer GPUs, that helps to establish the hardware153	  protected session and manage the status of the alive software session,154	  as well as its life cycle.155 156config DRM_I915_DP_TUNNEL157	bool "Enable DP tunnel support"158	depends on DRM_I915159	depends on USB4160	select DRM_DISPLAY_DP_TUNNEL161	default y162	help163	  Choose this option to detect DP tunnels and enable the Bandwidth164	  Allocation mode for such tunnels. This allows using the maximum165	  resolution allowed by the link BW on all displays sharing the166	  link BW, for instance on a Thunderbolt link.167 168	  If in doubt, say "Y".169 170menu "drm/i915 Debugging"171depends on DRM_I915172depends on EXPERT173source "drivers/gpu/drm/i915/Kconfig.debug"174endmenu175 176menu "drm/i915 Profile Guided Optimisation"177	visible if EXPERT178	depends on DRM_I915179	source "drivers/gpu/drm/i915/Kconfig.profile"180endmenu181 182config DRM_I915_GVT183	bool184