drm/i915: fixup pageflip ringbuffer commands for i8xx
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Aug 2010 19:22:09 +0000 (21:22 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:30 +0000 (11:24 -0700)
commit69d0b96c095468526009cb3104eee561c9252a84
tree4589586a0d5a86174cfe13ee5976ef179dbca037
parent0be555b66a871d711a89c301b37e763058d34d33
drm/i915: fixup pageflip ringbuffer commands for i8xx

Add a new path for 2nd gen chips that uses the commands for i81x
chips (where public docs do exist) augmented with the plane bits
from i915. It seems to work and doesn't result in a black screen
like before.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@kernel.org
[anholt: resolved against conflict]
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c