drm/i915: Add support for fence registers on Ivybridge.
authorEric Anholt <eric@anholt.net>
Fri, 6 May 2011 20:55:53 +0000 (13:55 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 May 2011 01:12:51 +0000 (18:12 -0700)
commit25aebfc30bc40f01813aad7a0f62f2fda44efb8a
tree254e17372e55ed02ecec961f95ab37f07b5c9e23
parent10ed13e4a5143000bca816982ea6e68e2a4ac050
drm/i915: Add support for fence registers on Ivybridge.

The registers are the same as on Sandybridge.  Fixes scrambled display
in X when it does software drawing to the GTT, and scans the results
out as tiled.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c