Commit a169f09b authored by Ben Skeggs's avatar Ben Skeggs

drm/nv50: 0x50c0 apparently works on NVA3+ too, so lets allow it

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent aa2c2e80
...@@ -451,11 +451,10 @@ nv50_graph_register(struct drm_device *dev) ...@@ -451,11 +451,10 @@ nv50_graph_register(struct drm_device *dev)
} }
/* compute */ /* compute */
if (dev_priv->chipset <= 0xa0 || NVOBJ_CLASS(dev, 0x50c0, GR);
dev_priv->chipset == 0xaa || if (dev_priv->chipset > 0xa0 &&
dev_priv->chipset == 0xac) dev_priv->chipset != 0xaa &&
NVOBJ_CLASS(dev, 0x50c0, GR); dev_priv->chipset != 0xac)
else
NVOBJ_CLASS(dev, 0x85c0, GR); NVOBJ_CLASS(dev, 0x85c0, GR);
dev_priv->engine.graph.registered = true; dev_priv->engine.graph.registered = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment