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.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/intel/isl/isl_gen7.c b/src/intel/isl/isl_gen7.c
index 022dd866a74..805b62badaf 100644
--- a/src/intel/isl/isl_gen7.c
+++ b/src/intel/isl/isl_gen7.c
@@ -249,9 +249,13 @@ gen6_filter_tiling(const struct isl_device *dev,
* For multisample render targets, this field must be 1 (true). MSRTs
* can only be tiled.
*
- * Multisample surfaces never require X tiling, and Y tiling generally
- * performs better than X. So choose Y. (Unless it's stencil, then it
- * must be W).
+ * From the Broadwell PRM >> Volume2d: Command Structures >>
+ * RENDER_SURFACE_STATE Tile Mode:
+ *
+ * If Number of Multisamples is not MULTISAMPLECOUNT_1, this field
+ * must be YMAJOR.
+ *
+ * As usual, though, stencil is special and requires W-tiling.
*/
*flags &= (ISL_TILING_ANY_Y_MASK | ISL_TILING_W_BIT);
}