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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:30:57 +0000 (15:30 -0700)
commitf4aca1c9b1f8fc59d416f9ea466851ce1d8b36c1
tree203fd00f54915daf4ecd211f7429a0320a65dbbe
parent457855a5d1c582b7b6b363bb89543698661e65d4
drm/i915/ringbuffer: Exclude last 2 cachlines of ring on 845g

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>
drivers/gpu/drm/i915/intel_ringbuffer.c