Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179874
b: refs/heads/master
c: 7fb8ec8
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Jan 10, 2010
1 parent 7f286fe commit 699ac5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 846975a97b098bbbf1232a01a3a5723a4bddd9e7
refs/heads/master: 7fb8ec8e2bedc8381243cf4bdc4cfa8e657397a8
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/nouveau/nv50_fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ nv50_fifo_load_context(struct nouveau_channel *chan)
nv_wr32(dev, NV40_PFIFO_CACHE1_DATA(ptr),
nv_ro32(dev, cache, (ptr * 2) + 1));
}
nv_wr32(dev, 0x3210, cnt << 2);
nv_wr32(dev, 0x3270, 0);
nv_wr32(dev, NV03_PFIFO_CACHE1_PUT, cnt << 2);
nv_wr32(dev, NV03_PFIFO_CACHE1_GET, 0);

/* guessing that all the 0x34xx regs aren't on NV50 */
if (!IS_G80) {
Expand All @@ -398,8 +398,6 @@ nv50_fifo_load_context(struct nouveau_channel *chan)

dev_priv->engine.instmem.finish_access(dev);

nv_wr32(dev, NV03_PFIFO_CACHE1_GET, 0);
nv_wr32(dev, NV03_PFIFO_CACHE1_PUT, 0);
nv_wr32(dev, NV03_PFIFO_CACHE1_PUSH1, chan->id | (1<<16));
return 0;
}
Expand Down

0 comments on commit 699ac5f

Please sign in to comment.