diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-05-25 20:54:05 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 01:57:43 -0400 |
commit | a219997a3b17baea478c9e99ac62b8b6b78b15d4 (patch) | |
tree | 1ba2bafab3b55ebd7c2dca5e287bec8f2650ce9d /drivers/gpu/drm/nouveau/nvc0_graph.c | |
parent | 0411de854898a2402cf4bd915bed7ec9a6b76f9a (diff) |
drm/nvc0/gr: add some missing magics for 0xc1/0xc8/0xce
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_graph.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_graph.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c b/drivers/gpu/drm/nouveau/nvc0_graph.c index c5aa7e7aea0d..314e938d1525 100644 --- a/drivers/gpu/drm/nouveau/nvc0_graph.c +++ b/drivers/gpu/drm/nouveau/nvc0_graph.c | |||
@@ -865,6 +865,18 @@ nvc0_graph_create(struct drm_device *dev) | |||
865 | priv->magic_not_rop_nr = 0x01; | 865 | priv->magic_not_rop_nr = 0x01; |
866 | priv->magicgpc918 = 0x00124925; | 866 | priv->magicgpc918 = 0x00124925; |
867 | break; | 867 | break; |
868 | case 0xc1: /* 2/0/0/0, 1 */ | ||
869 | priv->magic_not_rop_nr = 0x01; | ||
870 | priv->magicgpc918 = 0x00400000; | ||
871 | break; | ||
872 | case 0xc8: /* 4/4/3/4, 5 */ | ||
873 | priv->magic_not_rop_nr = 0x06; | ||
874 | priv->magicgpc918 = 0x00088889; | ||
875 | break; | ||
876 | case 0xce: /* 4/4/0/0, 4 */ | ||
877 | priv->magic_not_rop_nr = 0x03; | ||
878 | priv->magicgpc918 = 0x00100000; | ||
879 | break; | ||
868 | } | 880 | } |
869 | 881 | ||
870 | if (!priv->magic_not_rop_nr) { | 882 | if (!priv->magic_not_rop_nr) { |