Directory Files
.. 108
display 149
gem 38
gt 137
gvt 44
selftests 48
File Size
.gitignore 50 B
Kconfig 4.8 kB
Kconfig.debug 7.2 kB
Kconfig.profile 4.7 kB
Kconfig.unstable 1.0 kB
Makefile 8.5 kB
TODO.txt 1.8 kB
dma_resv_utils.c 325 B
dma_resv_utils.h 226 B
i915.mod.c 0 B
i915_active.c 30 kB
i915_active.h 8.9 kB
i915_active_types.h 926 B
i915_buddy.c 8.8 kB
i915_buddy.h 3.6 kB
i915_cmd_parser.c 50 kB
i915_config.c 333 B
i915_debugfs.c 31 kB
i915_debugfs.h 627 B
i915_debugfs_params.c 6.6 kB
i915_debugfs_params.h 293 B
i915_drv.c 52 kB
i915_drv.h 61 kB
i915_fixed.h 2.8 kB
i915_gem.c 31 kB
i915_gem.h 3.7 kB
i915_gem_evict.c 13 kB
i915_gem_gtt.c 9.9 kB
i915_gem_gtt.h 1.4 kB
i915_gem_ww.c 1.4 kB
i915_gem_ww.h 1.2 kB
i915_getparam.c 4.9 kB
i915_gpu_error.c 48 kB
i915_gpu_error.h 7.3 kB
i915_ioc32.c 2.9 kB
i915_ioc32.h 342 B
i915_irq.c 132 kB
i915_irq.h 5.6 kB
i915_memcpy.c 4.7 kB
i915_memcpy.h 1.2 kB
i915_mitigations.c 3.1 kB
i915_mitigations.h 250 B
i915_mm.c 4.4 kB
i915_module.c 2.8 kB
i915_params.c 9.9 kB
i915_params.h 4.1 kB
i915_pci.c 32 kB
i915_pci.h 157 B
i915_perf.c 138 kB
i915_perf.h 1.6 kB
i915_perf_types.h 12 kB
i915_pmu.c 30 kB
i915_pmu.h 4.2 kB
i915_priolist_types.h 1.3 kB
i915_pvinfo.h 3.6 kB
i915_query.c 13 kB
i915_query.h 255 B
i915_reg.h 521 kB
i915_request.c 62 kB
i915_request.h 22 kB
i915_scatterlist.c 4.5 kB
i915_scatterlist.h 4.0 kB
i915_scheduler.c 14 kB
i915_scheduler.h 2.9 kB
i915_scheduler_types.h 6.2 kB
i915_selftest.h 4.5 kB
i915_suspend.c 4.2 kB
i915_suspend.h 309 B
i915_sw_fence.c 14 kB
i915_sw_fence.h 3.1 kB
i915_sw_fence_work.c 2.1 kB
i915_sw_fence_work.h 1.7 kB
i915_switcheroo.c 1.9 kB
i915_switcheroo.h 324 B
i915_syncmap.c 11 kB
i915_syncmap.h 1.6 kB
i915_sysfs.c 16 kB
i915_sysfs.h 301 B
i915_trace.h 35 kB
i915_trace_points.c 246 B
i915_ttm_buddy_manager.c 6.9 kB
i915_ttm_buddy_manager.h 1.4 kB
i915_user_extensions.c 1.1 kB
i915_user_extensions.h 458 B
i915_utils.c 2.8 kB
i915_utils.h 14 kB
i915_vgpu.c 12 kB
i915_vgpu.h 1.8 kB
i915_vma.c 36 kB
i915_vma.h 12 kB
i915_vma_types.h 9.8 kB
intel_device_info.c 13 kB
intel_device_info.h 6.5 kB
intel_dram.c 13 kB
intel_dram.h 306 B
intel_gvt.c 4.7 kB
intel_gvt.h 2.1 kB
intel_memory_region.c 5.0 kB
intel_memory_region.h 3.5 kB
intel_pch.c 9.0 kB
intel_pch.h 3.7 kB
intel_pm.c 249 kB
intel_pm.h 3.9 kB
intel_region_ttm.c 5.6 kB
intel_region_ttm.h 1.1 kB
intel_runtime_pm.c 19 kB
intel_runtime_pm.h 7.3 kB
intel_sideband.c 16 kB
intel_sideband.h 4.0 kB
intel_step.c 7.0 kB
intel_step.h 925 B
intel_uncore.c 81 kB
intel_uncore.h 14 kB
intel_wakeref.c 4.5 kB
intel_wakeref.h 7.2 kB
intel_wopcm.c 8.8 kB
intel_wopcm.h 1.2 kB
vlv_suspend.c 15 kB
vlv_suspend.h 458 B

