[v1] igt/lib: Don't refresh output in igt_output_set_pipe

Submitted by Lisovskiy, Stanislav on Sept. 9, 2019, 12:06 p.m.

Details

Message ID 20190909120657.25953-1-stanislav.lisovskiy@intel.com
State New
Headers show
Series "igt/lib: Don't refresh output in igt_output_set_pipe" ( rev: 1 ) in IGT - Trybot

Not browsing as part of any series.

Commit Message

Lisovskiy, Stanislav Sept. 9, 2019, 12:06 p.m.
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@intel.com>
---
 lib/igt_kms.c | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

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));