Kconfig.debug 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. Recommended for driver developers only.
  14. If in doubt, say "N".
  15. config DRM_I915_DEBUG
  16. bool "Enable additional driver debugging"
  17. depends on DRM_I915
  18. default n
  19. help
  20. Choose this option to turn on extra driver debugging that may affect
  21. performance but will catch some internal issues.
  22. Recommended for driver developers only.
  23. If in doubt, say "N".
  24. config DRM_I915_DEBUG_GEM
  25. bool "Insert extra checks into the GEM internals"
  26. default n
  27. depends on DRM_I915_WERROR
  28. help
  29. Enable extra sanity checks (including BUGs) along the GEM driver
  30. paths that may slow the system down and if hit hang the machine.
  31. Recommended for driver developers only.
  32. If in doubt, say "N".