From 4512d815590ffd4d4cc12a2edf6f0aa964b783cd Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Fri, 16 Jan 2026 10:41:44 -0500 Subject: [PATCH] intel/blorp: Bump pitch when clearing unaligned bottom rows This might be faster if the layer starts at a 64KB offset. No performance benefits found in the performance CI. Reviewed-by: Jianxun Zhang Part-of: --- src/intel/blorp/blorp_clear.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 0aba706db0a..146705e72d8 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -727,6 +727,7 @@ blorp_fast_clear(struct blorp_batch *batch, assert(isl_surf.logical_level0_px.h == 32); isl_surf.logical_level0_px.h = unaligned_bottom_rows; isl_surf.phys_level0_sa.h = unaligned_bottom_rows; + isl_surf.row_pitch_B = align(isl_surf.row_pitch_B, 16 * 128); fast_clear_surf(batch, &mem_surf, isl_surf.format, swizzle, 0, 0, isl_surf.logical_level0_px.a); }