isl: further restrict alignment constraints

We can limit the AUX-TT requirements to formats supporting CCS.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26890>
This commit is contained in:
Lionel Landwerlin 2024-01-02 10:52:20 +02:00 committed by Marge Bot
parent 907afddf97
commit 32450d0901

View file

@ -2577,6 +2577,8 @@ isl_calc_base_alignment(const struct isl_device *dev,
* there.
*/
if (dev->info->has_aux_map &&
(isl_format_supports_ccs_d(dev->info, info->format) ||
isl_format_supports_ccs_e(dev->info, info->format)) &&
!INTEL_DEBUG(DEBUG_NO_CCS) &&
!(info->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)) {
base_alignment_B = MAX(base_alignment_B, dev->info->verx10 >= 125 ?