From f260fe7b2f8c32e2fb02a36d3b76ef64b61dbdc5 Mon Sep 17 00:00:00 2001 From: Mika Kuoppala Date: Tue, 5 Aug 2014 17:16:26 +0300 Subject: [PATCH] drm/i915: Don't accumulate hangcheck score on forward progress If the actual head has progressed forward inside a batch (request), don't accumulate hangcheck score. As the hangcheck score in increased only by acthd jumping backwards, the result is that we only declare an active batch as stuck if it is trapped inside a loop. Or that the looping will dominate the batch progression so that it overcomes the bonus that forward progress gives. v2: Improved commit message (Chris Wilson) Signed-off-by: Mika Kuoppala [danvet: s/active_loop/active (loop)/ as requested by Chris.] Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-format-patch failed