Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345645
b: refs/heads/master
c: 7b01e26
h: refs/heads/master
i:
  345643: 5f670f2
v: v3
  • Loading branch information
Mika Kuoppala authored and Daniel Vetter committed Nov 29, 2012
1 parent 008481e commit 0cb1c91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: df2b23d97919601218e9229ff517afea83fe5520
refs/heads/master: 7b01e260a6cad9152eefb44ce64f3a2073af1e6b
6 changes: 5 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,11 @@ i915_gem_object_sync(struct drm_i915_gem_object *obj,

ret = to->sync_to(to, from, seqno);
if (!ret)
from->sync_seqno[idx] = seqno;
/* We use last_read_seqno because sync_to()
* might have just caused seqno wrap under
* the radar.
*/
from->sync_seqno[idx] = obj->last_read_seqno;

return ret;
}
Expand Down

0 comments on commit 0cb1c91

Please sign in to comment.