summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2020-08-26 15:44:23 +0300
committerMarge Bot <eric+marge@anholt.net>2021-02-02 13:25:55 +0000
commitf97fc0ff8b33fbf24a664962c51391a3a51e7e5d (patch)
tree2f3b041a640e2d4428506023445ce445344a2a93 /src/intel
parent6afe5d3624eb2e5025378d55968a824b6b89425c (diff)
intel/dev: identify tigerlake
We'll need that to pick the right query sets between TGL/RKL/DG1. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6518>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/dev/gen_device_info.c2
-rw-r--r--src/intel/dev/gen_device_info.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index b29cc3d51a5..1458a5b2d8e 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -948,10 +948,12 @@ static const struct gen_device_info gen_device_info_ehl_2x4 = {
static const struct gen_device_info gen_device_info_tgl_gt1 = {
GEN12_GT_FEATURES(1),
+ .is_tigerlake = true,
};
static const struct gen_device_info gen_device_info_tgl_gt2 = {
GEN12_GT_FEATURES(2),
+ .is_tigerlake = true,
};
static const struct gen_device_info gen_device_info_rkl_gt05 = {
diff --git a/src/intel/dev/gen_device_info.h b/src/intel/dev/gen_device_info.h
index beeb30899fc..b2797f06d8f 100644
--- a/src/intel/dev/gen_device_info.h
+++ b/src/intel/dev/gen_device_info.h
@@ -62,6 +62,7 @@ struct gen_device_info
bool is_geminilake;
bool is_coffeelake;
bool is_elkhartlake;
+ bool is_tigerlake;
bool is_dg1;
bool has_hiz_and_separate_stencil;