From 383558c56427b0e8b4e56cce8737771ad053f753 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Thu, 30 Jul 2015 19:16:32 -0700 Subject: [PATCH] i965/gen9: Add hs, ds, and cs thread + urb info 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 Reviewed-by: Jordan Justen --- src/mesa/drivers/dri/i965/brw_device_info.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c index 75d1ecb..fcc243e 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -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, } }; -- 2.7.4