diff options
author | Kristian Høgsberg <[email protected]> | 2014-09-22 04:44:19 -0700 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2014-12-08 16:33:59 -0800 |
commit | cae7a2a0319e31eef0975edafc730efd3bd2c8d4 (patch) | |
tree | 9d5a42ebbbf198a442c5062dc3010a5d386ce2dd /src/mesa/drivers | |
parent | 5bad948fa8a4fe812d254b6251e5e5dbd8a64e1c (diff) |
i965/skl: Add Skylake PCI IDs
Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_device_info.c | 29 |
1 files changed, 29 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 35ca125b271..bbd907bf9e7 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -251,6 +251,35 @@ static const struct brw_device_info brw_device_info_chv = { } }; +/* Thread counts and URB limits are placeholders, and may not be accurate. */ +#define GEN9_FEATURES \ + .gen = 9, \ + .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, \ + } + +static const struct brw_device_info brw_device_info_skl_gt1 = { + GEN9_FEATURES, .gt = 1 +}; + +static const struct brw_device_info brw_device_info_skl_gt2 = { + GEN9_FEATURES, .gt = 2 +}; + +static const struct brw_device_info brw_device_info_skl_gt3 = { + GEN9_FEATURES, .gt = 3 +}; + const struct brw_device_info * brw_get_device_info(int devid) { |