intel/dev: identify alderlake
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 Feb 2021 09:47:46 +0000 (11:47 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 Feb 2021 11:49:41 +0000 (13:49 +0200)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9186>

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

index f990003..e75ad3a 100644 (file)
@@ -968,10 +968,12 @@ static const struct gen_device_info gen_device_info_rkl_gt1 = {
 
 static const struct gen_device_info gen_device_info_adl_gt05 = {
    GEN12_GT05_FEATURES,
+   .is_alderlake = true,
 };
 
 static const struct gen_device_info gen_device_info_adl_gt1 = {
    GEN12_GT_FEATURES(1),
+   .is_alderlake = true,
 };
 
 #define GEN12_DG1_FEATURES                      \
index 87c8328..96c3cc9 100644 (file)
@@ -65,6 +65,7 @@ struct gen_device_info
    bool is_tigerlake;
    bool is_rocketlake;
    bool is_dg1;
+   bool is_alderlake;
 
    bool has_hiz_and_separate_stencil;
    bool must_use_separate_stencil;