Skip to content
Snippets Groups Projects
Commit 0316695d authored by Arkadiusz Hiler's avatar Arkadiusz Hiler
Browse files

tests/kms_hdmi_inject: Provide igt_descriptions


This test is quite simple which makes it perfect for the first real
world example of igt_describe usage.

v2: keep the original comment (Simon)

Cc: Simon Ser <simon.ser@intel.com>
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: default avatarPetri Latvala <petri.latvala@intel.com>
Reviewed-by: default avatarSimon Ser <simon.ser@intel.com>
parent 78428bf1
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,10 @@ ...@@ -33,7 +33,10 @@
#define HDISPLAY_4K 3840 #define HDISPLAY_4K 3840
#define VDISPLAY_4K 2160 #define VDISPLAY_4K 2160
IGT_TEST_DESCRIPTION("Tests 4K and audio HDMI injection."); IGT_TEST_DESCRIPTION("Test that in-kernel EDID parsing is producing "
"expected results by forcing a disconnected HDMI "
"connector with a known EDID and checking that the "
"metadata exposed to user space matches.");
/** /**
* This collection of tests performs EDID and status injection tests. Injection * This collection of tests performs EDID and status injection tests. Injection
...@@ -202,9 +205,13 @@ igt_main ...@@ -202,9 +205,13 @@ igt_main
igt_require(connector); igt_require(connector);
} }
igt_describe("Make sure that 4K modes exposed by DRM match the "
"forced EDID and modesetting using it succeed.");
igt_subtest("inject-4k") igt_subtest("inject-4k")
hdmi_inject_4k(drm_fd, connector); hdmi_inject_4k(drm_fd, connector);
igt_describe("Make sure that audio information exposed by ALSA "
"match the forced EDID.");
igt_subtest("inject-audio") igt_subtest("inject-audio")
hdmi_inject_audio(drm_fd, connector); hdmi_inject_audio(drm_fd, connector);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment