Mesa (master): intel: increase wm thread number to 80 on gen6 GT2

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Jul 27 17:32:46 UTC 2012


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

Author: Zou Nan hai <nanhai.zou at intel.com>
Date:   Fri Jul 27 06:04:02 2012 +0800

intel: increase wm thread number to 80 on gen6 GT2

It seems reset is not required for setting the max_wm_threads to 80
on gen6 GT2.

Increases performance in the Counter-Strike: Source video stress test
by 7.18% (n=5).

Signed-off-by: Zou Nan hai <nanhai.zou at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Tested-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_context.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index faca726..e23e224 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -256,11 +256,7 @@ brwCreateContext(int api,
       }
    } else if (intel->gen == 6) {
       if (intel->gt == 2) {
-	 /* This could possibly be 80, but is supposed to require
-	  * disabling of WIZ hashing (bit 6 of GT_MODE, 0x20d0) and a
-	  * GPU reset to change.
-	  */
-	 brw->max_wm_threads = 40;
+	 brw->max_wm_threads = 80;
 	 brw->max_vs_threads = 60;
 	 brw->max_gs_threads = 60;
 	 brw->urb.size = 64;            /* volume 5c.5 section 5.1 */




More information about the mesa-commit mailing list