mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
drm/nv50: 0x50c0 apparently works on NVA3+ too, so lets allow it
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
aa2c2e8039
commit
a169f09b96
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue