summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-03-08 00:32:40 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-03-08 00:32:40 +1100
commit590918f52807f5325366ee632e1742c3e27a76d0 (patch)
tree968ded888ac5f9c7c42f5165d4fd0b276436eb01 /sys/dev
parent1f29655380b5e80b36aeb883d5178d722fe28bc5 (diff)
decrement of the seqno for semaphore ring sync moved into the ring code
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915_gem_execbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_gem_execbuffer.c b/sys/dev/pci/drm/i915_gem_execbuffer.c
index 7b11b86817c..4b4230e8372 100644
--- a/sys/dev/pci/drm/i915_gem_execbuffer.c
+++ b/sys/dev/pci/drm/i915_gem_execbuffer.c
@@ -339,7 +339,7 @@ i915_gem_execbuffer_sync_rings(struct drm_i915_gem_object *obj,
from->sync_seqno[idx] = seqno;
- return to->sync_to(to, from, seqno - 1);
+ return to->sync_to(to, from, seqno);
}
int