Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189308
b: refs/heads/master
c: ce48fa9
h: refs/heads/master
v: v3
  • Loading branch information
Maarten Maathuis authored and Ben Skeggs committed Mar 10, 2010
1 parent 6e75e84 commit 2ad337b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81441570c9cbf453891d90f5725adbbfe5a9cc69
refs/heads/master: ce48fa93a6f5cadd4141a921dfb4129c8850374e
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ nv50_dma_push(struct nouveau_channel *chan, struct nouveau_bo *bo,
nouveau_bo_wr32(pb, ip++, upper_32_bits(offset) | length << 8);

chan->dma.ib_put = (chan->dma.ib_put + 1) & chan->dma.ib_max;

DRM_MEMORYBARRIER();
/* Flush writes. */
nouveau_bo_rd32(pb, 0);

nvchan_wr32(chan, 0x8c, chan->dma.ib_put);
chan->dma.ib_free--;
}
Expand Down

0 comments on commit 2ad337b

Please sign in to comment.