isl/gen12: 64k surface alignment

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>
This commit is contained in:
Jordan Justen 2018-02-16 02:20:00 -08:00
parent f118ca2075
commit d09db2d7b2
No known key found for this signature in database
GPG key ID: 37F99F68CAF992EB

View 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:
*