[igt-dev] [PATCH i-g-t v1] igt/lib: Don't refresh output in igt_output_set_pipe

Stanislav Lisovskiy stanislav.lisovskiy at intel.com
Mon Sep 9 12:08:16 UTC 2019


There are some bugs where DP seems to dissappear in the
middle of test case, which causes garbage modes being returned
for output causing some test cases to fail in unexpected places.
igt_output_refresh should only be called during igt_display_require.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=109495

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
---
 lib/igt_kms.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 17a7d2b6..6d990221 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -3754,8 +3754,6 @@ void igt_output_set_pipe(igt_output_t *output, enum pipe pipe)
 
 	igt_output_set_prop_value(output, IGT_CONNECTOR_CRTC_ID, pipe == PIPE_NONE ? 0 : display->pipes[pipe].crtc_id);
 
-	igt_output_refresh(output);
-
 	if (pipe_obj) {
 		if (display->is_atomic)
 			igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_MODE_ID, igt_output_get_mode(output), sizeof(drmModeModeInfo));
-- 
2.17.1



More information about the igt-dev mailing list