summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-07-19 16:42:58 +1000
committerBen Skeggs <skeggsb@gmail.com>2007-07-19 16:43:37 +1000
commit0c95d489abd19efd2ba017e78a4b28cea0854e77 (patch)
tree480960a30871bd09b2e1ddce6f0ee770faf9fa8b
parentaf4cfa624a005f7105db89f6f076c41adbe44bd3 (diff)
nouveau/nv50: get non-default push buffer sizes working.
-rw-r--r--shared-core/nv50_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nv50_fifo.c b/shared-core/nv50_fifo.c
index feab24c4..4933bbf3 100644
--- a/shared-core/nv50_fifo.c
+++ b/shared-core/nv50_fifo.c
@@ -263,7 +263,7 @@ nv50_fifo_create_context(struct drm_device *dev, int channel)
INSTANCE_WR(ramfc, 0x54/4, 0x000f0000);
INSTANCE_WR(ramfc, 0x7c/4, 0x30000001);
INSTANCE_WR(ramfc, 0x78/4, 0x00000000);
- INSTANCE_WR(ramfc, 0x4c/4, 0x00007fff);
+ INSTANCE_WR(ramfc, 0x4c/4, chan->pushbuf_mem->size - 1);
if (!IS_G80) {
INSTANCE_WR(chan->ramin->gpuobj, 0, channel);