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>
This commit is contained in:
Lionel Landwerlin 2020-08-26 15:44:23 +03:00 committed by Marge Bot
parent 6afe5d3624
commit f97fc0ff8b
2 changed files with 3 additions and 0 deletions

View 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 = {

View 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;