From: Mika Kuoppala Date: Tue, 5 Aug 2014 14:16:26 +0000 (+0300) Subject: drm/i915: Don't accumulate hangcheck score on forward progress X-Git-Tag: omap-for-v3.17/fixes-against-rc2~124^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f260fe7b2f8c32e2fb02a36d3b76ef64b61dbdc5;p=pandora-kernel.git 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-diff-tree failed