diff options
author | Ben Widawsky <[email protected]> | 2015-12-29 09:11:02 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2017-06-09 15:27:14 -0700 |
commit | d968f072bcd748f29d4d2cb129ba0c201f435be2 (patch) | |
tree | 9e1cc66aa9fac8114a2eb88982b85b4b8d6cedda /src/intel/common | |
parent | 51553c0beaeb91b1f2cb3292ac55573309b1d86f (diff) |
i965: Make feature macros gen8 based
All the "features" of the hardware are similar starting with GEN8, so remove as
much of the GEN9 uniqueness as possible. This makes implementing future gen
platforms a bit easier.
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r-- | src/intel/common/gen_device_info.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c index e5c74c75acf..67da22a55f7 100644 --- a/src/intel/common/gen_device_info.c +++ b/src/intel/common/gen_device_info.c @@ -388,15 +388,8 @@ static const struct gen_device_info gen_device_info_chv = { } }; -#define GEN9_FEATURES \ +#define GEN9_HW_INFO \ .gen = 9, \ - .has_hiz_and_separate_stencil = true, \ - .has_resource_streamer = true, \ - .must_use_separate_stencil = true, \ - .has_llc = true, \ - .has_pln = true, \ - .supports_simd16_3src = true, \ - .has_surface_tile_offset = true, \ .max_vs_threads = 336, \ .max_gs_threads = 336, \ .max_tcs_threads = 336, \ @@ -464,6 +457,10 @@ static const struct gen_device_info gen_device_info_chv = { }, \ } +#define GEN9_FEATURES \ + GEN8_FEATURES, \ + GEN9_HW_INFO + static const struct gen_device_info gen_device_info_skl_gt1 = { GEN9_FEATURES, .gt = 1, .num_slices = 1, |