drm/i915/ringbuffer: Exclude last 2 cachlines of ring on 845g
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Apr 2012 12:59:46 +0000 (13:59 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 30 Apr 2012 18:15:05 +0000 (19:15 +0100)
commitefc4a4b28a286fa6d3f42455f9f74592895c90fb
tree9eb843b7c66b660fe5714b3215cba6c618599b69
parentcae7fc682bff3040ec3abe9c2c969e1a6ed6012c
drm/i915/ringbuffer: Exclude last 2 cachlines of ring on 845g

BugLink: http://bugs.launchpad.net/bugs/987337

commit 27c1cbd06a7620b354cbb363834f3bb8df4f410d upstream.

The 845g shares the errata with i830 whereby executing a command
within 2 cachelines of the end of the ringbuffer may cause a GPU hang.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/i915/intel_ringbuffer.c