From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41B6ACCD1A0 for ; Wed, 18 Sep 2024 12:05:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0621710E585; Wed, 18 Sep 2024 12:05:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="SNyyqIUp"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id E906010E58E for ; Wed, 18 Sep 2024 12:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726661142; x=1758197142; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JZg9TS5F/2snUKyz6UIrkgTltiCJ8+6v/TPYGJNh0Ec=; b=SNyyqIUpQc9U1qwPwS5vUP+om3FaRjqXR+Mp7VmXfV8DP4IQEqGM4Dek 7Ggahr4702ytFuJ7ChPkJx3la5h955CdmtdS1vsAUy6/gY/SqwWsGzom4 yGa4IUJJb6cYwtQUjb1bZ5nAVWFVXB0EW6RqdV77ZIyCHRLprsMSro8Sf ZOJNvb5trdxgoV6piy/W2EGLGTMxwmPDcjIDasia7dBVRhtTypLIdOSO5 0/OzLEg3pESZ3Mo6p1RZrKLSLcDOTt+hLRSYiN8kdGroVqL+1Mdh+1jbM vsRGbPXBtKyKJz5agPKZMYgHOay1UVxIlL55rGE/sO608rjSaxS/8iPXy w==; X-CSE-ConnectionGUID: V9FoKsRcRq6/CoNQUoPi/g== X-CSE-MsgGUID: WX30VTUVTqCWC0MS16+NAA== X-IronPort-AV: E=McAfee;i="6700,10204,11198"; a="25687528" X-IronPort-AV: E=Sophos;i="6.10,238,1719903600"; d="scan'208";a="25687528" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2024 05:05:42 -0700 X-CSE-ConnectionGUID: y8LEkywSTECyazh4m/MEag== X-CSE-MsgGUID: eK54LQZFSR+/CgIUtpy5YA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,238,1719903600"; d="scan'208";a="69634448" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by fmviesa008.fm.intel.com with SMTP; 18 Sep 2024 05:05:40 -0700 Received: by stinkbox (sSMTP sendmail emulation); Wed, 18 Sep 2024 15:05:39 +0300 From: Ville Syrjala To: igt-dev@lists.freedesktop.org Cc: Juha-Pekka Heikkila Subject: [PATCH i-g-t v2 07/18] lib/igt_fb: Add 16bpc compression format for the blitter Date: Wed, 18 Sep 2024 15:05:07 +0300 Message-ID: <20240918120518.30258-8-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240918120518.30258-1-ville.syrjala@linux.intel.com> References: <20240918120518.30258-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" From: Ville Syrjälä Pick the correct compression format for the block copy when using an fp16 pixel format. Reviewed-by: Juha-Pekka Heikkila Signed-off-by: Ville Syrjälä --- lib/igt_fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/igt_fb.c b/lib/igt_fb.c index 213ee7e9aa69..e9cd575bf925 100644 --- a/lib/igt_fb.c +++ b/lib/igt_fb.c @@ -2911,6 +2911,7 @@ const struct { enum blt_compression_type type; uint32_t return_value; } compression_mappings[] = { + { DRM_FORMAT_XRGB16161616F, COMPRESSION_TYPE_3D, 0x5 }, { DRM_FORMAT_XRGB2101010, COMPRESSION_TYPE_3D, 0xc }, { DRM_FORMAT_XRGB8888, COMPRESSION_TYPE_3D, 0x8 }, { DRM_FORMAT_XRGB8888, COMPRESSION_TYPE_MEDIA, 8 }, -- 2.44.2