Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228848
b: refs/heads/master
c: 47a44d2
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Jan 1, 2011
1 parent 02d954c commit e2b4d3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 680a48720f55d2f21cbf45c1f7ca38d6b73471dc
refs/heads/master: 47a44d27ca246b815de2b4223daf86070315fb8d
10 changes: 7 additions & 3 deletions trunk/drivers/gpu/drm/nouveau/nvc0_grctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ nvc0_grctx_generate(struct nouveau_channel *chan)
struct nvc0_graph_chan *grch = chan->pgraph_ctx;
struct drm_device *dev = chan->dev;
int i, gpc, tp, id;
u32 r000260;
u32 r000260, tmp;

r000260 = nv_rd32(dev, 0x000260);
nv_wr32(dev, 0x000260, r000260 & ~1);
Expand Down Expand Up @@ -1843,8 +1843,12 @@ nvc0_grctx_generate(struct nouveau_channel *chan)
}
}

nv_wr32(dev, 0x406028, 0x00000443);
nv_wr32(dev, 0x405870, 0x00000443);
tmp = 0;
for (i = 0; i < priv->gpc_nr; i++)
tmp |= priv->tp_nr[i] << (i * 4);
nv_wr32(dev, 0x406028, tmp);
nv_wr32(dev, 0x405870, tmp);

nv_wr32(dev, 0x40602c, 0x00000000);
nv_wr32(dev, 0x405874, 0x00000000);
nv_wr32(dev, 0x406030, 0x00000000);
Expand Down

0 comments on commit e2b4d3b

Please sign in to comment.