Chris Wilson | 0a793ad | 2016-04-13 17:35:00 +0100 | [diff] [blame] | 1 | config 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 | |
Tvrtko Ursulin | 643a24b | 2016-03-03 14:36:43 +0000 | [diff] [blame] | 18 | config DRM_I915_DEBUG |
| 19 | bool "Enable additional driver debugging" |
| 20 | depends on DRM_I915 |
Tvrtko Ursulin | c68b0ab | 2016-06-28 12:51:49 +0100 | [diff] [blame] | 21 | select PREEMPT_COUNT |
Imre Deak | 3c30c7f | 2016-12-02 18:35:41 +0200 | [diff] [blame] | 22 | select I2C_CHARDEV |
| 23 | select DRM_DP_AUX_CHARDEV |
Chris Wilson | 5bc1e9e | 2016-07-09 09:49:07 +0100 | [diff] [blame] | 24 | select X86_MSR # used by igt/pm_rpm |
Chris Wilson | c31966a | 2016-07-09 11:22:57 +0100 | [diff] [blame] | 25 | select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks) |
Chris Wilson | 77d150b | 2016-11-08 13:19:16 +0000 | [diff] [blame] | 26 | select DRM_DEBUG_MM if DRM=y |
Chris Wilson | 170b03c | 2017-01-25 10:11:02 +0000 | [diff] [blame] | 27 | select DRM_DEBUG_MM_SELFTEST |
Chris Wilson | bdb821c | 2016-12-05 14:29:40 +0000 | [diff] [blame] | 28 | select DRM_I915_SW_FENCE_DEBUG_OBJECTS |
Chris Wilson | 953c7f8 | 2017-02-13 17:15:12 +0000 | [diff] [blame] | 29 | select DRM_I915_SELFTEST |
Tvrtko Ursulin | 643a24b | 2016-03-03 14:36:43 +0000 | [diff] [blame] | 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 | |
Chris Wilson | d501b1d | 2016-04-13 17:35:02 +0100 | [diff] [blame] | 39 | config 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 | |
Chris Wilson | fc15840 | 2016-11-25 13:17:18 +0000 | [diff] [blame] | 51 | config DRM_I915_SW_FENCE_DEBUG_OBJECTS |
| 52 | bool "Enable additional driver debugging for fence objects" |
Chris Wilson | bdb821c | 2016-12-05 14:29:40 +0000 | [diff] [blame] | 53 | depends on DRM_I915 |
Chris Wilson | fc15840 | 2016-11-25 13:17:18 +0000 | [diff] [blame] | 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". |
Chris Wilson | 953c7f8 | 2017-02-13 17:15:12 +0000 | [diff] [blame] | 63 | |
| 64 | config DRM_I915_SELFTEST |
| 65 | bool "Enable selftests upon driver load" |
| 66 | depends on DRM_I915 |
| 67 | default n |
Chris Wilson | aae4a3d | 2017-02-13 17:15:44 +0000 | [diff] [blame] | 68 | select FAULT_INJECTION |
Chris Wilson | 953c7f8 | 2017-02-13 17:15:12 +0000 | [diff] [blame] | 69 | select PRIME_NUMBERS |
| 70 | help |
| 71 | Choose this option to allow the driver to perform selftests upon |
| 72 | loading; also requires the i915.selftest=1 module parameter. To |
| 73 | exit the module after running the selftests (i.e. to prevent normal |
| 74 | module initialisation afterwards) use i915.selftest=-1. |
| 75 | |
| 76 | Recommended for driver developers only. |
| 77 | |
| 78 | If in doubt, say "N". |
Tvrtko Ursulin | 354d036 | 2017-02-21 11:01:42 +0000 | [diff] [blame] | 79 | |
| 80 | config DRM_I915_LOW_LEVEL_TRACEPOINTS |
| 81 | bool "Enable low level request tracing events" |
| 82 | depends on DRM_I915 |
| 83 | default n |
| 84 | help |
| 85 | Choose this option to turn on low level request tracing events. |
| 86 | This provides the ability to precisely monitor engine utilisation |
| 87 | and also analyze the request dependency resolving timeline. |
| 88 | |
| 89 | If in doubt, say "N". |