1config DRM_I915_WERROR 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 5 depends on EXPERT 6 # We use the dependency on !COMPILE_TEST to not be enabled in 7 # allmodconfig or allyesconfig configurations 8 depends on !COMPILE_TEST 9 default n 10 help 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. 13 14 Recommended for driver developers only. 15 16 If in doubt, say "N". 17 18config DRM_I915_DEBUG 19 bool "Enable additional driver debugging" 20 depends on DRM_I915 21 select PREEMPT_COUNT 22 select I2C_CHARDEV 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 DRM_I915_SW_FENCE_DEBUG_OBJECTS 29 select DRM_I915_SELFTEST 30 default n 31 help 32 Choose this option to turn on extra driver debugging that may affect 33 performance but will catch some internal issues. 34 35 Recommended for driver developers only. 36 37 If in doubt, say "N". 38 39config DRM_I915_DEBUG_GEM 40 bool "Insert extra checks into the GEM internals" 41 default n 42 depends on DRM_I915_WERROR 43 help 44 Enable extra sanity checks (including BUGs) along the GEM driver 45 paths that may slow the system down and if hit hang the machine. 46 47 Recommended for driver developers only. 48 49 If in doubt, say "N". 50 51config DRM_I915_SW_FENCE_DEBUG_OBJECTS 52 bool "Enable additional driver debugging for fence objects" 53 depends on DRM_I915 54 select DEBUG_OBJECTS 55 default n 56 help 57 Choose this option to turn on extra driver debugging that may affect 58 performance but will catch some internal issues. 59 60 Recommended for driver developers only. 61 62 If in doubt, say "N". 63 64config DRM_I915_SW_FENCE_CHECK_DAG 65 bool "Enable additional driver debugging for detecting dependency cycles" 66 depends on DRM_I915 67 default n 68 help 69 Choose this option to turn on extra driver debugging that may affect 70 performance but will catch some internal issues. 71 72 Recommended for driver developers only. 73 74 If in doubt, say "N". 75 76config DRM_I915_SELFTEST 77 bool "Enable selftests upon driver load" 78 depends on DRM_I915 79 default n 80 select FAULT_INJECTION 81 select PRIME_NUMBERS 82 help 83 Choose this option to allow the driver to perform selftests upon 84 loading; also requires the i915.selftest=1 module parameter. To 85 exit the module after running the selftests (i.e. to prevent normal 86 module initialisation afterwards) use i915.selftest=-1. 87 88 Recommended for driver developers only. 89 90 If in doubt, say "N". 91 92config DRM_I915_LOW_LEVEL_TRACEPOINTS 93 bool "Enable low level request tracing events" 94 depends on DRM_I915 95 default n 96 help 97 Choose this option to turn on low level request tracing events. 98 This provides the ability to precisely monitor engine utilisation 99 and also analyze the request dependency resolving timeline. 100 101 If in doubt, say "N". 102 103config DRM_I915_DEBUG_VBLANK_EVADE 104 bool "Enable extra debug warnings for vblank evasion" 105 depends on DRM_I915 106 default n 107 help 108 Choose this option to turn on extra debug warnings for the 109 vblank evade mechanism. This gives a warning every time the 110 the deadline allotted for the vblank evade critical section 111 is exceeded, even if there isn't an actual risk of missing 112 the vblank. 113 114 If in doubt, say "N". 115