diff options
author | Jason Ekstrand <[email protected]> | 2016-11-08 13:21:38 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-22 08:06:33 -0800 |
commit | 767b163e478475a3c56fc7319ed0b9f5733eb7c9 (patch) | |
tree | 9c59c776c64b842c1acdf874189c0c01bab9265a /src | |
parent | e074a08a6ded3260f13111d0e23961dea2da2442 (diff) |
intel/common: Add an is_kabylake field to gen_device_info
Most of the 3-D engine Kaby Lake is identical to Sky Lake. However, there
are a few small differences that we need to be able to detect.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/common/gen_device_info.c | 5 | ||||
-rw-r--r-- | src/intel/common/gen_device_info.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c index 42677516088..9bf3cd5cc42 100644 --- a/src/intel/common/gen_device_info.c +++ b/src/intel/common/gen_device_info.c @@ -489,6 +489,7 @@ static const struct gen_device_info gen_device_info_bxt_2x6 = { static const struct gen_device_info gen_device_info_kbl_gt1 = { GEN9_FEATURES, + .is_kabylake = true, .gt = 1, .max_cs_threads = 7 * 6, @@ -498,6 +499,7 @@ static const struct gen_device_info gen_device_info_kbl_gt1 = { static const struct gen_device_info gen_device_info_kbl_gt1_5 = { GEN9_FEATURES, + .is_kabylake = true, .gt = 1, .max_cs_threads = 7 * 6, @@ -506,6 +508,7 @@ static const struct gen_device_info gen_device_info_kbl_gt1_5 = { static const struct gen_device_info gen_device_info_kbl_gt2 = { GEN9_FEATURES, + .is_kabylake = true, .gt = 2, .num_slices = 1, @@ -513,6 +516,7 @@ static const struct gen_device_info gen_device_info_kbl_gt2 = { static const struct gen_device_info gen_device_info_kbl_gt3 = { GEN9_FEATURES, + .is_kabylake = true, .gt = 3, .num_slices = 2, @@ -520,6 +524,7 @@ static const struct gen_device_info gen_device_info_kbl_gt3 = { static const struct gen_device_info gen_device_info_kbl_gt4 = { GEN9_FEATURES, + .is_kabylake = true, .gt = 4, /* diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h index 2c4faf4d0d1..f0e8750d0ea 100644 --- a/src/intel/common/gen_device_info.h +++ b/src/intel/common/gen_device_info.h @@ -41,6 +41,7 @@ struct gen_device_info bool is_haswell; bool is_cherryview; bool is_broxton; + bool is_kabylake; bool has_hiz_and_separate_stencil; bool must_use_separate_stencil; |