intel/dev: identify tigerlake
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 26 Aug 2020 12:44:23 +0000 (15:44 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 13:25:55 +0000 (13:25 +0000)
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>

src/intel/dev/gen_device_info.c
src/intel/dev/gen_device_info.h

index b29cc3d..1458a5b 100644 (file)
@@ -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 = {
index beeb308..b2797f0 100644 (file)
@@ -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;