aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_fifo.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-06-25 01:57:57 +1000
committerBen Skeggs <skeggsb@gmail.com>2007-06-25 01:57:57 +1000
commit9f617522d9cb8cd33e588d12a13f427dbe5171c2 (patch)
treeb9f5286710869a1506613c4bf477849ba718a01f /shared-core/nouveau_fifo.c
parent3dfc13e2da10e86051c7106feb5683542907acdc (diff)
nouveau: NV49/NV4B PGRAPH setup from jb17bsome and stephan_2303
Diffstat (limited to 'shared-core/nouveau_fifo.c')
-rw-r--r--shared-core/nouveau_fifo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_fifo.c b/shared-core/nouveau_fifo.c
index 3c07b0da..1a06f913 100644
--- a/shared-core/nouveau_fifo.c
+++ b/shared-core/nouveau_fifo.c
@@ -83,6 +83,8 @@ static int nouveau_fifo_instmem_configure(drm_device_t *dev)
case NV_50:
case NV_40:
NV_WRITE(NV40_PFIFO_RAMFC, 0x30002);
+ if((dev_priv->chipset == 0x49) || (dev_priv->chipset == 0x4b))
+ NV_WRITE(0x2230,0x00000001);
break;
case NV_44:
NV_WRITE(NV40_PFIFO_RAMFC, ((nouveau_mem_fb_amount(dev)-512*1024+dev_priv->ramfc_offset)>>16) |