diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2016-11-10 10:20:11 -0800 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-11-24 16:34:40 +0000 |
commit | 045420ea06b6aacdaab3dbf5915c3747093e6506 (patch) | |
tree | f3d3abdd445d657bf54923cb1b00018d09e273a9 /src | |
parent | ee56f5577d7e57ddb3440b51152742182174f390 (diff) | |
download | external_mesa3d-045420ea06b6aacdaab3dbf5915c3747093e6506.tar.gz external_mesa3d-045420ea06b6aacdaab3dbf5915c3747093e6506.tar.bz2 external_mesa3d-045420ea06b6aacdaab3dbf5915c3747093e6506.zip |
i965/glk: Add basic Geminilake support
v2: s/bdw/gen; Add the 2x6 config
v3: Add min_ds_entries
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 2193fb0e1f437b53672a03f74e40d4aebc503f9e)
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/common/gen_device_info.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c index c7b8e5650a..51fdf34232 100644 --- a/src/intel/common/gen_device_info.c +++ b/src/intel/common/gen_device_info.c @@ -475,6 +475,52 @@ static const struct gen_device_info gen_device_info_kbl_gt4 = { .num_slices = 3, }; +static const struct gen_device_info gen_device_info_glk = { + GEN9_FEATURES, + .is_broxton = 1, + .gt = 1, + .has_llc = false, + + .num_slices = 1, + .max_vs_threads = 112, + .max_tcs_threads = 112, + .max_tes_threads = 112, + .max_gs_threads = 112, + .max_cs_threads = 6 * 6, + .urb = { + .size = 192, + .min_vs_entries = 34, + .min_ds_entries = 34, + .max_vs_entries = 704, + .max_tcs_entries = 256, + .max_tes_entries = 416, + .max_gs_entries = 256, + } +}; + +static const struct gen_device_info gen_device_info_glk_2x6 = { + GEN9_FEATURES, + .is_broxton = 1, + .gt = 1, + .has_llc = false, + + .num_slices = 1, + .max_vs_threads = 56, /* XXX: guess */ + .max_tcs_threads = 56, /* XXX: guess */ + .max_tes_threads = 56, + .max_gs_threads = 56, + .max_cs_threads = 6 * 6, + .urb = { + .size = 128, + .min_vs_entries = 34, + .min_ds_entries = 34, + .max_vs_entries = 352, + .max_tcs_entries = 128, + .max_tes_entries = 208, + .max_gs_entries = 128, + } +}; + bool gen_get_device_info(int devid, struct gen_device_info *devinfo) { |