summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_device_info.c
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2015-06-17 15:50:11 -0700
committerBen Widawsky <benjamin.widawsky@intel.com>2015-06-24 16:37:12 -0700
commitd1663ccb4c664b0f544ed5d6f0761f3ae2435199 (patch)
treeb8fa69bdf338b806480a6ab80daa84e267035947 /src/mesa/drivers/dri/i965/brw_device_info.c
parent9f261dc18dba0aa4dc43fc560d343ba9ffd486e9 (diff)
downloadexternal_mesa3d-d1663ccb4c664b0f544ed5d6f0761f3ae2435199.zip
external_mesa3d-d1663ccb4c664b0f544ed5d6f0761f3ae2435199.tar.gz
external_mesa3d-d1663ccb4c664b0f544ed5d6f0761f3ae2435199.tar.bz2
i965/bxt: Add basic Broxton infrastructure
The thread counts and URB information are all speculative numbers that were based on some CHV numbers at the time. v2: Originally this patch had PCI IDs. I've moved that to a new patch at the end of the series. Remove is_cherryview hack. Add PCI ids. These match the ones defined in the kernel. The only one tested by us is 0x0a84. Capitalize the hex string (Mark) Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Tested-by: "Lecluse, Philippe" <Philippe.Lecluse@intel.com> Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_device_info.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_device_info.c16
1 files changed, 16 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 97243a4..342e566 100644
--- a/src/mesa/drivers/dri/i965/brw_device_info.c
+++ b/src/mesa/drivers/dri/i965/brw_device_info.c
@@ -334,6 +334,22 @@ static const struct brw_device_info brw_device_info_skl_gt3 = {
.supports_simd16_3src = true,
};
+static const struct brw_device_info brw_device_info_bxt = {
+ GEN9_FEATURES,
+ .is_broxton = 1,
+ .gt = 1,
+ .has_llc = false,
+ .max_vs_threads = 112,
+ .max_gs_threads = 112,
+ .max_wm_threads = 32,
+ .urb = {
+ .size = 64,
+ .min_vs_entries = 34,
+ .max_vs_entries = 640,
+ .max_gs_entries = 256,
+ }
+};
+
const struct brw_device_info *
brw_get_device_info(int devid, int revision)
{