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 A034EC4828C for ; Thu, 1 Feb 2024 10:30:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 413B410EB63; Thu, 1 Feb 2024 10:30:36 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8406710EB63 for ; Thu, 1 Feb 2024 10:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706783435; x=1738319435; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DbcKelA92leERUpwvPMVKWs5rR72bZ/kFWa9yST22YY=; b=gTa2a78nLesFPwj/5KTyKt6iygbcGMwvnJNvKQCRIbot7biwBdYz8PSy zxKMYcdJjRN8RXFGbEd8uZWSXbx2g/T8HoPqwanjeS5xSPvMwZBdHAuEJ uqpI+5I9025u8EQU7Z8nmk/BPQd1fz/vhEod0XVQIC+Jl0qh9S3/ZjVmi Igts/+yQKxF3/h4Y1c+y0bqFnmiiVL86BU1NJ+Mcww77OhQfqYat7mbrP Sk0XCyT88M25bhh87Ezoxs5tXRSggRdOb86xqrAZcFZJDVViVK+iTEF00 mlX2HAV5h+VQmy3a0OdzFvONJYJae/7IzHnVyAE2ox+vOKJPraCA3uqTm A==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="2798478" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="2798478" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 02:30:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="30834691" Received: from abojovix-mobl.ger.corp.intel.com (HELO mwauld-mobl1.intel.com) ([10.252.0.176]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 02:30:34 -0800 From: Matthew Auld To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t v2 3/3] tests/intel/xe_pat: assert flat CSS support for xe2 Date: Thu, 1 Feb 2024 10:30:17 +0000 Message-ID: <20240201103017.321466-3-matthew.auld@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201103017.321466-1-matthew.auld@intel.com> References: <20240201103017.321466-1-matthew.auld@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: , Cc: Akshata Jahagirdar Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" Xe2+ should support flat CCS compression, and here we are using compressed PAT index modes. Assert the platform indeed has flat CCS here, otherwise something is likely wrong. Signed-off-by: Matthew Auld Cc: Akshata Jahagirdar Cc: Zbigniew Kempczyński Reviewed-by: Zbigniew Kempczyński --- tests/intel/xe_pat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c index 40256bada..3d7d7400c 100644 --- a/tests/intel/xe_pat.c +++ b/tests/intel/xe_pat.c @@ -1049,6 +1049,7 @@ igt_main_args("V", NULL, help_str, opt_handler, NULL) igt_subtest_with_dynamic("pat-index-xe2") { igt_require(intel_get_device_info(dev_id)->graphics_ver >= 20); + igt_assert(HAS_FLATCCS(dev_id)); subtest_pat_index_modes_with_regions(fd, xe2_pat_index_modes, ARRAY_SIZE(xe2_pat_index_modes)); } -- 2.43.0