Linux v5.15-rc1 - i915

# SPDX-License-Identifier: GPL-2.0-only
config DRM_I915
	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
	depends on DRM
	depends on X86 && PCI
	select INTEL_GTT
	# we need shmfs for the swappable backing store, and in particular
	# the shmem_readpage() which depends upon tmpfs
	select SHMEM
	select TMPFS
	select DRM_PANEL
	select DRM_MIPI_DSI
	select RELAY
	select IRQ_WORK
	# i915 depends on ACPI_VIDEO when ACPI is enabled
	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
	select INPUT if ACPI
	select ACPI_VIDEO if ACPI
	select SYNC_FILE
	select IOSF_MBI
	select CRC32
	select SND_HDA_I915 if SND_HDA_CORE
	select VMAP_PFN
	select DRM_TTM
	  Choose this option if you have a system that has "Intel Graphics
	  Media Accelerator" or "HD Graphics" integrated graphics,
	  including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
	  G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
	  Core i5, Core i7 as well as Atom CPUs with integrated graphics.

	  This driver is used by the Intel driver in 6.8 and
	  XFree86 4.4 and above. It replaces the older i830 module that
	  supported a subset of the hardware in older releases.

	  Note that the older i810/i815 chipsets require the use of the
	  i810 driver instead, and the Atom z5xx series has an entirely
	  different implementation.

	  If "M" is selected, the module will be called i915.

	string "Force probe driver for selected new Intel hardware"
	depends on DRM_I915
	  This is the default value for the i915.force_probe module
	  parameter. Using the module parameter overrides this option.

	  Force probe the driver for new Intel graphics devices that are
	  recognized but not properly supported by this kernel version. It is
	  recommended to upgrade to a kernel version with proper support as soon
	  as it is available.

	  Use "" to disable force probe. If in doubt, use this.

	  Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed
	  devices. For example, "4500" or "4500,4571".

	  Use "*" to force probe the driver for all known devices.

	bool "Enable capturing GPU state following a hang"
	depends on DRM_I915
	default y
	  This option enables capturing the GPU state when a hang is detected.
	  This information is vital for triaging hangs and assists in debugging.
	  Please report any hang for triaging according to:

	  If in doubt, say "Y".

	bool "Compress GPU error state"
	depends on DRM_I915_CAPTURE_ERROR
	default y
	  This option selects ZLIB_DEFLATE if it isn't already
	  selected and causes any error state captured upon a GPU hang
	  to be compressed using zlib.

	  If in doubt, say "Y".

config DRM_I915_USERPTR
	bool "Always enable userptr support"
	depends on DRM_I915
	default y
	  This option selects CONFIG_MMU_NOTIFIER if it isn't already
	  selected to enabled full userptr support.

	  If in doubt, say "Y".

config DRM_I915_GVT
	bool "Enable Intel GVT-g graphics virtualization host support"
	depends on DRM_I915
	depends on 64BIT
	default n
	  Choose this option if you want to enable Intel GVT-g graphics
	  virtualization technology host support with integrated graphics.
	  With GVT-g, it's possible to have one integrated graphics
	  device shared by multiple VMs under different hypervisors.

	  Note that at least one hypervisor like Xen or KVM is required for
	  this driver to work, and it only supports newer device from
	  Broadwell+. For further information and setup guide, you can

	  Now it's just a stub to support the modifications of i915 for
	  GVT device model. It requires at least one MPT modules for Xen/KVM
	  and other components of GVT device model to work. Use it under
	  you own risk.

	  If in doubt, say "N".

config DRM_I915_GVT_KVMGT
	tristate "Enable KVM/VFIO support for Intel GVT-g"
	depends on DRM_I915_GVT
	depends on KVM
	depends on VFIO_MDEV
	default n
	  Choose this option if you want to enable KVMGT support for
	  Intel GVT-g.

menu "drm/i915 Debugging"
depends on DRM_I915
depends on EXPERT
source "drivers/gpu/drm/i915/Kconfig.debug"

menu "drm/i915 Profile Guided Optimisation"
	visible if EXPERT
	depends on DRM_I915
	source "drivers/gpu/drm/i915/Kconfig.profile"

menu "drm/i915 Unstable Evolution"
	visible if EXPERT && STAGING && BROKEN
	depends on DRM_I915
	source "drivers/gpu/drm/i915/Kconfig.unstable"