Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174523
b: refs/heads/master
c: 5c5a435
h: refs/heads/master
i:
  174521: 223d7e2
  174519: 575a807
v: v3
  • Loading branch information
Daniel Vetter authored and Eric Anholt committed Nov 5, 2009
1 parent 9396a0b commit 227ccf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1df4b35b61df27fc5b173fe2789d976e40e1dc22
refs/heads/master: 5c5a4359fe392b52b444134877fc4002be542b42
17 changes: 7 additions & 10 deletions trunk/drivers/gpu/drm/i915/intel_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,15 @@ static int intel_overlay_wait_flip(struct intel_overlay *overlay)
RING_LOCALS;

if (overlay->last_flip_req != 0) {
ret = i915_do_wait_request(dev, overlay->last_flip_req, 0);
if (ret != 0)
return ret;

overlay->last_flip_req = 0;
ret = i915_do_wait_request(dev, overlay->last_flip_req, 1);
if (ret == 0) {
overlay->last_flip_req = 0;

tmp = I915_READ(ISR);
tmp = I915_READ(ISR);

if (!(tmp & I915_OVERLAY_PLANE_FLIP_PENDING_INTERRUPT))
return 0;
if (!(tmp & I915_OVERLAY_PLANE_FLIP_PENDING_INTERRUPT))
return 0;
}
}

/* synchronous slowpath */
Expand Down Expand Up @@ -439,8 +438,6 @@ int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay,
return ret;

case SWITCH_OFF_STAGE_2:
printk("switch off 2\n");

BUG_ON(!overlay->vid_bo);
obj = overlay->vid_bo->obj;

Expand Down

0 comments on commit 227ccf3

Please sign in to comment.