i965/cnl: Define genX(x) and GENX(x) for gen10
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 17 Apr 2017 20:48:55 +0000 (13:48 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 9 Jun 2017 23:02:58 +0000 (16:02 -0700)
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>
src/intel/genxml/gen_macros.h

index b4941b971acf8c3280c5aba868333aa0a055030a..a85c08250c884dbbccda4c623d49e6d84a06ba76 100644 (file)
@@ -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