intel/isl: Build gen12 using gen11 code paths

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jordan Justen
2017-08-16 16:45:47 -07:00
parent 7319003a74
commit 6d63fd8a69
4 changed files with 11 additions and 1 deletions
+4
View File
@@ -219,6 +219,10 @@ ISL_GEN11_FILES = \
isl/isl_emit_depth_stencil.c \
isl/isl_surface_state.c
ISL_GEN12_FILES = \
isl/isl_emit_depth_stencil.c \
isl/isl_surface_state.c
ISL_GENERATED_FILES = \
isl/isl_format_layout.c
+3
View File
@@ -1900,6 +1900,9 @@ isl_surf_get_ccs_surf(const struct isl_device *dev,
case 11: \
isl_gen11_##func(__VA_ARGS__); \
break; \
case 12: \
isl_gen12_##func(__VA_ARGS__); \
break; \
default: \
assert(!"Unknown hardware generation"); \
}
+3
View File
@@ -232,6 +232,9 @@ _isl_memcpy_tiled_to_linear_sse41(uint32_t xt1, uint32_t xt2,
# define genX(x) gen11_##x
# include "isl_genX_priv.h"
# undef genX
# define genX(x) gen12_##x
# include "isl_genX_priv.h"
# undef genX
#endif
#endif /* ISL_PRIV_H */
+1 -1
View File
@@ -51,7 +51,7 @@ isl_gen9_files = files(
isl_gen_libs = []
foreach g : [['40', isl_gen4_files], ['50', []], ['60', isl_gen6_files],
['70', isl_gen7_files], ['75', []], ['80', isl_gen8_files],
['90', isl_gen9_files], ['100', []], ['110', []]]
['90', isl_gen9_files], ['100', []], ['110', []], ['120', []]]
_gen = g[0]
isl_gen_libs += static_library(
'isl_gen@0@'.format(_gen),