summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-05-13 07:20:02 -0700
committerIan Romanick <[email protected]>2014-06-06 18:11:54 -0700
commit304e80e35619c473497998ea83ae2fe3f22d3876 (patch)
tree8394f63b330b6898f8b439280d0a4f90528af888 /src
parentf4aca6868a14882fcc8a2b30205fc0d3eff0e90f (diff)
i965: Fix copy and pasted values in Broadwell code.
Signed-off-by: Kenneth Graunke <[email protected]> Cc: "10.2" <[email protected]> (cherry picked from commit 7913b4b97bab750ffad54e53dec9bbeb56307066)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_device_info.c31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c
index bf3c62e8171..f28d75418bb 100644
--- a/src/mesa/drivers/dri/i965/brw_device_info.c
+++ b/src/mesa/drivers/dri/i965/brw_device_info.c
@@ -192,33 +192,44 @@ static const struct brw_device_info brw_device_info_hsw_gt3 = {
},
};
-/* Thread counts and URB limits are placeholders, and may not be accurate. */
#define GEN8_FEATURES \
.gen = 8, \
.has_hiz_and_separate_stencil = true, \
.must_use_separate_stencil = true, \
.has_llc = true, \
.has_pln = true, \
- .max_vs_threads = 280, \
- .max_gs_threads = 256, \
- .max_wm_threads = 408, \
- .urb = { \
- .size = 128, \
- .min_vs_entries = 64, \
- .max_vs_entries = 1664, \
- .max_gs_entries = 640, \
- }
+ .max_vs_threads = 504, \
+ .max_gs_threads = 504, \
+ .max_wm_threads = 384 \
static const struct brw_device_info brw_device_info_bdw_gt1 = {
GEN8_FEATURES, .gt = 1,
+ .urb = {
+ .size = 192,
+ .min_vs_entries = 64,
+ .max_vs_entries = 2560,
+ .max_gs_entries = 960,
+ }
};
static const struct brw_device_info brw_device_info_bdw_gt2 = {
GEN8_FEATURES, .gt = 2,
+ .urb = {
+ .size = 384,
+ .min_vs_entries = 64,
+ .max_vs_entries = 2560,
+ .max_gs_entries = 960,
+ }
};
static const struct brw_device_info brw_device_info_bdw_gt3 = {
GEN8_FEATURES, .gt = 3,
+ .urb = {
+ .size = 384,
+ .min_vs_entries = 64,
+ .max_vs_entries = 2560,
+ .max_gs_entries = 960,
+ }
};
/* Thread counts and URB limits are placeholders, and may not be accurate.