From 7913b4b97bab750ffad54e53dec9bbeb56307066 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 13 May 2014 07:20:02 -0700 Subject: [PATCH] i965: Fix copy and pasted values in Broadwell code. Signed-off-by: Kenneth Graunke Cc: "10.2" --- src/mesa/drivers/dri/i965/brw_device_info.c | 31 ++++++++++++++------- 1 file 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. -- 2.30.2