From: Chris Wilson Date: Fri, 5 Nov 2010 08:56:38 +0000 (+0000) Subject: drm/i915/ringbuffer: Use the HEAD auto-reporting mechanism X-Git-Tag: v2.6.37-rc2~33^2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08deebf98783d3de553eed2c9b6b8dcc7e168567;p=pandora-kernel.git 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. Cherry-picked from 6aa56062eaba67adfb247cded244fd877329588d. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31404 Tested-by: Zhao Jian Cc: stable@kernel.org Signed-off-by: Chris Wilson --- Reading git-diff-tree failed