Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371575
b: refs/heads/master
c: 7092a8d
h: refs/heads/master
i:
  371573: 9dff58a
  371571: 3ca78ce
  371567: cdefab5
v: v3
  • Loading branch information
Ben Skeggs committed Apr 26, 2013
1 parent 519a88d commit 9b51c8e
Show file tree
Hide file tree
Showing 2 changed files with 10 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: ba366c25bc0b2a6f5e4d3fab07851e6f39b883be
refs/heads/master: 7092a8dd5c16c32746444bcd468b429185c25472
13 changes: 9 additions & 4 deletions trunk/drivers/gpu/drm/nouveau/core/engine/graph/ctxnve0.c
Original file line number Diff line number Diff line change
Expand Up @@ -2772,10 +2772,15 @@ nve0_grctx_generate(struct nvc0_graph_priv *priv)
for (i = 0; i < 8; i++)
nv_wr32(priv, 0x4064d0 + (i * 0x04), 0x00000000);

nv_wr32(priv, 0x405b00, 0x201);
nv_wr32(priv, 0x408850, 0x2);
nv_wr32(priv, 0x408958, 0x2);
nv_wr32(priv, 0x419f78, 0xa);
nv_wr32(priv, 0x405b00, (priv->tpc_total << 8) | priv->gpc_nr);
if (priv->gpc_nr == 1) {
nv_mask(priv, 0x408850, 0x0000000f, priv->tpc_nr[0]);
nv_mask(priv, 0x408958, 0x0000000f, priv->tpc_nr[0]);
} else {
nv_mask(priv, 0x408850, 0x0000000f, priv->gpc_nr);
nv_mask(priv, 0x408958, 0x0000000f, priv->gpc_nr);
}
nv_mask(priv, 0x419f78, 0x00000001, 0x00000000);

nve0_grctx_generate_icmd(priv);
nve0_grctx_generate_a097(priv);
Expand Down

0 comments on commit 9b51c8e

Please sign in to comment.