diff options
author | Jordan Justen <[email protected]> | 2018-02-16 02:20:00 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2019-10-28 00:09:14 -0700 |
commit | d09db2d7b2a1199f05bf43b1420b6af189b06cf8 (patch) | |
tree | 2ae734297d55623f91aae7c932c81e4824480255 /src/intel/isl | |
parent | f118ca20758c85da1aaf1792e61aadb298b32a47 (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.c | 4 |
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: * |