[PATCH i-g-t 1/3] lib/igt_debugfs: handle xe driver as well

Kunal Joshi kunal1.joshi at intel.com
Tue Jun 25 14:06:03 UTC 2024


add support for xe driver as well

Cc: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at 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



More information about the igt-dev mailing list