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>
This commit is contained in:

committed by
Eric Anholt

parent
240a2d12df
commit
5a5a0c64a9
@@ -126,7 +126,9 @@ struct intel_overlay {
|
||||
u32 flip_addr;
|
||||
struct drm_i915_gem_object *reg_bo;
|
||||
void *virt_addr;
|
||||
/* flip handling */
|
||||
int hw_wedged;
|
||||
uint32_t last_flip_req;
|
||||
};
|
||||
|
||||
struct intel_crtc {
|
||||
|
Reference in New Issue
Block a user