Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318606
b: refs/heads/master
c: 0d32601
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Jun 20, 2012
1 parent d793687 commit 3bbd4a4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: df12c6d5ec9b88fc45c672b77dac015327dd8497
refs/heads/master: 0d326013763bd4610cb72d9e2fa7f8ff2f414995
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ int i915_switch_context(struct intel_ring_buffer *ring,
} else {
to = i915_gem_context_get(file_priv, to_id);
if (to == NULL)
return -EINVAL;
return -ENOENT;
}

if (from_obj == to->obj)
Expand Down Expand Up @@ -526,7 +526,7 @@ int i915_gem_context_destroy_ioctl(struct drm_device *dev, void *data,
ctx = i915_gem_context_get(file_priv, args->ctx_id);
if (!ctx) {
mutex_unlock(&dev->struct_mutex);
return -EINVAL;
return -ENOENT;
}

do_destroy(ctx);
Expand Down

0 comments on commit 3bbd4a4

Please sign in to comment.