Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358205
b: refs/heads/master
c: f73f760
h: refs/heads/master
i:
  358203: d489ce5
v: v3
  • Loading branch information
Ben Widawsky authored and Daniel Vetter committed Feb 15, 2013
1 parent a96644c commit eb06ae6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 4fc7c971c3aedf937f824c063d698779d25c3330
refs/heads/master: f73f760725636b9d0c3786273e185b053516d1eb
5 changes: 0 additions & 5 deletions trunk/drivers/gpu/drm/i915/i915_gem_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,8 @@ static int get_context_size(struct drm_device *dev)

static void do_destroy(struct i915_hw_context *ctx)
{
struct drm_device *dev = ctx->obj->base.dev;
struct drm_i915_private *dev_priv = dev->dev_private;

if (ctx->file_priv)
idr_remove(&ctx->file_priv->context_idr, ctx->id);
else
BUG_ON(ctx != dev_priv->ring[RCS].default_context);

drm_gem_object_unreference(&ctx->obj->base);
kfree(ctx);
Expand Down

0 comments on commit eb06ae6

Please sign in to comment.