diff options
Diffstat (limited to 'src/intel/isl/isl.c')
-rw-r--r-- | src/intel/isl/isl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index a883aecddb4..b6e88ad03e6 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -236,11 +236,11 @@ isl_surf_choose_tiling(const struct isl_device *dev, { isl_tiling_flags_t tiling_flags = info->tiling_flags; - if (ISL_DEV_GEN(dev) >= 7) { - gen7_filter_tiling(dev, info, &tiling_flags); + if (ISL_DEV_GEN(dev) >= 6) { + gen6_filter_tiling(dev, info, &tiling_flags); } else { isl_finishme("%s: gen%u", __func__, ISL_DEV_GEN(dev)); - gen7_filter_tiling(dev, info, &tiling_flags); + gen6_filter_tiling(dev, info, &tiling_flags); } #define CHOOSE(__tiling) \ |