summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_device_info.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-11-08 13:21:38 -0800
committerJason Ekstrand <[email protected]>2016-11-22 08:06:33 -0800
commit767b163e478475a3c56fc7319ed0b9f5733eb7c9 (patch)
tree9c59c776c64b842c1acdf874189c0c01bab9265a /src/intel/common/gen_device_info.c
parente074a08a6ded3260f13111d0e23961dea2da2442 (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/intel/common/gen_device_info.c')
-rw-r--r--src/intel/common/gen_device_info.c5
1 files changed, 5 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,
/*