diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2009-09-15 16:57:36 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-05 17:47:09 -0500 |
commit | 5a5a0c64a99d7542c48c99d1a8bbb49e665842be (patch) | |
tree | f915bb581b83247df2bc508d899dd379455119e1 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 240a2d12dfff98f8fa1332dc8424284d96f0801e (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index c9b1b97ab792..5b503cb793ba 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -126,7 +126,9 @@ struct intel_overlay { | |||
126 | u32 flip_addr; | 126 | u32 flip_addr; |
127 | struct drm_i915_gem_object *reg_bo; | 127 | struct drm_i915_gem_object *reg_bo; |
128 | void *virt_addr; | 128 | void *virt_addr; |
129 | /* flip handling */ | ||
129 | int hw_wedged; | 130 | int hw_wedged; |
131 | uint32_t last_flip_req; | ||
130 | }; | 132 | }; |
131 | 133 | ||
132 | struct intel_crtc { | 134 | struct intel_crtc { |