diff options
author | Karolina Drobnik <karolina.drobnik@intel.com> | 2022-05-31 12:59:28 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2022-06-01 12:02:16 +0300 |
commit | a6a189fef321ee9230339d2ee8cc2acf8c9476b6 (patch) | |
tree | 827d50d6b3a3eb96d182d5605f16ef0cfe630cad /lib/intel_chipset.h | |
parent | e4dc500add255ce27c4050dcc2384da71e2482bf (diff) |
lib/i915: Add ATS-M definitions
Add local definitions for ATS-M to enable it for testing.
Signed-off-by: Karolina Drobnik <karolina.drobnik@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r-- | lib/intel_chipset.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 4d9f4623..81547408 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -84,6 +84,7 @@ struct intel_device_info { bool is_raptorlake_s : 1; bool is_alderlake_p : 1; bool is_alderlake_n : 1; + bool is_ats_m : 1; const char *codename; }; @@ -190,6 +191,7 @@ void intel_check_pch(void); #define IS_RAPTORLAKE_S(devid) (intel_get_device_info(devid)->is_raptorlake_s) #define IS_ALDERLAKE_P(devid) (intel_get_device_info(devid)->is_alderlake_p) #define IS_ALDERLAKE_N(devid) (intel_get_device_info(devid)->is_alderlake_n) +#define IS_ATS_M(devid) (intel_get_device_info(devid)->is_ats_m) #define IS_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver == x) #define AT_LEAST_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver >= x) |