From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5B78510E2F6 for ; Mon, 14 Nov 2022 17:07:31 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Mon, 14 Nov 2022 18:07:21 +0100 Message-Id: <20221114170721.32148-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t] lib/i915_blt: Narrow setting same pitch and aux-ccs to Tile64 only List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: In commit 229bb0accbb7 ("lib/i915_blt: equalize pitch and aux-ccs for full resolve") i've incidentally introduce partial regression for x-major and Tile4. Limit equalizing pitch and aux-ccs for full-resolve to Tile64 only. Signed-off-by: Zbigniew KempczyƄski Cc: Kamil Konieczny --- lib/i915/i915_blt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/i915/i915_blt.c b/lib/i915/i915_blt.c index a886c1d72d..3776c56c60 100644 --- a/lib/i915/i915_blt.c +++ b/lib/i915/i915_blt.c @@ -317,7 +317,7 @@ static void fill_data(struct gen12_block_copy_data *data, data->dw00.special_mode = __special_mode(blt); data->dw00.length = extended_command ? 20 : 10; - if (__special_mode(blt) == SM_FULL_RESOLVE) { + if (__special_mode(blt) == SM_FULL_RESOLVE && blt->src.tiling == T_TILE64) { data->dw01.dst_pitch = blt->src.pitch - 1; data->dw01.dst_aux_mode = __aux_mode(&blt->src); } else { -- 2.34.1