summaryrefslogtreecommitdiff
path: root/src/intel_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r--src/intel_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h
index 80643c32..f88dee09 100644
--- a/src/intel_driver.h
+++ b/src/intel_driver.h
@@ -239,4 +239,6 @@ struct intel_region {
#define IS_GLK(device_info) (device_info->is_glklake)
+#define IS_GEN10(device_info) (device_info->gen == 10)
+
#endif /* _INTEL_DRIVER_H_ */