Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148711
b: refs/heads/master
c: b1ce786
h: refs/heads/master
i:
  148709: a5c4bbd
  148707: 9921562
  148703: de005fe
v: v3
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Jun 9, 2009
1 parent 4bfd829 commit 8d0410d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1f803ee5cea67d2387aeedb4b07e645a743729de
refs/heads/master: b1ce786cb85280490ca3c29a62ddf8608826b414
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -3701,15 +3701,14 @@ i915_gem_busy_ioctl(struct drm_device *dev, void *data,
struct drm_gem_object *obj;
struct drm_i915_gem_object *obj_priv;

mutex_lock(&dev->struct_mutex);
obj = drm_gem_object_lookup(dev, file_priv, args->handle);
if (obj == NULL) {
DRM_ERROR("Bad handle in i915_gem_busy_ioctl(): %d\n",
args->handle);
mutex_unlock(&dev->struct_mutex);
return -EBADF;
}

mutex_lock(&dev->struct_mutex);
/* Update the active list for the hardware's current position.
* Otherwise this only updates on a delayed timer or when irqs are
* actually unmasked, and our working set ends up being larger than
Expand Down

0 comments on commit 8d0410d

Please sign in to comment.