Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209725
b: refs/heads/master
c: 1741dd4
h: refs/heads/master
i:
  209723: b77a73e
v: v3
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Aug 9, 2010
1 parent 3ea0cee commit cd11290
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: ae7d49d879fd196bded306e9465e0aa5a203e971
refs/heads/master: 1741dd4aa7552055659bf74ab829a21579407f10
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_ringbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,11 @@ int intel_wrap_ring_buffer(struct drm_device *dev,
}

virt = (unsigned int *)(ring->virtual_start + ring->tail);
rem /= 4;
while (rem--)
rem /= 8;
while (rem--) {
*virt++ = MI_NOOP;
*virt++ = MI_NOOP;
}

ring->tail = 0;
ring->space = ring->head - 8;
Expand Down

0 comments on commit cd11290

Please sign in to comment.