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 DE041D3B9AC for ; Tue, 26 Nov 2024 16:15:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 774B410E925; Tue, 26 Nov 2024 16:15:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="g3xLrtYS"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id B78AB10E925 for ; Tue, 26 Nov 2024 16:15: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=1732637742; x=1764173742; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VCHAEkSPNvJXAa0nehmxyF0rJ5Vgoc5dBqo1ZKrlhAg=; b=g3xLrtYSAaDLxaf2D5pd4TeO/rt/KfNnWJugjnVRKeJ2TfoyZziO5LF9 OrD5m0BHf8Q+qQML8MaCNeTZDCSlP7HogStkA7LxHVY8t/9B4s50OhRc9 lqKx5A0C/9UOjUguLZ+j1U+Z07R3GeXgiP1ywsuEw9Ek+1UTi/GQIh0+O NIQOESoA2Y+opQGhe9x3ypD9jbOkBqaMHO82Mapf/gCo8Buqkn7Cug6Xx 47unL9I/097KwDdKGvM6Zxyt3HeHwtbq/VqSbQ7vlcNr+hZcDqLCYnaQG c/YbqS0NZGT6jmwsvTa3SZn+LOhJzH30vxy/JNF9T97VWRphDP45MgIaF Q==; X-CSE-ConnectionGUID: wfMH9aRNRCqhBAumqKRmHQ== X-CSE-MsgGUID: 1yhLMjCYQR2hdr9pkAQEQw== X-IronPort-AV: E=McAfee;i="6700,10204,11268"; a="43468127" X-IronPort-AV: E=Sophos;i="6.12,186,1728975600"; d="scan'208";a="43468127" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 08:15:41 -0800 X-CSE-ConnectionGUID: QAOeSF07SjinxysnzOTh6g== X-CSE-MsgGUID: ErpAvAZQTfO2DWhSz7oQ9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,186,1728975600"; d="scan'208";a="129179979" Received: from kunal-x299-aorus-gaming-3-pro.iind.intel.com ([10.190.239.13]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 08:15:39 -0800 From: Jeevan B To: igt-dev@lists.freedesktop.org Cc: swati2.sharma@intel.com, Santhosh Reddy Guddati , Jeevan B , Kunal Joshi Subject: [PATCH i-g-t 4/5] tests/kms_async_flips: Skip async flips on joiner output Date: Tue, 26 Nov 2024 22:00:20 +0530 Message-Id: <20241126163021.458991-5-jeevan.b@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241126163021.458991-1-jeevan.b@intel.com> References: <20241126163021.458991-1-jeevan.b@intel.com> MIME-Version: 1.0 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: Santhosh Reddy Guddati Async flips are disallowed with joiner, but the test commit still goes through and causes failures. Update the tests to skip on joiner outputs. V2: Skip tests only on joiner outputs (Kunal). V3: Add a todo to remove workaround when async flips with joiner is supported in kernel. V4: Add proper FIXME, improve log message and move igt_is_joiner mode to library (Swati). Signed-off-by: Santhosh Reddy Guddati Signed-off-by: Jeevan B Reviewed-by: Kunal Joshi Reviewed-by: Swati Sharma --- tests/kms_async_flips.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c index 5dec71291..3ce6e18d7 100644 --- a/tests/kms_async_flips.c +++ b/tests/kms_async_flips.c @@ -653,6 +653,12 @@ static void run_test(data_t *data, void (*test)(data_t *)) data->allow_fail = false; data->modifier = default_modifier(data); igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data->pipe), data->output->name) { + /* + * FIXME: joiner+async flip is busted currently in KMD. + * Remove this check once the issues are fixed in KMD. + */ + igt_skip_on_f(is_joiner_mode(data->drm_fd, data->output), + "Skipping, async flip not supported on joiner mode\n"); test_init_fbs(data); test(data); } @@ -674,8 +680,16 @@ static void run_test_with_modifiers(data_t *data, void (*test)(data_t *)) igt_dynamic_f("pipe-%s-%s-%s", kmstest_pipe_name(data->pipe), data->output->name, igt_fb_modifier_name(data->modifier)) { - test_init_fbs(data); - test(data); + /* + * FIXME: joiner+async flip is busted currently in KMD. + * Remove this check once the issues are fixed in KMD. + */ + igt_skip_on_f(is_joiner_mode(data->drm_fd, + data->output), + "Skipping, async flip not supported " + "on joiner mode\n"); + test_init_fbs(data); + test(data); } } } -- 2.25.1