diff options
author | Jason Ekstrand <[email protected]> | 2018-01-08 16:27:45 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2019-10-17 14:47:22 -0700 |
commit | 9dd9c3363b4aa0ef0586b75cab91f5efe2efbea8 (patch) | |
tree | 95f473c6b408f242864b662477adfe2aca8fa2a8 /src/intel/isl/isl_surface_state.c | |
parent | 523ba0a3e71107f5ac445895109808c0d820b0d0 (diff) |
intel/genxml: Remove W-tiling on gen12
It's no longer supported by the hardware
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index b22657e54c2..8a16fac5b3b 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -72,7 +72,9 @@ static const uint8_t isl_to_gen_tiling[] = { [ISL_TILING_Y0] = YMAJOR, [ISL_TILING_Yf] = YMAJOR, [ISL_TILING_Ys] = YMAJOR, +#if GEN_GEN <= 11 [ISL_TILING_W] = WMAJOR, +#endif }; #endif @@ -447,6 +449,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, #endif #if GEN_GEN >= 8 + assert(GEN_GEN < 12 || info->surf->tiling != ISL_TILING_W); s.TileMode = isl_to_gen_tiling[info->surf->tiling]; #else s.TiledSurface = info->surf->tiling != ISL_TILING_LINEAR, |