isl/gen12: 64k surface alignment
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 16 Feb 2018 10:20:00 +0000 (02:20 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 28 Oct 2019 07:09:14 +0000 (00:09 -0700)
Reworks:
 * Update size for aux map change (Nanley)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/isl/isl.c

index d2bc8a118531d38ca8c43c5858c602c949053020..850e5b1ee95551fba8dccc4095f53efd1869beb3 100644 (file)
@@ -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:
        *