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>
This commit is contained in:
Anuj Phogat 2017-04-17 13:48:55 -07:00
parent aa416f515a
commit a48cb9cf7f
1 changed files with 3 additions and 0 deletions

View 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