Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>,
	Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: [PATCH i-g-t 5/6] tests/intel/kms_dp_linktrain_fallback: disable ignore long hpd
Date: Tue, 11 Feb 2025 00:26:05 +0530	[thread overview]
Message-ID: <20250210185606.1327892-6-kunal1.joshi@intel.com> (raw)
In-Reply-To: <20250210185606.1327892-1-kunal1.joshi@intel.com>

Some systems may have environment variable IGT_KMS_IGNORE_HPD
set which will ignore hpd, disable it before starting the test.

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
---
 tests/intel/kms_dp_linktrain_fallback.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/intel/kms_dp_linktrain_fallback.c b/tests/intel/kms_dp_linktrain_fallback.c
index 69d48ca21..c8d284e17 100644
--- a/tests/intel/kms_dp_linktrain_fallback.c
+++ b/tests/intel/kms_dp_linktrain_fallback.c
@@ -637,6 +637,12 @@ igt_main
 			if (current_log_level > 10)
 				igt_drm_debug_level_update(10);
 		}
+		/*
+		 * Some environments may have environment
+		 * variable set to ignore long hpd, disable it for this test
+		 */
+		igt_assert_f(igt_ignore_long_hpd(data.drm_fd, false),
+			     "Unable to disable ignore long hpd\n");
 	}
 
 	igt_subtest("dp-fallback") {
-- 
2.25.1


  parent reply	other threads:[~2025-02-10 18:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10 18:56 [PATCH i-g-t 0/6] add dsc-fallback test Kunal Joshi
2025-02-10 18:56 ` [PATCH i-g-t 1/6] tests/intel/kms_mst_helper: add helper for MST-related functions Kunal Joshi
2025-02-11  3:57   ` Nautiyal, Ankit K
2025-02-11  8:34     ` Kamil Konieczny
2025-02-11 12:44       ` Nautiyal, Ankit K
2025-02-10 18:56 ` [PATCH i-g-t 2/6] tests/intel/kms_dp_linktrain_fallback: reuse from mst helper lib Kunal Joshi
2025-02-11  4:03   ` Nautiyal, Ankit K
2025-02-10 18:56 ` [PATCH i-g-t 3/6] tests/intel/kms_dp_linktrain_fallback: refactor dp-fallback subtest Kunal Joshi
2025-02-11  5:04   ` Nautiyal, Ankit K
2025-02-10 18:56 ` [PATCH i-g-t 4/6] tests/intel/kms_dp_linktrain_fallback: add dsc-fallback test Kunal Joshi
2025-02-11  5:27   ` Nautiyal, Ankit K
2025-02-10 18:56 ` Kunal Joshi [this message]
2025-02-11  5:30   ` [PATCH i-g-t 5/6] tests/intel/kms_dp_linktrain_fallback: disable ignore long hpd Nautiyal, Ankit K
2025-02-10 18:56 ` [PATCH i-g-t 6/6] HAX: Do not merge Kunal Joshi
2025-02-10 23:59 ` ✗ i915.CI.BAT: failure for add dsc-fallback test (rev3) Patchwork
2025-02-11  0:04 ` ✗ Xe.CI.BAT: " Patchwork
2025-02-11 11:15 ` ✗ Xe.CI.Full: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250210185606.1327892-6-kunal1.joshi@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox