Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Garg, Nemesa" <nemesa.garg@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Garg@freedesktop.org, "Garg, Nemesa" <nemesa.garg@intel.com>
Subject: [igt-dev] [PATCH i-g-t] tests/kms_hdmi_inject: As audio driver is blacklisted so loading the module before the test run
Date: Thu, 20 Jul 2023 20:32:39 +0530	[thread overview]
Message-ID: <20230720150239.550161-1-nemesa.garg@intel.com> (raw)

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..1b99e190e 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
@@ -208,6 +209,9 @@ igt_main
 		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 "
                      "forced EDID and modesetting using it succeed.");
 	igt_subtest("inject-4k")
-- 
2.25.1

             reply	other threads:[~2023-07-20 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 15:02 Garg, Nemesa [this message]
2023-07-20 16:02 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_hdmi_inject: As audio driver is blacklisted so loading the module before the test run Patchwork
2023-07-20 16:11 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-20 22:09 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2023-07-25 16:04 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2023-07-25 16:40   ` Garg, Nemesa

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=20230720150239.550161-1-nemesa.garg@intel.com \
    --to=nemesa.garg@intel.com \
    --cc=Garg@freedesktop.org \
    --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