Mesa (master): nvfx: add missing context init
Luca Barbieri
lb at kemper.freedesktop.org
Sat Sep 4 01:11:19 UTC 2010
Module: Mesa
Branch: master
Commit: c98b29ec92ccb7b418139647c09bff3394e4a2b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c98b29ec92ccb7b418139647c09bff3394e4a2b1
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Sat Sep 4 03:05:28 2010 +0200
nvfx: add missing context init
---
src/gallium/drivers/nvfx/nvfx_screen.c | 3 +++
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 2080f44..6412ca9 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);
More information about the mesa-commit
mailing list