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 |
Tvrtko Ursulin | 643a24b | 2016-03-03 14:36:43 +0000 | [diff] [blame] | 22 | default n |
| 23 | help |
| 24 | Choose this option to turn on extra driver debugging that may affect |
| 25 | performance but will catch some internal issues. |
| 26 | |
| 27 | Recommended for driver developers only. |
| 28 | |
| 29 | If in doubt, say "N". |
| 30 | |
Chris Wilson | d501b1d | 2016-04-13 17:35:02 +0100 | [diff] [blame] | 31 | config DRM_I915_DEBUG_GEM |
| 32 | bool "Insert extra checks into the GEM internals" |
| 33 | default n |
| 34 | depends on DRM_I915_WERROR |
| 35 | help |
| 36 | Enable extra sanity checks (including BUGs) along the GEM driver |
| 37 | paths that may slow the system down and if hit hang the machine. |
| 38 | |
| 39 | Recommended for driver developers only. |
| 40 | |
| 41 | If in doubt, say "N". |
| 42 | |