summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/Kconfig.debug
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-03-03 15:36:43 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-03-03 18:26:57 +0100
commit643a24b6ecdcb3ed866cdf25a60df3d731504126 (patch)
tree0eed287d756eff69beca4b1e5956bf38ee78c9d5 /drivers/gpu/drm/i915/Kconfig.debug
parentdrm/i915/lrc: Do not wait atomically when stopping engines (diff)
downloadlinux-643a24b6ecdcb3ed866cdf25a60df3d731504126.tar.xz
linux-643a24b6ecdcb3ed866cdf25a60df3d731504126.zip
drm/i915: Kconfig for extra driver debugging
v2: Added a submenu based on an idea by Chris Wilson. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
-rw-r--r--drivers/gpu/drm/i915/Kconfig.debug12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
new file mode 100644
index 000000000000..649a562ddf17
--- /dev/null
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -0,0 +1,12 @@
+config DRM_I915_DEBUG
+ bool "Enable additional driver debugging"
+ depends on DRM_I915
+ default n
+ help
+ Choose this option to turn on extra driver debugging that may affect
+ performance but will catch some internal issues.
+
+ Recommended for driver developers only.
+
+ If in doubt, say "N".
+