aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-08-26 13:01:13 -0700
committerKenneth Graunke <[email protected]>2016-09-15 21:21:50 -0700
commit081f21f29bd6bee866ddb21d423ffa0506dd7bac (patch)
tree2e2436f43c22e479653bb93159406497443c79e8 /src/intel/isl/isl.c
parent9fec15a7e047eda52beb0cc71d7605656d91f685 (diff)
isl: Finish tiling filtering for Gen6.
Gen6 only has one additional restriction over Gen7+, so we just add it to the existing gen7 function (which actually covers later gens too). This should stop FINISHME spew when running GL on Sandybridge. v2: Fix bytes per block vs. bits per block confusion (Jason) and rename function to gen6_filter_tiling (Jason and Chad). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.c')
-rw-r--r--src/intel/isl/isl.c6
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) \