From c98b29ec92ccb7b418139647c09bff3394e4a2b1 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Sat, 4 Sep 2010 03:05:28 +0200 Subject: [PATCH] nvfx: add missing context init --- src/gallium/drivers/nvfx/nvfx_screen.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2