[Intel-gfx] [PATCH 1/3] drm/i915: Tune down output when context is banned

Mika Kuoppala mika.kuoppala at linux.intel.com
Fri Jan 17 15:20:29 CET 2014


Demote DRM_ERROR to DRM_INFO when context is banned.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=73652
Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
 drivers/gpu/drm/i915/i915_gem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 5fcdb14..d270351 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2313,7 +2313,7 @@ static bool i915_context_is_banned(const struct i915_ctx_hang_stats *hs)
 		return true;
 
 	if (elapsed <= DRM_I915_CTX_BAN_PERIOD) {
-		DRM_ERROR("context hanging too fast, declaring banned!\n");
+		DRM_INFO("context hanging too fast, declaring banned!\n");
 		return true;
 	}
 
-- 
1.7.9.5




More information about the Intel-gfx mailing list