projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6f1c5
)
drm/nvc0/gr: fill in some more data for 0xc1/0xc8/0xce
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 27 May 2011 05:50:59 +0000
(15:50 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 23 Jun 2011 05:57:56 +0000
(15:57 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_grctx.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvc0_grctx.c
b/drivers/gpu/drm/nouveau/nvc0_grctx.c
index f2f9825ab0a6b1f22f5997747b8c4cf71ccf19f1..31018eaf5279d4fda66a048a329ee3bc4157c374 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvc0_grctx.c
+++ b/
drivers/gpu/drm/nouveau/nvc0_grctx.c
@@
-1783,10
+1783,11
@@
nvc0_grctx_generate(struct nouveau_channel *chan)
nv_wr32(dev, 0x40587c, 0x00000000);
if (1) {
- const u8 chipset_tp_max[] = { 16, 0, 0, 4, 8 };
+ const u8 chipset_tp_max[] = { 16, 4, 0, 4, 8, 0, 0, 0,
+ 16, 0, 0, 0, 0, 0, 8, 0 };
u8 max = chipset_tp_max[dev_priv->chipset & 0x0f];
u8 tpnr[GPC_MAX];
- u8 data[
32
];
+ u8 data[
TP_MAX
];
memcpy(tpnr, priv->tp_nr, sizeof(priv->tp_nr));
memset(data, 0x1f, sizeof(data));