aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-02-16 02:20:00 -0800
committerJordan Justen <[email protected]>2019-10-28 00:09:14 -0700
commitd09db2d7b2a1199f05bf43b1420b6af189b06cf8 (patch)
tree2ae734297d55623f91aae7c932c81e4824480255 /src/intel/isl
parentf118ca20758c85da1aaf1792e61aadb298b32a47 (diff)
isl/gen12: 64k surface alignment
Reworks: * Update size for aux map change (Nanley) Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index d2bc8a11853..850e5b1ee95 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -1538,6 +1538,10 @@ isl_surf_init_s(const struct isl_device *dev,
base_alignment_B = MAX(info->min_alignment_B, tile_size_B);
}
+ if (ISL_DEV_GEN(dev) >= 12) {
+ base_alignment_B = MAX(base_alignment_B, 64 * 1024);
+ }
+
if (ISL_DEV_GEN(dev) < 9) {
/* From the Broadwell PRM Vol 5, Surface Layout:
*