From 3c75b315e13e88555cb7aed7549a4526a140ac7e Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 28 Jun 2016 16:14:24 -0700 Subject: [PATCH] isl: Add a #define for DEV_IS_BAYTRAIL Reviewed-by: Topi Pohjolainen --- 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 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, -- 2.30.2