projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ef1ab
)
I don't think this dec is necessary and my stuff all works without ..
author
Dave Airlie
<airlied@linux.ie>
Tue, 17 Apr 2007 08:18:42 +0000
(18:18 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 17 Apr 2007 08:18:42 +0000
(18:18 +1000)
with it everything falls over
linux-core/drm_bo.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bo.c
b/linux-core/drm_bo.c
index
343cc1e
..
d6dce10
100644
(file)
--- a/
linux-core/drm_bo.c
+++ b/
linux-core/drm_bo.c
@@
-1740,7
+1740,8
@@
int drm_bo_ioctl(DRM_IOCTL_ARGS)
entry =
drm_user_object_entry(uo, drm_buffer_object_t,
base);
- atomic_dec(&entry->usage);
+ /* I don't think this is needed - D.A. */
+ // atomic_dec(&entry->usage);
mutex_unlock(&dev->struct_mutex);
mutex_lock(&entry->mutex);
drm_bo_fill_rep_arg(entry, &rep);