summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-06-28 16:14:24 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-08-17 14:46:22 -0700
commit3c75b315e13e88555cb7aed7549a4526a140ac7e (patch)
tree0afa98c566f352c6659aef9c3f6245b6f3b80e96 /src/intel/isl/isl.h
parent56746d04d59f711d5ace0b86f2b2da96bd337ea1 (diff)
downloadexternal_mesa3d-3c75b315e13e88555cb7aed7549a4526a140ac7e.zip
external_mesa3d-3c75b315e13e88555cb7aed7549a4526a140ac7e.tar.gz
external_mesa3d-3c75b315e13e88555cb7aed7549a4526a140ac7e.tar.bz2
isl: Add a #define for DEV_IS_BAYTRAIL
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index c28c6c4..66dab26 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,