]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/ringbuffer: Use the HEAD auto-reporting mechanism
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Oct 2010 20:44:37 +0000 (21:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Oct 2010 20:49:41 +0000 (21:49 +0100)
commit6aa56062eaba67adfb247cded244fd877329588d
tree554352e777eafbd3ebd322168297bd68018c2ad2
parentf4e0b29bf23687ac16dc476bd90cd4d8b0eacd5c
drm/i915/ringbuffer: Use the HEAD auto-reporting mechanism

My Sandybridge only reports 0 for the ring buffer registers, causing it
to hang as soon as we exhaust the available ring. As a workaround, take
advantage of our huge ring buffers and use the auto-reporting mechanism
to update the status page with the HEAD location every 64 KiB.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c