[Mesa-dev] [PATCH 35/36] isl: Add a #define for DEV_IS_BAYTRAIL

Jason Ekstrand jason at jlekstrand.net
Thu Jun 30 00:37:54 UTC 2016


---
 src/intel/isl/isl.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 0a3af02..c360586 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -79,6 +79,10 @@ struct brw_image_param;
 #define ISL_DEV_IS_HASWELL(__dev) ((__dev)->info->is_haswell)
 #endif
 
+#ifndef ISL_DEV_IS_BAYTRAIL
+#define ISL_DEV_IS_BAYTRAIL(__dev) ((__dev)->info->is_baytrail)
+#endif
+
 #ifndef ISL_DEV_USE_SEPARATE_STENCIL
 /**
  * You can define this as a compile-time constant in the CFLAGS. For example,
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list