Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307138
b: refs/heads/master
c: e3a5a22
h: refs/heads/master
v: v3
  • Loading branch information
Ben Widawsky authored and Daniel Vetter committed Apr 12, 2012
1 parent 0883888 commit a2f2ab9
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5816d648d5f0d496d7bf11ab9174a365c791ccc6
refs/heads/master: e3a5a2250aa9e67d169f33e6c91dc7604cab513b
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2001,10 +2001,12 @@ i915_gem_object_sync(struct drm_i915_gem_object *obj,
seqno = request->seqno;
}

from->sync_seqno[idx] = seqno;

return to->sync_to(to, from, seqno - 1);
ret = to->sync_to(to, from, seqno - 1);
if (!ret)
from->sync_seqno[idx] = seqno;

return ret;
}

static void i915_gem_object_finish_gtt(struct drm_i915_gem_object *obj)
Expand Down

0 comments on commit a2f2ab9

Please sign in to comment.