nvfx: add missing context init
authorLuca Barbieri <luca@luca-barbieri.com>
Sat, 4 Sep 2010 01:05:28 +0000 (03:05 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sat, 4 Sep 2010 01:05:28 +0000 (03:05 +0200)
src/gallium/drivers/nvfx/nvfx_screen.c

index 2080f44aef7d661b30e058664c2aa7b0b1c6b01d..6412ca988a3d4bb9bb0aa29338037a22fee00d14 100644 (file)
@@ -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);