]> git.baikalelectronics.ru Git - kernel.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)
commita09821891ae01d98dc32b1f73271ba535dac5967
tree554352e777eafbd3ebd322168297bd68018c2ad2
parent5f8cb1d7f7d921d3240c88949bad27d4f33a2d0e
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