drm/i915: implement fastpath for overlay flip waiting
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Sep 2009 20:57:36 +0000 (22:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Dec 2009 11:05:40 +0000 (12:05 +0100)
commit8fccdafad8aedb29bb9debd9250350c6d1e74c25
tree7f39ee67a9454c6828d2bc8d4fc8cd3638f520d0
parent441875d4385192aadf01f3e6d7a47be6d027c219
drm/i915: implement fastpath for overlay flip waiting

As long as the gpu can keep up, neither the cpu (waiting for gpu)
nore the gpu (waiting for vblank to do an overlay flip) stalls.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_overlay.c