summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/Kconfig.debug
diff options
context:
space:
mode:
authorChris Wilson2017-05-17 14:09:57 +0200
committerChris Wilson2017-05-17 14:38:02 +0200
commit47624cc3301b6033d51b84a1381c2d69fda9b1a0 (patch)
treeb9fd933b5daea615d09b07074edcd38f58e805ec /drivers/gpu/drm/i915/Kconfig.debug
parentdrm/i915: Remove kref from i915_sw_fence (diff)
downloadkernel-qcow2-linux-47624cc3301b6033d51b84a1381c2d69fda9b1a0.tar.gz
kernel-qcow2-linux-47624cc3301b6033d51b84a1381c2d69fda9b1a0.tar.xz
kernel-qcow2-linux-47624cc3301b6033d51b84a1381c2d69fda9b1a0.zip
drm/i915: Import the kfence selftests for i915_sw_fence
A long time ago, I wrote some selftests for the struct kfence idea. Now that we have infrastructure in i915/igt for running kselftests, include some for i915_sw_fence. v2: INIT_WORK_ONSTACK/destroy_work_on_stack (Mika) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170517121007.27224-2-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
index e091809a9a9e..d4860c3a3bf9 100644
--- a/drivers/gpu/drm/i915/Kconfig.debug
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -61,6 +61,18 @@ config DRM_I915_SW_FENCE_DEBUG_OBJECTS
If in doubt, say "N".
+config DRM_I915_SW_FENCE_CHECK_DAG
+ bool "Enable additional driver debugging for detecting dependency cycles"
+ 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".
+
config DRM_I915_SELFTEST
bool "Enable selftests upon driver load"
depends on DRM_I915