summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen7.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/isl_gen7.c')
-rw-r--r--src/intel/isl/isl_gen7.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl_gen7.c b/src/intel/isl/isl_gen7.c
index 1cdb52d3c4e..bb0ab38bc19 100644
--- a/src/intel/isl/isl_gen7.c
+++ b/src/intel/isl/isl_gen7.c
@@ -238,6 +238,10 @@ gen7_filter_tiling(const struct isl_device *dev,
*flags &= ~ISL_TILING_HIZ_BIT;
}
+ /* MCS buffers are always Y-tiled */
+ if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS)
+ *flags &= ISL_TILING_Y0_BIT;
+
if (info->usage & (ISL_SURF_USAGE_DISPLAY_ROTATE_90_BIT |
ISL_SURF_USAGE_DISPLAY_ROTATE_180_BIT |
ISL_SURF_USAGE_DISPLAY_ROTATE_270_BIT)) {