mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
f118ca2075
commit
d09db2d7b2
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue