From: Jordan Justen Date: Fri, 16 Feb 2018 10:20:00 +0000 (-0800) Subject: isl/gen12: 64k surface alignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d09db2d7b2a1199f05bf43b1420b6af189b06cf8;p=mesa.git isl/gen12: 64k surface alignment Reworks: * Update size for aux map change (Nanley) Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke --- 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: *