From: Ben Widawsky Date: Thu, 9 Feb 2012 09:15:19 +0000 (+0100) Subject: drm/i915: catch gtfifo errors on forcewake_put X-Git-Tag: v3.4-rc1~143^2~85^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee64cbdbf617067988168a4a49fcaabdd2743da6;p=pandora-kernel.git drm/i915: catch gtfifo errors on forcewake_put This is similar to a patch I wrote several months ago. It's been updated for the new FORCEWAKE_MT. As recommended by Chris Wilson, use WARN() instead of DRM_ERROR, so we can get a backtrace. This shouldn't impact performance too much as the extra register read can replace the POSTING_READ we had previously. Reviewed-by: Chris Wilson Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed