From: Chris Wilson Date: Wed, 8 Sep 2010 23:02:03 +0000 (+0100) Subject: drm/i915: Double check that the wait_request is not pending before warning X-Git-Tag: v2.6.36-rc4~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7839d956fc6aecbb66d645b4050e8e88e2e821cd;p=pandora-kernel.git drm/i915: Double check that the wait_request is not pending before warning If we are busy, then we may have woken up the wait_request handler but not yet serviced it before the hang check fires. So in hang check, double check that the i915_gem_do_wait_request() is still pending the wake-up before declaring all hope lost. Fixes regression with e78d73b16bcde921c9cf458d2e4de8e4fc2518f3. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30073 Reported-and-tested-by: Sitsofe Wheeler Signed-off-by: Chris Wilson --- Reading git-diff-tree failed