From: Ben Widawsky Date: Fri, 31 Jul 2015 02:12:15 +0000 (-0700) Subject: i965/bxt: Use more conservative thread counts X-Git-Tag: upstream/17.1.0~17249 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cb58010037bad24890785007fd8f47d67249f2f;p=platform%2Fupstream%2Fmesa.git i965/bxt: Use more conservative thread counts 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 Reviewed-by: Jordan Justen --- diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c index f313b2b..75d1ecb 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -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,