summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-05-10 10:50:15 -0700
committerAnuj Phogat <[email protected]>2018-02-15 16:14:55 -0800
commit165a68b05aab6e4c75c83ec664be33c4e97f7f67 (patch)
treeaef6fdaa7c73aae14dc4fbe70ac2c82d9d2fc152 /src/intel/genxml
parent7ed27d8cbf2febbe69ce1586d5d67c1bba126bc7 (diff)
intel/genxml/icl: Generate packing headers
Move build system changes in to one patch (Ken, Emil) Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r--src/intel/genxml/genX_pack.h2
-rw-r--r--src/intel/genxml/gen_macros.h3
-rw-r--r--src/intel/genxml/meson.build1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/genxml/genX_pack.h b/src/intel/genxml/genX_pack.h
index 187e75c5987..cf39973db14 100644
--- a/src/intel/genxml/genX_pack.h
+++ b/src/intel/genxml/genX_pack.h
@@ -46,6 +46,8 @@
# include "genxml/gen9_pack.h"
#elif (GEN_VERSIONx10 == 100)
# include "genxml/gen10_pack.h"
+#elif (GEN_VERSIONx10 == 110)
+# include "genxml/gen11_pack.h"
#else
# error "Need to add a pack header include for this gen"
#endif
diff --git a/src/intel/genxml/gen_macros.h b/src/intel/genxml/gen_macros.h
index a85c08250c8..43449a41a46 100644
--- a/src/intel/genxml/gen_macros.h
+++ b/src/intel/genxml/gen_macros.h
@@ -88,6 +88,9 @@
#elif (GEN_VERSIONx10 == 100)
# define GENX(X) GEN10_##X
# define genX(x) gen10_##x
+#elif (GEN_VERSIONx10 == 110)
+# define GENX(X) GEN11_##X
+# define genX(x) gen11_##x
#else
# error "Need to add prefixing macros for this gen"
#endif
diff --git a/src/intel/genxml/meson.build b/src/intel/genxml/meson.build
index 371f85307c8..970d5654713 100644
--- a/src/intel/genxml/meson.build
+++ b/src/intel/genxml/meson.build
@@ -28,6 +28,7 @@ gen_xml_files = [
'gen8.xml',
'gen9.xml',
'gen10.xml',
+ 'gen11.xml',
]
genX_xml_h = custom_target(