commit | 8c0a6bfef165ccdbf5d73afb9dd660107b0c98d5 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 09 12:56:37 2010 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 09 12:53:19 2010 +0000 |
tree | 09455156e4e46ac5137ddab9ec3aed65bc6a8c59 | |
parent | 8316f33766a82907c694267ff911e45e256f09f9 [diff] |
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 <xunx.fang@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32259 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>