From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Lucas De Marchi To: igt-dev@lists.freedesktop.org Date: Thu, 3 Aug 2023 15:02:48 -0700 Message-Id: <20230803220248.871666-1-lucas.demarchi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH igt] tests/xe_debugfs: Skip test for tile count List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lucas De Marchi , intel-xe@lists.freedesktop.org, Rodrigo Vivi Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Once upon a time in xe, tile count and gt count were the same thing. This is not necessarily true anymore. Example: Meteor Lake has just one tile, but 2 GTs (one for graphics, one for media). There's little value in comparing what the kernel exports via ioctl from what the kernel exports via debugfs. Just remove the test. Signed-off-by: Lucas De Marchi --- tests/xe/xe_debugfs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/xe/xe_debugfs.c b/tests/xe/xe_debugfs.c index 5434d4645..e51d03661 100644 --- a/tests/xe/xe_debugfs.c +++ b/tests/xe/xe_debugfs.c @@ -104,9 +104,6 @@ test_base(int fd, struct drm_xe_query_config *config) igt_assert(igt_debugfs_search(fd, "info", reference)); - sprintf(reference, "tile_count %lld", config->info[XE_QUERY_CONFIG_GT_COUNT]); - igt_assert(igt_debugfs_search(fd, "info", reference)); - switch (config->info[XE_QUERY_CONFIG_VA_BITS]) { case 48: val = 3; -- 2.40.1