Kconfig.debug 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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_DEBUG_MM_SELFTEST
  25. select SW_SYNC # signaling validation framework (igt/syncobj*)
  26. select DRM_I915_SW_FENCE_DEBUG_OBJECTS
  27. select DRM_I915_SELFTEST
  28. default n
  29. help
  30. Choose this option to turn on extra driver debugging that may affect
  31. performance but will catch some internal issues.
  32. Recommended for driver developers only.
  33. If in doubt, say "N".
  34. config DRM_I915_DEBUG_GEM
  35. bool "Insert extra checks into the GEM internals"
  36. default n
  37. depends on DRM_I915_WERROR
  38. help
  39. Enable extra sanity checks (including BUGs) along the GEM driver
  40. paths that may slow the system down and if hit hang the machine.
  41. Recommended for driver developers only.
  42. If in doubt, say "N".
  43. config DRM_I915_SW_FENCE_DEBUG_OBJECTS
  44. bool "Enable additional driver debugging for fence objects"
  45. depends on DRM_I915
  46. select DEBUG_OBJECTS
  47. default n
  48. help
  49. Choose this option to turn on extra driver debugging that may affect
  50. performance but will catch some internal issues.
  51. Recommended for driver developers only.
  52. If in doubt, say "N".
  53. config DRM_I915_SW_FENCE_CHECK_DAG
  54. bool "Enable additional driver debugging for detecting dependency cycles"
  55. depends on DRM_I915
  56. default n
  57. help
  58. Choose this option to turn on extra driver debugging that may affect
  59. performance but will catch some internal issues.
  60. Recommended for driver developers only.
  61. If in doubt, say "N".
  62. config DRM_I915_SELFTEST
  63. bool "Enable selftests upon driver load"
  64. depends on DRM_I915
  65. default n
  66. select FAULT_INJECTION
  67. select PRIME_NUMBERS
  68. help
  69. Choose this option to allow the driver to perform selftests upon
  70. loading; also requires the i915.selftest=1 module parameter. To
  71. exit the module after running the selftests (i.e. to prevent normal
  72. module initialisation afterwards) use i915.selftest=-1.
  73. Recommended for driver developers only.
  74. If in doubt, say "N".
  75. config DRM_I915_LOW_LEVEL_TRACEPOINTS
  76. bool "Enable low level request tracing events"
  77. depends on DRM_I915
  78. default n
  79. help
  80. Choose this option to turn on low level request tracing events.
  81. This provides the ability to precisely monitor engine utilisation
  82. and also analyze the request dependency resolving timeline.
  83. If in doubt, say "N".
  84. config DRM_I915_DEBUG_VBLANK_EVADE
  85. bool "Enable extra debug warnings for vblank evasion"
  86. depends on DRM_I915
  87. default n
  88. help
  89. Choose this option to turn on extra debug warnings for the
  90. vblank evade mechanism. This gives a warning every time the
  91. the deadline allotted for the vblank evade critical section
  92. is exceeded, even if there isn't an actual risk of missing
  93. the vblank.
  94. If in doubt, say "N".