Skip to content

Commit

Permalink
drm/nv50: 0x50c0 apparently works on NVA3+ too, so lets allow it
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 3, 2010
1 parent aa2c2e8 commit a169f09
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/gpu/drm/nouveau/nv50_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,10 @@ 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, 0x50c0, GR);
if (dev_priv->chipset > 0xa0 &&
dev_priv->chipset != 0xaa &&
dev_priv->chipset != 0xac)
NVOBJ_CLASS(dev, 0x85c0, GR);

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

0 comments on commit a169f09

Please sign in to comment.