i965/gen9: Add hs, ds, and cs thread + urb info
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jul 2015 02:16:32 +0000 (19:16 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jul 2015 05:39:11 +0000 (22:39 -0700)
For SKL: These are the production values.

For BXT: These are low estimates to enable platforms.

This patch was originally part of
i965/skl: Add production thread counts and URB size
but was split out at Jordan's request (which I found to be reasonable).

Note on stable inclusion: 10.6 does not care about hs, and ds. It does care
about cs, but since Jordan was the one that asked me to extract it, I'll leave
it up to him to deal with a backport to stable is required.

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 75d1ecb..fcc243e 100644 (file)
@@ -310,11 +310,16 @@ static const struct brw_device_info brw_device_info_chv = {
    .supports_simd16_3src = true,                    \
    .max_vs_threads = 336,                           \
    .max_gs_threads = 336,                           \
+   .max_hs_threads = 336,                           \
+   .max_ds_threads = 336,                           \
    .max_wm_threads = 64 * 6,                        \
+   .max_cs_threads = 56,                            \
    .urb = {                                         \
       .size = 192,                                  \
       .min_vs_entries = 64,                         \
       .max_vs_entries = 1856,                       \
+      .max_hs_entries = 672,                        \
+      .max_ds_entries = 1120,                       \
       .max_gs_entries = 640,                        \
    }
 
@@ -343,12 +348,17 @@ static const struct brw_device_info brw_device_info_bxt = {
 
    /* XXX: These are preliminary thread counts and URB sizes. */
    .max_vs_threads = 56,
+   .max_hs_threads = 56,
+   .max_ds_threads = 56,
    .max_gs_threads = 56,
    .max_wm_threads = 32,
+   .max_cs_threads = 28,
    .urb = {
       .size = 64,
       .min_vs_entries = 34,
       .max_vs_entries = 640,
+      .max_hs_entries = 80,
+      .max_ds_entries = 80,
       .max_gs_entries = 256,
    }
 };