Skip to content

Commit

Permalink
drm/nvc0/gr: add some missing magics for 0xc1/0xc8/0xce
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 Jun 23, 2011
1 parent 0411de8 commit a219997
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/gpu/drm/nouveau/nvc0_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,18 @@ nvc0_graph_create(struct drm_device *dev)
priv->magic_not_rop_nr = 0x01;
priv->magicgpc918 = 0x00124925;
break;
case 0xc1: /* 2/0/0/0, 1 */
priv->magic_not_rop_nr = 0x01;
priv->magicgpc918 = 0x00400000;
break;
case 0xc8: /* 4/4/3/4, 5 */
priv->magic_not_rop_nr = 0x06;
priv->magicgpc918 = 0x00088889;
break;
case 0xce: /* 4/4/0/0, 4 */
priv->magic_not_rop_nr = 0x03;
priv->magicgpc918 = 0x00100000;
break;
}

if (!priv->magic_not_rop_nr) {
Expand Down

0 comments on commit a219997

Please sign in to comment.