summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2009-11-07 10:46:47 +0100
committerChristoph Bumiller <[email protected]>2009-11-07 10:48:36 +0100
commit44cb5b5c663da4d218448cfd2386b431de35c8d2 (patch)
tree5483a11a18d2a8d5b7582dbb44f239732a7d0b36
parent8baee3d25beb616f6d5ba575684e889d60e38740 (diff)
nv50: enable all 32 threads of a warp
This should be the default setting. See also 7d967b9b7c08aea2a471c5bf6aced8bfafdae874.
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index c8d0f1e4d82..e1b2f11239a 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -309,7 +309,9 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
so_method(so, screen->tesla, 0x121c, 1);
so_data (so, 1);
- /* try to activate all/more lanes (threads) in a warp */
+ /* activate all 32 lanes (threads) in a warp */
+ so_method(so, screen->tesla, 0x19a0, 1);
+ so_data (so, 0x2);
so_method(so, screen->tesla, 0x1400, 1);
so_data (so, 0xf);