Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293556
b: refs/heads/master
c: 653d7be
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Jan 29, 2012
1 parent f568cf5 commit 4151b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 6a9c308de0332b873720c629cb88f58d154b4f1d
refs/heads/master: 653d7bed26a0c298dee7d60f6ab4bb442acf8b82
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,14 +1706,14 @@ void i915_hangcheck_elapsed(unsigned long data)
dev_priv->last_instdone1 == instdone1) {
if (dev_priv->hangcheck_count++ > 1) {
DRM_ERROR("Hangcheck timer elapsed... GPU hung\n");
i915_handle_error(dev, true);

if (!IS_GEN2(dev)) {
/* Is the chip hanging on a WAIT_FOR_EVENT?
* If so we can simply poke the RB_WAIT bit
* and break the hang. This should work on
* all but the second generation chipsets.
*/

if (kick_ring(&dev_priv->ring[RCS]))
goto repeat;

Expand All @@ -1726,7 +1726,6 @@ void i915_hangcheck_elapsed(unsigned long data)
goto repeat;
}

i915_handle_error(dev, true);
return;
}
} else {
Expand Down

0 comments on commit 4151b97

Please sign in to comment.