From: Ben Widawsky Date: Thu, 9 Feb 2012 09:15:18 +0000 (+0100) Subject: drm/i915: use gtfifodbg X-Git-Tag: v3.4-rc1~143^2~85^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd202c6dd612beecf87b8b85c2f09b23f77364a2;p=pandora-kernel.git drm/i915: use gtfifodbg Add register definitions for GTFIFODBG, and clear it during init time to make sure state is correct. This register tells us if either a read, or a write occurred while the fifo was full. It seems like bit 2 is an OR of bit 0 and bit 1, so we check that as well, but the documents are not quite clear. Reviewed-by: Chris Wilson Reviewed-by (v1): Eugeni Dodonov Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed