Skip to content
Snippets Groups Projects
Commit 8c0a6bfe authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarFang, Xun <xunx.fang@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32259


Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 8316f337
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment