iris: Disable fast clear when surface width is 16k

HSD 16023071695 description mentions we need to extend
WA_16021232440 to cover the case when surface width is 16k.

BSpec: 57340

Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34838>
This commit is contained in:
Aditya Swarup
2025-05-06 07:51:29 -07:00
parent 6528d267ef
commit ac863b8b15
+5 -2
View File
@@ -157,9 +157,12 @@ can_fast_clear_color(struct iris_context *ice,
return false;
}
/* Wa_16021232440: Disable fast clear when height is 16k */
/* Wa_16021232440, HSD_16023071695: Disable fast clear when height
* or width is 16k.
*/
if (intel_needs_workaround(devinfo, 16021232440) &&
res->surf.logical_level0_px.h == 16 * 1024) {
(res->surf.logical_level0_px.h == 16 * 1024 ||
res->surf.logical_level0_px.w == 16 * 1024)) {
return false;
}