nouveau: Import latest nouveau_class.h from renouveau

And fix nv50_screen.c to compile against the updated header.
This commit is contained in:
Ben Skeggs 2010-04-09 20:58:29 +10:00
parent 8ddb4e2c81
commit 54526154c5
3 changed files with 9027 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -379,8 +379,8 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
OUT_RING (chan, 1); OUT_RING (chan, 1);
/* activate all 32 lanes (threads) in a warp */ /* activate all 32 lanes (threads) in a warp */
BEGIN_RING(chan, screen->tesla, NV50TCL_WARP_HALVES, 1); BEGIN_RING(chan, screen->tesla, NV50TCL_REG_MODE, 1);
OUT_RING (chan, 2); OUT_RING (chan, NV50TCL_REG_MODE_STRIPED);
BEGIN_RING(chan, screen->tesla, 0x1400, 1); BEGIN_RING(chan, screen->tesla, 0x1400, 1);
OUT_RING (chan, 0xf); OUT_RING (chan, 0xf);

View file

@ -0,0 +1 @@
../../../../gallium/drivers/nouveau/nouveau_class.h