i965/bxt: Use more conservative thread counts
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jul 2015 02:12:15 +0000 (19:12 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jul 2015 05:39:11 +0000 (22:39 -0700)
Since we really do not know what may occur in the future, pick a more
conservative value for thread counts until we know better what values are
correct. As far as I can tell, the old values will work fine, but some of the
registers seem to indicate that going even lower is possible and the purpose of
having early support is to enable as many configurations that can possibly
exist (we can trim things down after platforms begin shipping later).

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 f313b2b..75d1ecb 100644 (file)
@@ -340,8 +340,10 @@ static const struct brw_device_info brw_device_info_bxt = {
    .is_broxton = 1,
    .gt = 1,
    .has_llc = false,
-   .max_vs_threads = 112,
-   .max_gs_threads = 112,
+
+   /* XXX: These are preliminary thread counts and URB sizes. */
+   .max_vs_threads = 56,
+   .max_gs_threads = 56,
    .max_wm_threads = 32,
    .urb = {
       .size = 64,