projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0411de8
)
drm/nvc0/gr: add some missing magics for 0xc1/0xc8/0xce
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 26 May 2011 00:54:05 +0000
(10:54 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 23 Jun 2011 05:57:43 +0000
(15:57 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_graph.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvc0_graph.c
b/drivers/gpu/drm/nouveau/nvc0_graph.c
index c5aa7e7aea0df7fa971ef88ec95e3e6df177367f..314e938d1525631fb467a9cdf1938d9cef476a4c 100644
(file)
--- 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)
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) {