Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318769
b: refs/heads/master
c: be63638
h: refs/heads/master
i:
  318767: eea5007
v: v3
  • Loading branch information
Dan Carpenter authored and Daniel Vetter committed Jul 25, 2012
1 parent ec9c804 commit 4b1c37e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: b259b3120607f642daabdaadc99430a306899ffe
refs/heads/master: be636387f81376ff26963987531c89a63faf8a33
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,13 @@ int i915_gem_context_create_ioctl(struct drm_device *dev, void *data,

ctx = create_hw_context(dev, file_priv);
mutex_unlock(&dev->struct_mutex);
if (IS_ERR(ctx))
return PTR_ERR(ctx);

args->ctx_id = ctx->id;
DRM_DEBUG_DRIVER("HW context %d created\n", args->ctx_id);

return PTR_RET(ctx);
return 0;
}

int i915_gem_context_destroy_ioctl(struct drm_device *dev, void *data,
Expand Down

0 comments on commit 4b1c37e

Please sign in to comment.