aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-12-07 06:34:08 -0500
committerEric Anholt <eric@anholt.net>2009-12-07 15:18:28 -0500
commitffb4728095b030f0885ea8e0907ee4ac57b130ee (patch)
tree9b2ae5842350467486bb3533924ff083dc2b7d8b /drivers
parent85364905f9ae12d19cb34099257d493e5d9a0c4e (diff)
drm/i915: Drop a some common DRM_ERROR()
These are handled by the error return being propagated to user-space and do not any add any information to the original error, so are useless. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 214fb1864710..fd5363995044 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3660,14 +3660,12 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
3660 i915_verify_inactive(dev, __FILE__, __LINE__); 3660 i915_verify_inactive(dev, __FILE__, __LINE__);
3661 3661
3662 if (atomic_read(&dev_priv->mm.wedged)) { 3662 if (atomic_read(&dev_priv->mm.wedged)) {
3663 DRM_ERROR("Execbuf while wedged\n");
3664 mutex_unlock(&dev->struct_mutex); 3663 mutex_unlock(&dev->struct_mutex);
3665 ret = -EIO; 3664 ret = -EIO;
3666 goto pre_mutex_err; 3665 goto pre_mutex_err;
3667 } 3666 }
3668 3667
3669 if (dev_priv->mm.suspended) { 3668 if (dev_priv->mm.suspended) {
3670 DRM_ERROR("Execbuf while VT-switched.\n");
3671 mutex_unlock(&dev->struct_mutex); 3669 mutex_unlock(&dev->struct_mutex);
3672 ret = -EBUSY; 3670 ret = -EBUSY;
3673 goto pre_mutex_err; 3671 goto pre_mutex_err;