From: Chris Wilson Date: Thu, 9 Dec 2010 12:56:37 +0000 (+0000) Subject: drm/i915/ringbuffer: Handle wrapping of the autoreported HEAD X-Git-Tag: v2.6.37-rc8~26^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c0a6bfef165ccdbf5d73afb9dd660107b0c98d5;p=pandora-kernel.git drm/i915/ringbuffer: Handle wrapping of the autoreported HEAD If the tail advances beyond the autoreport HEAD value, then we need to fallback to an uncached read of the HEAD register in order to ascertain the correct amount of remaining space in the ringbuffer. Reported-by: Fang, Xun Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32259 Signed-off-by: Chris Wilson --- Reading git-diff-tree failed