summaryrefslogtreecommitdiff
path: root/linux-core/i915_execbuf.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-04-11 09:36:12 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-04-14 12:13:17 +0200
commit65dd0e68ff0e0e354925adb7d5fffeb0ffbb485c (patch)
treed30cbdbff640d25a7dbf2a47048ea50130098d79 /linux-core/i915_execbuf.c
parentb986d7d2c9090fc62c1853f62886dd124e8066c1 (diff)
Fix up buffer manager locking.
Diffstat (limited to 'linux-core/i915_execbuf.c')
-rw-r--r--linux-core/i915_execbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/i915_execbuf.c b/linux-core/i915_execbuf.c
index 729ee0c3..088a2693 100644
--- a/linux-core/i915_execbuf.c
+++ b/linux-core/i915_execbuf.c
@@ -845,7 +845,7 @@ int i915_execbuffer(struct drm_device *dev, void *data,
if (exec_buf->num_buffers > dev_priv->max_validate_buffers)
return -EINVAL;
- ret = drm_bo_read_lock(&dev->bm.bm_lock);
+ ret = drm_bo_read_lock(&dev->bm.bm_lock, 1);
if (ret)
return ret;