i965/skl: Add production thread counts and URB size
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 29 Jul 2015 19:35:24 +0000 (12:35 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jul 2015 05:39:11 +0000 (22:39 -0700)
This patch adjusts the SKL values to the best known values we have.

v2: Remove HS/DS/CS fields. Adding this makes most sense to add to the
GEN9_FEATURES macro, however, doing that would require updating BXT values, and
Jordan requested I not do that. Conveniently, this request makes a lot of sense
wrt to stable backport as HS, and DS do not even exist there.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_device_info.c

index 2c5d778dbd2b8bef0a669674a380978d70b89cbf..f313b2b3c538261b56bf450cfa92ab7845f299a3 100644 (file)
@@ -308,13 +308,13 @@ static const struct brw_device_info brw_device_info_chv = {
    .has_llc = true,                                 \
    .has_pln = true,                                 \
    .supports_simd16_3src = true,                    \
-   .max_vs_threads = 280,                           \
-   .max_gs_threads = 256,                           \
-   .max_wm_threads = 408,                           \
+   .max_vs_threads = 336,                           \
+   .max_gs_threads = 336,                           \
+   .max_wm_threads = 64 * 6,                        \
    .urb = {                                         \
-      .size = 128,                                  \
+      .size = 192,                                  \
       .min_vs_entries = 64,                         \
-      .max_vs_entries = 1664,                       \
+      .max_vs_entries = 1856,                       \
       .max_gs_entries = 640,                        \
    }