public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/4] tests/kms_3d: Unset all crtcs before the test
@ 2019-07-25 12:35 Arkadiusz Hiler
  2019-07-25 12:35 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_hdmi_inject: " Arkadiusz Hiler
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Arkadiusz Hiler @ 2019-07-25 12:35 UTC (permalink / raw)
  To: igt-dev

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.

v2: rebased (Arek)

Cc: Simon Ser <simon.ser@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
 tests/kms_3d.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index 8ade6d34..aed3bee3 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -56,6 +56,8 @@ igt_simple_main
 	}
 	igt_require(connector);
 
+	kmstest_unset_all_crtcs(drm_fd, res);
+
 	edid = igt_kms_get_3d_edid();
 
 	kmstest_force_edid(drm_fd, connector, edid);
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [igt-dev] [PATCH i-g-t 1/4] tests/kms_3d: Unset all crtcs before the test
@ 2018-11-07 17:39 Ville Syrjala
  2018-11-07 17:39 ` [igt-dev] [PATCH i-g-t 4/4] tests/kms_hdmi_inject: Accept any HDMI connector Ville Syrjala
  0 siblings, 1 reply; 11+ messages in thread
From: Ville Syrjala @ 2018-11-07 17:39 UTC (permalink / raw)
  To: igt-dev

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>
---
 tests/kms_3d.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index df8185abebc4..5aeb5dd11e6b 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -57,6 +57,8 @@ igt_simple_main
 	}
 	igt_require(connector);
 
+	kmstest_unset_all_crtcs(drm_fd, res);
+
 	kmstest_edid_add_3d(igt_kms_get_base_edid(), EDID_LENGTH, &edid,
 			    &length);
 
-- 
2.18.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-07-26  0:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [igt-dev] [PATCH i-g-t 2/4] tests/kms_hdmi_inject: " Arkadiusz Hiler
2019-07-25 12:52   ` 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 4/4] tests/kms_hdmi_inject: Accept any HDMI connector Ville Syrjala

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