projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56746d0
)
isl: Add a #define for DEV_IS_BAYTRAIL
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 28 Jun 2016 23:14:24 +0000
(16:14 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000
(14:46 -0700)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/isl.h
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl.h
b/src/intel/isl/isl.h
index c28c6c4855a8ccfe88c8594ba93e192a458ef13a..66dab2642dda72b5b83a9ca6c49fc3dc511fb20f 100644
(file)
--- 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,