summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-02-10 09:02:17 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-02-10 09:11:35 +1000
commitf43039c52c7f27b61316beba5863968996a05bc0 (patch)
tree6af2e2757a44ef618da0b6ab047c93b52c4cc83d /shared-core
parent889b811e319ab80a4714854a0c0b242b5e36e0ca (diff)
drm/nv50: correct ramfc pointer in channel header
Suprisingly the card still worked without this...
Diffstat (limited to 'shared-core')
-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 d6810666..c6dd0c3d 100644
--- a/shared-core/nv50_fifo.c
+++ b/shared-core/nv50_fifo.c
@@ -269,7 +269,7 @@ nv50_fifo_create_context(struct nouveau_channel *chan)
if (!IS_G80) {
INSTANCE_WR(chan->ramin->gpuobj, 0, chan->id);
- INSTANCE_WR(chan->ramin->gpuobj, 1, chan->ramfc->instance);
+ INSTANCE_WR(chan->ramin->gpuobj, 1, chan->ramfc->instance >> 8);
INSTANCE_WR(ramfc, 0x88/4, 0x3d520); /* some vram addy >> 10 */
INSTANCE_WR(ramfc, 0x98/4, chan->ramin->instance >> 12);