[Intel-gfx] [PATCH] test/kms_pipe_crc_basic: Fix up igt_kms conversion breakage

Daniel Vetter daniel.vetter at ffwll.ch
Thu Mar 13 18:05:28 CET 2014


Apparently the framework doesn't ignore disabled pipes correctly, so
help it out a bit.

Again an awesome track record for our QA and bug scrubbers :(

Oh and while I rant: Docs for this stuff, please ;-)

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 tests/kms_pipe_crc_basic.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 8523b5341c5e..9aa342757793 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -120,6 +120,8 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags)
 		igt_pipe_crc_free(pipe_crc);
 		kmstest_remove_fb(data->drm_fd, &data->fb);
 		igt_plane_set_fb(primary, NULL);
+
+		igt_output_set_pipe(output, PIPE_ANY);
 	}
 
 	igt_require_f(valid_connectors, "No connector found for pipe %i\n", pipe);
-- 
1.8.4.rc3




More information about the Intel-gfx mailing list