Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131611
b: refs/heads/master
c: a198bc8
h: refs/heads/master
i:
  131609: 0949e54
  131607: c8717db
v: v3
  • Loading branch information
Chris Wilson authored and Dave Airlie committed Feb 20, 2009
1 parent 01fc49b commit 0876156
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3e49c4f4cf786b70bbc369b99e590de4bebac1b3
refs/heads/master: a198bc80ae59cf7c6da93bc8bd017b2198148ed7
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2480,13 +2480,15 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
if (dev_priv->mm.wedged) {
DRM_ERROR("Execbuf while wedged\n");
mutex_unlock(&dev->struct_mutex);
return -EIO;
ret = -EIO;
goto pre_mutex_err;
}

if (dev_priv->mm.suspended) {
DRM_ERROR("Execbuf while VT-switched.\n");
mutex_unlock(&dev->struct_mutex);
return -EBUSY;
ret = -EBUSY;
goto pre_mutex_err;
}

/* Look up object handles */
Expand Down

0 comments on commit 0876156

Please sign in to comment.