summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2015-07-30 19:16:32 -0700
committerBen Widawsky <[email protected]>2015-07-30 22:39:11 -0700
commit383558c56427b0e8b4e56cce8737771ad053f753 (patch)
treec5f2041df25214e51dfe9440321852f4d6b6ab2f /src/mesa/drivers
parent3cb58010037bad24890785007fd8f47d67249f2f (diff)
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 <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_device_info.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c
index 75d1ecb68de..fcc243e1d4c 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,
}
};