Mesa (master): nv50: enable all 32 threads of a warp

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Nov 7 09:49:01 UTC 2009


Module: Mesa
Branch: master
Commit: 44cb5b5c663da4d218448cfd2386b431de35c8d2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44cb5b5c663da4d218448cfd2386b431de35c8d2

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Nov  7 10:46:47 2009 +0100

nv50: enable all 32 threads of a warp

This should be the default setting.
See also 7d967b9b7c08aea2a471c5bf6aced8bfafdae874.

---

 src/gallium/drivers/nv50/nv50_screen.c |    4 +++-
 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 c8d0f1e..e1b2f11 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);
 




More information about the mesa-commit mailing list