summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_device_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/common/gen_device_info.h')
-rw-r--r--src/intel/common/gen_device_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h
index 920a3365025..cc83857b759 100644
--- a/src/intel/common/gen_device_info.h
+++ b/src/intel/common/gen_device_info.h
@@ -186,6 +186,9 @@ struct gen_device_info
/** @} */
};
+#define gen_device_info_is_9lp(devinfo) \
+ (devinfo->is_broxton || devinfo->is_geminilake)
+
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
const char *gen_get_device_name(int devid);