2 bool "Force GCC to throw an error instead of a warning when compiling"
3 # As this may inadvertently break the build, only allow the user
4 # to shoot oneself in the foot iff they aim really hard
6 # We use the dependency on !COMPILE_TEST to not be enabled in
7 # allmodconfig or allyesconfig configurations
8 depends on !COMPILE_TEST
11 Add -Werror to the build flags for (and only for) i915.ko.
12 Do not enable this unless you are writing code for the i915.ko module.
14 Recommended for driver developers only.
19 bool "Enable additional driver debugging"
23 select DRM_DP_AUX_CHARDEV
24 select X86_MSR # used by igt/pm_rpm
25 select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
26 select DRM_DEBUG_MM if DRM=y
27 select DRM_DEBUG_MM_SELFTEST
28 select SW_SYNC # signaling validation framework (igt/syncobj*)
29 select DRM_I915_SW_FENCE_DEBUG_OBJECTS
30 select DRM_I915_SELFTEST
33 Choose this option to turn on extra driver debugging that may affect
34 performance but will catch some internal issues.
36 Recommended for driver developers only.
40 config DRM_I915_DEBUG_GEM
41 bool "Insert extra checks into the GEM internals"
43 depends on DRM_I915_WERROR
45 Enable extra sanity checks (including BUGs) along the GEM driver
46 paths that may slow the system down and if hit hang the machine.
48 Recommended for driver developers only.
52 config DRM_I915_SW_FENCE_DEBUG_OBJECTS
53 bool "Enable additional driver debugging for fence objects"
58 Choose this option to turn on extra driver debugging that may affect
59 performance but will catch some internal issues.
61 Recommended for driver developers only.
65 config DRM_I915_SW_FENCE_CHECK_DAG
66 bool "Enable additional driver debugging for detecting dependency cycles"
70 Choose this option to turn on extra driver debugging that may affect
71 performance but will catch some internal issues.
73 Recommended for driver developers only.
77 config DRM_I915_SELFTEST
78 bool "Enable selftests upon driver load"
81 select FAULT_INJECTION
84 Choose this option to allow the driver to perform selftests upon
85 loading; also requires the i915.selftest=1 module parameter. To
86 exit the module after running the selftests (i.e. to prevent normal
87 module initialisation afterwards) use i915.selftest=-1.
89 Recommended for driver developers only.
93 config DRM_I915_LOW_LEVEL_TRACEPOINTS
94 bool "Enable low level request tracing events"
98 Choose this option to turn on low level request tracing events.
99 This provides the ability to precisely monitor engine utilisation
100 and also analyze the request dependency resolving timeline.
102 If in doubt, say "N".
104 config DRM_I915_DEBUG_VBLANK_EVADE
105 bool "Enable extra debug warnings for vblank evasion"
109 Choose this option to turn on extra debug warnings for the
110 vblank evade mechanism. This gives a warning every time the
111 the deadline allotted for the vblank evade critical section
112 is exceeded, even if there isn't an actual risk of missing
115 If in doubt, say "N".