intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/27] drm/i915: Squelch very verbose error logging
@ 2018-07-06  6:53 Chris Wilson
  2018-07-06  6:53 ` [PATCH 02/27] drm/i915/selftests: Destroy partial tiling vma after use Chris Wilson
                   ` (30 more replies)
  0 siblings, 31 replies; 41+ messages in thread
From: Chris Wilson @ 2018-07-06  6:53 UTC (permalink / raw)
  To: intel-gfx

Having found the error causing the IGT test to fail, downgrade the
verbose logging so that we stop flooding the syslogs as we deliberately
provoke it many thousands of time during selftests.

References: 10195b1e4411 ("drm/i915: Show vma allocator stack when in doubt")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/Kconfig.debug | 12 ++++++++++++
 drivers/gpu/drm/i915/i915_vma.c    |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
index 9de8b1c51a5c..459f8f88a34c 100644
--- a/drivers/gpu/drm/i915/Kconfig.debug
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -51,6 +51,18 @@ config DRM_I915_DEBUG_GEM
 
           If in doubt, say "N".
 
+config DRM_I915_ERRLOG_GEM
+	bool "Insert extra logging (very verbose) for common GEM errors"
+	default n
+	depends on DRM_I915_DEBUG_GEM
+	help
+	  Enable additional logging that may help track down the cause of
+	  principally userspace errors.
+
+	  Recommended for driver developers only.
+
+	  If in doubt, say "N".
+
 config DRM_I915_TRACE_GEM
 	bool "Insert extra ftrace output from the GEM internals"
 	depends on DRM_I915_DEBUG_GEM
diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c
index de2b6d65e865..518de47111ff 100644
--- a/drivers/gpu/drm/i915/i915_vma.c
+++ b/drivers/gpu/drm/i915/i915_vma.c
@@ -30,7 +30,7 @@
 
 #include <drm/drm_gem.h>
 
-#if IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM) && IS_ENABLED(CONFIG_DRM_DEBUG_MM)
+#if IS_ENABLED(CONFIG_DRM_I915_ERRLOG_GEM) && IS_ENABLED(CONFIG_DRM_DEBUG_MM)
 
 #include <linux/stackdepot.h>
 
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2018-07-06 21:31 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06  6:53 [PATCH 01/27] drm/i915: Squelch very verbose error logging Chris Wilson
2018-07-06  6:53 ` [PATCH 02/27] drm/i915/selftests: Destroy partial tiling vma after use Chris Wilson
2018-07-06  8:52   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 03/27] drm/i915/selftests: Skip using the GPU if wedged Chris Wilson
2018-07-06  9:05   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 04/27] drm/i915/selftests: Skip making an object busy if the GPU is wedged Chris Wilson
2018-07-06  9:10   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 05/27] drm/i915/selftests: Skip all request selftests when wedged Chris Wilson
2018-07-06  9:11   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 06/27] drm/i915/selftests: Skip workaround tests " Chris Wilson
2018-07-06  9:13   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 07/27] drm/i915/selftests: Skip live eviction " Chris Wilson
2018-07-06  9:15   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 08/27] drm/i915/selftests: Skip huge pages live tests if wedged Chris Wilson
2018-07-06  8:30   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 09/27] drm/i915/selftests: Skip over live context testing when wedged Chris Wilson
2018-07-06  9:18   ` Matthew Auld
2018-07-06  6:53 ` [PATCH 10/27] drm/i915/selftests: Skip live context execution test without logical contexts Chris Wilson
2018-07-06  6:53 ` [PATCH 11/27] drm/i915: Refactor export_fence() after i915_vma_move_to_active() Chris Wilson
2018-07-06  6:53 ` [PATCH 12/27] drm/i915: Export i915_request_skip() Chris Wilson
2018-07-06  6:53 ` [PATCH 13/27] drm/i915: Start returning an error from i915_vma_move_to_active() Chris Wilson
2018-07-06  6:53 ` [PATCH 14/27] drm/i915: Move i915_vma_move_to_active() to i915_vma.c Chris Wilson
2018-07-06  6:53 ` [PATCH 15/27] drm/i915: Track vma activity per fence.context, not per engine Chris Wilson
2018-07-06  6:53 ` [PATCH 16/27] drm/i915: Track the last-active inside the i915_vma Chris Wilson
2018-07-06  6:53 ` [PATCH 17/27] drm/i915: Replace nested subclassing with explicit subclasses Chris Wilson
2018-07-06 13:17   ` Tvrtko Ursulin
2018-07-06  6:53 ` [PATCH 18/27] drm/i915: Only reset hangcheck at the start of an activity cycle Chris Wilson
2018-07-06  6:53 ` [PATCH 19/27] drm/i915: Stop tracking MRU activity on VMA Chris Wilson
2018-07-06  6:53 ` [PATCH 20/27] drm/i915: Introduce i915_address_space.mutex Chris Wilson
2018-07-06  6:53 ` [PATCH 21/27] drm/i915: Move fence register tracking to GGTT Chris Wilson
2018-07-06  6:53 ` [PATCH 22/27] drm/i915: Convert fences to use a GGTT lock rather than struct_mutex Chris Wilson
2018-07-06  6:53 ` [PATCH 23/27] drm/i915: Tidy i915_gem_suspend() Chris Wilson
2018-07-06  6:53 ` [PATCH 24/27] drm/i915: Move fence-reg interface to i915_gem_fence_reg.h Chris Wilson
2018-07-06  6:53 ` [PATCH 25/27] drm/i915: Dynamically allocate the array of drm_i915_gem_fence_reg Chris Wilson
2018-07-06  6:53 ` [PATCH 26/27] drm/i915: Pull all the reset functionality together into i915_reset.c Chris Wilson
2018-07-06  6:53 ` [PATCH 27/27] drm/i915: Remove GPU reset dependence on struct_mutex Chris Wilson
2018-07-06  7:33 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/27] drm/i915: Squelch very verbose error logging Patchwork
2018-07-06  7:43 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-07-06  7:50 ` ✓ Fi.CI.BAT: success " Patchwork
2018-07-06  9:00 ` [PATCH 01/27] " Matthew Auld
2018-07-06 21:31 ` ✗ Fi.CI.IGT: failure for series starting with [01/27] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).