diff options
Diffstat (limited to 'src/intel/isl/isl_gen7.c')
-rw-r--r-- | src/intel/isl/isl_gen7.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/isl/isl_gen7.c b/src/intel/isl/isl_gen7.c index bb0ab38bc19..d97d615badd 100644 --- a/src/intel/isl/isl_gen7.c +++ b/src/intel/isl/isl_gen7.c @@ -242,6 +242,13 @@ gen7_filter_tiling(const struct isl_device *dev, if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) *flags &= ISL_TILING_Y0_BIT; + /* The CCS formats and tiling always go together */ + if (isl_format_get_layout(info->format)->txc == ISL_TXC_CCS) { + *flags &= ISL_TILING_CCS_BIT; + } else { + *flags &= ~ISL_TILING_CCS_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)) { |