From: Mika Kuoppala Date: Thu, 30 Jan 2014 17:04:43 +0000 (+0200) Subject: drm/i915: Use hangcheck score to find guilty context X-Git-Tag: v3.15-rc1~51^2~62^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b0fac04de9ae9b1559eddf8e9490f3c9a01885;p=pandora-kernel.git drm/i915: Use hangcheck score to find guilty context With full ppgtt using acthd is not enough to find guilty batch buffer. We get multiple false positives as acthd is per vm. Instead of scanning which vm was running on a ring, to find corressponding context, use a different, simpler, strategy of finding batches that caused gpu hang: If hangcheck has declared ring to be hung, find first non complete request on that ring and claim it was guilty. v2: Rebase Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73652 Suggested-by: Chris Wilson Signed-off-by: Mika Kuoppala Reviewed-by: Ben Widawsky (v1) Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed