Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174549
b: refs/heads/master
c: 9bedb97
h: refs/heads/master
i:
  174547: 2f4f400
v: v3
  • Loading branch information
Daniel Vetter authored and Eric Anholt committed Nov 30, 2009
1 parent a82fc37 commit f9ad4e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 12ca45fea91cfbb09df828bea958b47348caee6d
refs/heads/master: 9bedb9743fd906e4160468663ee6e1bbdc4412b8
9 changes: 6 additions & 3 deletions trunk/drivers/gpu/drm/i915/intel_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,15 @@ int intel_overlay_switch_off(struct intel_overlay *overlay)
BUG_ON(!mutex_is_locked(&dev->struct_mutex));
BUG_ON(!mutex_is_locked(&dev->mode_config.mutex));

if (overlay->hw_wedged) {
ret = intel_overlay_recover_from_interrupt(overlay, 1);
if (ret != 0)
return ret;
}

if (!overlay->active)
return 0;

if (overlay->hw_wedged)
return -EBUSY;

ret = intel_overlay_release_old_vid(overlay);
if (ret != 0)
return ret;
Expand Down

0 comments on commit f9ad4e4

Please sign in to comment.