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>,
	Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Subject: [PATCH 1/2] lib/igt_debugfs: handle xe driver as well
Date: Mon, 24 Jun 2024 12:48:04 +0530	[thread overview]
Message-ID: <20240624071805.1356668-2-kunal1.joshi@intel.com> (raw)
In-Reply-To: <20240624071805.1356668-1-kunal1.joshi@intel.com>

add support for xe driver as well

Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
---
 lib/igt_debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index a7b54bae5..f4f749e30 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -502,7 +502,7 @@ bool igt_ignore_long_hpd(int drm_fd, bool enable)
 
 static void igt_hpd_storm_exit_handler(int sig)
 {
-	int fd = drm_open_driver(DRIVER_INTEL);
+	int fd = drm_open_driver(DRIVER_INTEL | DRIVER_XE);
 
 	/* Here we assume that only one i915 device will be ever present */
 	igt_hpd_storm_reset(fd);
-- 
2.25.1


  reply	other threads:[~2024-06-24  7:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24  7:18 [PATCH 0/2] tests/chamelium: fixes for chamelium tests Kunal Joshi
2024-06-24  7:18 ` Kunal Joshi [this message]
2024-06-24  8:07   ` [PATCH 1/2] lib/igt_debugfs: handle xe driver as well Modem, Bhanuprakash
2024-06-24  7:18 ` [PATCH 2/2] tests/chamelium/kms_chamelium_color: plug ports and prefer HDMI Kunal Joshi
2024-06-24 13:22   ` Modem, Bhanuprakash
2024-06-24  8:17 ` ✓ Fi.CI.BAT: success for tests/chamelium: fixes for chamelium tests Patchwork
2024-06-24  8:44 ` ✓ CI.xeBAT: " Patchwork
2024-06-24 10:30 ` ✗ CI.xeFULL: failure " Patchwork
2024-06-25 11:31 ` ✗ Fi.CI.IGT: " 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=20240624071805.1356668-2-kunal1.joshi@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=bhanuprakash.modem@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