drm/i915: gen3 page flipping fixes
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 26 Mar 2010 17:35:20 +0000 (10:35 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 19 Jun 2010 00:59:53 +0000 (17:59 -0700)
commit1afe3e9d4335bf3bc5615e37243dc8fef65dac8f
treeddf1bc38a43a1f2cd6b289efe8837173a8bdca24
parent83f7fd055eb3f1e843803cd906179d309553967b
drm/i915: gen3 page flipping fixes

Gen3 chips have slightly different flip commands, and also contain a bit
that indicates whether a "flip pending" interrupt means the flip has
been queued or has been completed.

So implement support for the gen3 flip command, and make sure we use the
flip pending interrupt correctly depending on the value of ECOSKPD bit
0.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h