Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358012
b: refs/heads/master
c: 308887a
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Jan 20, 2013
1 parent ccda8f9 commit 02b3f21
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 33196deddacc7790defb9a7e84659e0362d4da7a
refs/heads/master: 308887aad14c4ecc3fc10a3c58ec42641c5e4423
9 changes: 7 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -3390,8 +3390,13 @@ i915_gem_ring_throttle(struct drm_device *dev, struct drm_file *file)
u32 seqno = 0;
int ret;

if (atomic_read(&dev_priv->gpu_error.wedged))
return -EIO;
ret = i915_gem_wait_for_error(&dev_priv->gpu_error);
if (ret)
return ret;

ret = i915_gem_check_wedge(&dev_priv->gpu_error, false);
if (ret)
return ret;

spin_lock(&file_priv->mm.lock);
list_for_each_entry(request, &file_priv->mm.request_list, client_list) {
Expand Down

0 comments on commit 02b3f21

Please sign in to comment.