summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2010-04-09 20:58:29 +1000
committerBen Skeggs <[email protected]>2010-04-09 20:59:36 +1000
commit54526154c5b02be0fbae6b0dad766c6be1bee21c (patch)
treef4a78ecb740c65dff097eff7d9ada29339ff1328 /src/gallium/drivers/nv50
parent8ddb4e2c81c88c9320ed7fb75464e0b37f4d4536 (diff)
nouveau: Import latest nouveau_class.h from renouveau
And fix nv50_screen.c to compile against the updated header.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 801548d8a1b..551e8935693 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -379,8 +379,8 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
OUT_RING (chan, 1);
/* activate all 32 lanes (threads) in a warp */
- BEGIN_RING(chan, screen->tesla, NV50TCL_WARP_HALVES, 1);
- OUT_RING (chan, 2);
+ BEGIN_RING(chan, screen->tesla, NV50TCL_REG_MODE, 1);
+ OUT_RING (chan, NV50TCL_REG_MODE_STRIPED);
BEGIN_RING(chan, screen->tesla, 0x1400, 1);
OUT_RING (chan, 0xf);