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 597FCCAC598 for ; Wed, 17 Sep 2025 19:40:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F2EA10E588; Wed, 17 Sep 2025 19:40:33 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="InwZRWDH"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6BF1210E588 for ; Wed, 17 Sep 2025 19:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1758138031; x=1789674031; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=seN7wLFKlgbpDT8ER04/0tTN1nLYqRwolqy2U69ydIQ=; b=InwZRWDH3eZ0RWhUgM/4vMbnb9UMyrf+9+gq0rQTTKTF9avfR0nX4HY+ /V9wLMgBWJev9Q84ORxicfYXlk1oKHuQyJ+SQ7mKkWrrO9pJ/uqmz7CnN PwuXBopIMcFW7fZF8Lvk09NZSOAwjde4ud6WwpoGVHQ/HbfDfZl2m201v jJrwpuuEnYsLybOWGmHL8AlnKj+/tbcXRkTWWMMLgqCXKBNtrdj/eKxGX RkgdAKs0ZwxJjHhjePzMjzeSi7uUvrbkmYeAjhlmPYkKaB1sawouGNCCB 8GPwrd3m5Bt7y7f4ynhkGAKbIg7hPZmvJE0z8FYI5CEjgZVpcHdZL0um1 g==; X-CSE-ConnectionGUID: JMMkOhvfSySaPHIvXWkEYg== X-CSE-MsgGUID: aqiuiV08T/+btXCKt+8RhQ== X-IronPort-AV: E=McAfee;i="6800,10657,11531"; a="64260918" X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="64260918" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2025 12:40:31 -0700 X-CSE-ConnectionGUID: FFRcD/+hQF6DMWkwzTkLbg== X-CSE-MsgGUID: trSo6aWUTHuUSZ6vW0Gu+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,272,1751266800"; d="scan'208";a="199040682" Received: from orsosgc001.jf.intel.com (HELO orsosgc001.intel.com) ([10.165.21.142]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2025 12:40:31 -0700 Date: Wed, 17 Sep 2025 12:40:30 -0700 Message-ID: <85ecs4kgup.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Cc: , , , Subject: Re: [PATCH v8 1/1] tests/intel/xe_exec_system_allocator: Add pat-index-madvise In-Reply-To: <20250917171941.3025392-2-nishit.sharma@intel.com> References: <20250917171941.3025392-1-nishit.sharma@intel.com> <20250917171941.3025392-2-nishit.sharma@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (x86_64-redhat-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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" On Wed, 17 Sep 2025 10:19:41 -0700, wrote: > > + for (const struct section *s = intel_get_pat_idx_functions; s->name; s++) { > + igt_subtest_f("pat-index-%s", s->name) { > + if ((strstr(s->name, "madvise-pat-idx-wt-") || > + strstr(s->name, "madvise-pat-idx-uc-comp-")) && > + !xe_has_vram(fd)) { > + igt_skip("Skipping compression-related PAT index\n"); > + } > + xe_for_each_engine(fd, hwe) > + test_exec(fd, hwe, 1, 1, SZ_4M, 0, 0, NULL, NULL, s->flags, s->fn); I think it is also possible to add a 'igt_require(xe_has_vram(fd))' in intel_get_pat_idx_wt() and intel_get_pat_idx_uc_comp(). But anyway, it's ok as is too, so this is: Acked-by: Ashutosh Dixit > } > } > > -- > 2.43.0 >