intel/dev: flag the Elkhart Lake platform
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 30 Oct 2019 08:59:35 +0000 (10:59 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 15 Nov 2019 13:14:30 +0000 (13:14 +0000)
We'll use this for performance metrics which are different from ICL.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/dev/gen_device_info.c
src/intel/dev/gen_device_info.h

index db9381611a656b1bda49bd9ad9bb0817503c8add..1ad2eed5e10f1eca1511ed3ccf9e3b60f7d3a35a 100644 (file)
@@ -66,6 +66,7 @@ gen_device_name_to_pci_device_id(const char *name)
       { "cml", 0x9b41 },
       { "cnl", 0x5a52 },
       { "icl", 0x8a52 },
+      { "ehl", 0x4500 },
       { "tgl", 0x9a49 },
    };
 
@@ -948,6 +949,7 @@ static const struct gen_device_info gen_device_info_icl_1x8 = {
 
 static const struct gen_device_info gen_device_info_ehl_4x8 = {
    GEN11_FEATURES(1, 1, subslices(4), 4),
+   .is_elkhartlake = true,
    .urb = {
       .size = 512,
       .min_entries = {
@@ -969,6 +971,7 @@ static const struct gen_device_info gen_device_info_ehl_4x8 = {
  */
 static const struct gen_device_info gen_device_info_ehl_4x4 = {
    GEN11_FEATURES(1, 1, subslices(4), 4),
+   .is_elkhartlake = true,
    .urb = {
       .size = 512,
       .min_entries = {
@@ -991,6 +994,7 @@ static const struct gen_device_info gen_device_info_ehl_4x4 = {
  */
 static const struct gen_device_info gen_device_info_ehl_2x4 = {
    GEN11_FEATURES(1, 1, subslices(2), 4),
+   .is_elkhartlake = true,
    .urb = {
       .size = 512,
       .min_entries = {
index 4389b8e29312065960413807626dba6f52117c47..65bef8f158e3885484c3b166fc756c901c69769d 100644 (file)
@@ -62,6 +62,7 @@ struct gen_device_info
    bool is_geminilake;
    bool is_coffeelake;
    bool is_cannonlake;
+   bool is_elkhartlake;
 
    bool has_hiz_and_separate_stencil;
    bool must_use_separate_stencil;