Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> --- tests/kms_psr_sink_crc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c index c265f3a..59c99ec 100644 --- a/tests/kms_psr_sink_crc.c +++ b/tests/kms_psr_sink_crc.c @@ -246,6 +246,9 @@ static void get_sink_crc(data_t *data, char *crc) { int ret; FILE *file; + igt_wait_for_vblank(data->drm_fd, 0); + igt_wait_for_vblank(data->drm_fd, 0); + file = igt_debugfs_fopen("i915_sink_crc_eDP1", "r"); igt_require(file); @@ -390,7 +393,7 @@ static void run_test(data_t *data) c->connection != DRM_MODE_CONNECTED) continue; - igt_output_set_pipe(output, PIPE_ANY); + igt_output_set_pipe(output, 0); data->crtc_id = output->config.crtc->crtc_id; mode = igt_output_get_mode(output); -- 1.9.3 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx