diff options
author | Jason Ekstrand <[email protected]> | 2016-06-28 16:14:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-17 14:46:22 -0700 |
commit | 3c75b315e13e88555cb7aed7549a4526a140ac7e (patch) | |
tree | 0afa98c566f352c6659aef9c3f6245b6f3b80e96 | |
parent | 56746d04d59f711d5ace0b86f2b2da96bd337ea1 (diff) |
isl: Add a #define for DEV_IS_BAYTRAIL
Reviewed-by: Topi Pohjolainen <[email protected]>
-rw-r--r-- | src/intel/isl/isl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index c28c6c4855a..66dab2642dd 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, |