Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228563
b: refs/heads/master
c: aa2c2e8
h: refs/heads/master
i:
  228561: 25fc9e9
  228559: ee417dd
v: v3
  • Loading branch information
Ben Skeggs committed Dec 3, 2010
1 parent 8ef2dfe commit 5008e84
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 23c45e8ed203f933753fb66a6290c4ff853eb7bb
refs/heads/master: aa2c2e8039e3692065022a7ff885009b2d88818a
10 changes: 8 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nv50_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ nv50_graph_register(struct drm_device *dev)
NVOBJ_CLASS(dev, 0x0030, GR); /* null */
NVOBJ_CLASS(dev, 0x5039, GR); /* m2mf */
NVOBJ_CLASS(dev, 0x502d, GR); /* 2d */
NVOBJ_CLASS(dev, 0x50c0, GR); /* compute */
NVOBJ_CLASS(dev, 0x85c0, GR); /* compute (nva3, nva5, nva8) */

/* tesla */
if (dev_priv->chipset == 0x50)
Expand All @@ -452,6 +450,14 @@ nv50_graph_register(struct drm_device *dev)
}
}

/* compute */
if (dev_priv->chipset <= 0xa0 ||
dev_priv->chipset == 0xaa ||
dev_priv->chipset == 0xac)
NVOBJ_CLASS(dev, 0x50c0, GR);
else
NVOBJ_CLASS(dev, 0x85c0, GR);

dev_priv->engine.graph.registered = true;
return 0;
}
Expand Down

0 comments on commit 5008e84

Please sign in to comment.