Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
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