Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_hdmi_inject: Fix audio test by loading snd driver
@ 2023-07-24  7:37 Garg, Nemesa
  2023-07-24  8:21 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Garg, Nemesa @ 2023-07-24  7:37 UTC (permalink / raw)
  To: igt-dev; +Cc: Garg, Garg, Nemesa

As audio driver is blacklisted so load the snd_hda_intel module before the inject_audio
test run

Signed-off-by: Garg, Nemesa <nemesa.garg@intel.com>
---
 tests/kms_hdmi_inject.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
index 9aa5c59fc..1964d7541 100644
--- a/tests/kms_hdmi_inject.c
+++ b/tests/kms_hdmi_inject.c
@@ -30,6 +30,7 @@
 #include "igt_edid.h"
 #include "igt_eld.h"
 #include "xe/xe_query.h"
+#include "igt_kmod.h"
 
 #define HDISPLAY_4K	3840
 #define VDISPLAY_4K	2160
@@ -206,6 +207,9 @@ igt_main
 		igt_require(connector);
 
 		kmstest_unset_all_crtcs(drm_fd, res);
+
+		if (!igt_kmod_is_loaded("snd_hda_intel"))
+			igt_kmod_load("snd_hda_intel", NULL);
 	}
 
 	igt_describe("Make sure that 4K modes exposed by DRM match the "
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-26  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24  7:37 [igt-dev] [PATCH i-g-t] tests/kms_hdmi_inject: Fix audio test by loading snd driver Garg, Nemesa
2023-07-24  8:21 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-07-24  9:54 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-07-25  9:55 ` [igt-dev] [PATCH i-g-t] " B, Jeevan
2023-07-26  5:26   ` Garg, Nemesa
2023-07-26  6:31     ` B, Jeevan
2023-07-26  7:30 ` Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox