aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-13 09:49:05 -0700
committerEric Anholt <eric@anholt.net>2008-06-13 09:49:05 -0700
commitc892e26bdfcacfe7213085a08dd82e2cb7faa003 (patch)
treee8841953f85e3d8de66840cb9bce25dfe9c7c1a6
parent100d6f3f83b559be000f69c04f9e5596cdc17c77 (diff)
[gem] Don't require the lock in execbuf now that it's not needed for the ring.
-rw-r--r--linux-core/i915_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/i915_gem.c b/linux-core/i915_gem.c
index 030ecf1d..634b4f6c 100644
--- a/linux-core/i915_gem.c
+++ b/linux-core/i915_gem.c
@@ -1595,8 +1595,6 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
uint64_t exec_offset;
uint32_t seqno, flush_domains;
- LOCK_TEST_WITH_RETURN(dev, file_priv);
-
#if WATCH_EXEC
DRM_INFO("buffers_ptr %d buffer_count %d len %08x\n",
(int) args->buffers_ptr, args->buffer_count, args->batch_len);