summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorAnuj Phogat <anuj.phogat@gmail.com>2017-04-17 13:48:55 -0700
committerAnuj Phogat <anuj.phogat@gmail.com>2017-06-09 16:02:58 -0700
commita48cb9cf7f59cc8ed51819f2e02f88dda3845272 (patch)
treeecf921306e91236d359cc7d7bd4756250f3353ee /src/intel
parentaa416f515a414ed531ce03ffa8ef502b5ba22495 (diff)
i965/cnl: Define genX(x) and GENX(x) for gen10
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen_macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/genxml/gen_macros.h b/src/intel/genxml/gen_macros.h
index b4941b971a..a85c08250c 100644
--- a/src/intel/genxml/gen_macros.h
+++ b/src/intel/genxml/gen_macros.h
@@ -85,6 +85,9 @@
#elif (GEN_VERSIONx10 == 90)
# define GENX(X) GEN9_##X
# define genX(x) gen9_##x
+#elif (GEN_VERSIONx10 == 100)
+# define GENX(X) GEN10_##X
+# define genX(x) gen10_##x
#else
# error "Need to add prefixing macros for this gen"
#endif