From: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/4] tests/kms_hdmi_inject: Unset all crtcs before the test
Date: Thu, 25 Jul 2019 15:35:44 +0300 [thread overview]
Message-ID: <20190725123546.16038-2-arkadiusz.hiler@intel.com> (raw)
In-Reply-To: <20190725123546.16038-1-arkadiusz.hiler@intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
On pre-HSW we have separate encoders for the DP and HDMI ports,
but both can't be enabled at the same time. The test fails to
account for that and can thus fail when the kernel rejects
the modeset. We can avoid that by turning off all the ports
beforehand.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
tests/kms_hdmi_inject.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
index 78684241..3da1028c 100644
--- a/tests/kms_hdmi_inject.c
+++ b/tests/kms_hdmi_inject.c
@@ -203,6 +203,8 @@ igt_main
connector = get_connector(drm_fd, res);
igt_require(connector);
+
+ kmstest_unset_all_crtcs(drm_fd, res);
}
igt_describe("Make sure that 4K modes exposed by DRM match the "
--
2.21.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-07-25 12:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 12:35 [igt-dev] [PATCH i-g-t 1/4] tests/kms_3d: Unset all crtcs before the test Arkadiusz Hiler
2019-07-25 12:35 ` Arkadiusz Hiler [this message]
2019-07-25 12:52 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_hdmi_inject: " Arkadiusz Hiler
2019-07-25 12:35 ` [igt-dev] [PATCH i-g-t 3/4] tests/kms_3d: Accept any HDMI connector Arkadiusz Hiler
2019-07-25 12:35 ` [igt-dev] [PATCH i-g-t 4/4] tests/kms_hdmi_inject: " Arkadiusz Hiler
2019-07-25 12:49 ` Ser, Simon
2019-07-25 12:53 ` [igt-dev] [PATCH i-g-t 1/4] tests/kms_3d: Unset all crtcs before the test Arkadiusz Hiler
2019-07-25 13:24 ` [igt-dev] ✗ GitLab.Pipeline: warning for series starting with [i-g-t,1/4] " Patchwork
2019-07-25 13:41 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2019-07-26 0:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2018-11-07 17:39 [igt-dev] [PATCH i-g-t 1/4] " Ville Syrjala
2018-11-07 17:39 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_hdmi_inject: " Ville Syrjala
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=20190725123546.16038-2-arkadiusz.hiler@intel.com \
--to=arkadiusz.hiler@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