From 54526154c5b02be0fbae6b0dad766c6be1bee21c Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 9 Apr 2010 20:58:29 +1000 Subject: nouveau: Import latest nouveau_class.h from renouveau And fix nv50_screen.c to compile against the updated header. --- src/gallium/drivers/nv50/nv50_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/nv50') diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 801548d8a1..551e893569 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); -- cgit v1.2.3