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)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Apr 2012 10:14:24 +0000 (12:14 +0200)
commit27c1cbd06a7620b354cbb363834f3bb8df4f410d
tree0c65a9e811897758f568b73ee0466b1f5fa66f19
parent6a562e3daee217ce99fe0e31150acd89a5b22606
drm/i915/ringbuffer: Exclude last 2 cachlines of ring on 845g

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>
Cc: stable@kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c