summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-09-04 03:05:28 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-04 03:05:28 +0200
commitc98b29ec92ccb7b418139647c09bff3394e4a2b1 (patch)
tree235b50102e728491d8c821159d28423319788c69
parente887a9fcad75e9349b644e30b8073eea8725c546 (diff)
nvfx: add missing context init
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 2080f44aef7..6412ca988a3 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -306,6 +306,9 @@ static void nv40_screen_init(struct nvfx_screen *screen)
OUT_RING(chan, screen->base.channel->vram->handle);
OUT_RING(chan, screen->base.channel->vram->handle);
+ OUT_RING(chan, RING_3D(0x1450, 1));
+ OUT_RING(chan, 0x00000004);
+
OUT_RING(chan, RING_3D(0x1ea4, 3));
OUT_RING(chan, 0x00000010);
OUT_RING(chan, 0x01000100);