Kconfig.debug 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. select PREEMPT_COUNT
  19. select I2C_CHARDEV
  20. select DRM_DP_AUX_CHARDEV
  21. select X86_MSR # used by igt/pm_rpm
  22. select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
  23. select DRM_DEBUG_MM if DRM=y
  24. select DRM_I915_SW_FENCE_DEBUG_OBJECTS
  25. default n
  26. help
  27. Choose this option to turn on extra driver debugging that may affect
  28. performance but will catch some internal issues.
  29. Recommended for driver developers only.
  30. If in doubt, say "N".
  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. Recommended for driver developers only.
  39. If in doubt, say "N".
  40. config DRM_I915_SW_FENCE_DEBUG_OBJECTS
  41. bool "Enable additional driver debugging for fence objects"
  42. depends on DRM_I915
  43. select DEBUG_OBJECTS
  44. default n
  45. help
  46. Choose this option to turn on extra driver debugging that may affect
  47. performance but will catch some internal issues.
  48. Recommended for driver developers only.
  49. If in doubt, say "N".