Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C85AC6E0BE for ; Sat, 1 May 2021 01:50:50 +0000 (UTC) From: Imre Deak Date: Sat, 1 May 2021 04:50:44 +0300 Message-Id: <20210501015044.4139096-3-imre.deak@intel.com> In-Reply-To: <20210501015044.4139096-1-imre.deak@intel.com> References: <20210501015044.4139096-1-imre.deak@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t 3/3] tests/kms_ccs: Test the XYUV8888 format as well List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: In addition to the rest of packed YUV formats add a subtest for XYUV8888 as well, for a coverage of calculations for 32bpp YUV formats. Signed-off-by: Imre Deak --- tests/kms_ccs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c index 30e0fdb54..35f3904ae 100644 --- a/tests/kms_ccs.c +++ b/tests/kms_ccs.c @@ -80,6 +80,7 @@ static const struct { }; static const uint32_t formats[] = { + DRM_FORMAT_XYUV8888, DRM_FORMAT_XRGB8888, DRM_FORMAT_YUYV, DRM_FORMAT_NV12, @@ -90,7 +91,7 @@ static const uint32_t formats[] = { static const struct { uint64_t modifier; const char *str; -} ccs_modifiers[5] = { +} ccs_modifiers[] = { {LOCAL_I915_FORMAT_MOD_Y_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_CCS"}, {LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS"}, {LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS"}, -- 2.27.0 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev