mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
isl: Apply VALIGN_8 fast-clear restriction on Xe3P+
Bpec 57340 and HSD 22021327133 state that this restriction applies to Xe3P+. Ref: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15067 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40471>
This commit is contained in:
parent
cba5841d61
commit
558053ef20
1 changed files with 8 additions and 4 deletions
|
|
@ -240,14 +240,18 @@ isl_gfx20_choose_image_alignment_el(const struct isl_device *dev,
|
|||
|
||||
/* WA_22018390030:
|
||||
*
|
||||
* Don't choose VALIGN_4 on Xe2 for color, non-volumetric, Tile4 surfaces
|
||||
* which can be fast cleared. We choose the next smallest option instead,
|
||||
* VALIGN_8.
|
||||
* Don't choose VALIGN_4 on Xe2 for color, non-volumetric, Tile4
|
||||
* surfaces which can be fast cleared. We choose the next smallest
|
||||
* option instead, VALIGN_8.
|
||||
*
|
||||
* Bspec 57340 and HSD 22021327133 state that this also applies to
|
||||
* Xe3P+.
|
||||
*/
|
||||
if (!INTEL_DEBUG(DEBUG_NO_FAST_CLEAR) &&
|
||||
intel_needs_workaround(dev->info, 22018390030) &&
|
||||
tiling == ISL_TILING_4 &&
|
||||
info->dim != ISL_SURF_DIM_3D) {
|
||||
assert(intel_needs_workaround(dev->info, 22018390030) ||
|
||||
ISL_GFX_VER(dev) >= 35);
|
||||
image_align_el->h = 8;
|
||||
}
|
||||
} else if (fmtl->bpb >= 64) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue