Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131612
b: refs/heads/master
c: d687310
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson authored and Dave Airlie committed Feb 20, 2009
1 parent 0876156 commit 11d892d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: a198bc80ae59cf7c6da93bc8bd017b2198148ed7
refs/heads/master: d6873102fd36c577f88174d8bd50f1d51645fc51
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/i915/i915_gem_tiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,8 @@ i915_gem_set_tiling(struct drm_device *dev, void *data,
}
obj_priv->stride = args->stride;

mutex_unlock(&dev->struct_mutex);

drm_gem_object_unreference(obj);
mutex_unlock(&dev->struct_mutex);

return 0;
}
Expand Down Expand Up @@ -340,9 +339,8 @@ i915_gem_get_tiling(struct drm_device *dev, void *data,
DRM_ERROR("unknown tiling mode\n");
}

mutex_unlock(&dev->struct_mutex);

drm_gem_object_unreference(obj);
mutex_unlock(&dev->struct_mutex);

return 0;
}

0 comments on commit 11d892d

Please sign in to comment.