summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-10-05 14:17:04 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-10-05 17:24:49 +0200
commit323cc9f6d95ae066cdde3cdd096aa2e4997f421e (patch)
tree70cd310cc49d2b9fc4729648d6c3dba54b778065
parentd8518f3b7e9dcdd8a77f4e48021afd3c37e24d25 (diff)
Revert "tests/kms_psr_sink_crc: commit before querying mode"
This reverts commit e4a1727efa617e32428c7e7c59abbb08cc97e16f. This hack should no longer be needed with the previous commit applied. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
-rw-r--r--tests/kms_psr_sink_crc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index 68310d81..8aafedb0 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -112,14 +112,6 @@ static void setup_output(data_t *data)
continue;
igt_output_set_pipe(output, pipe);
- igt_display_commit(display);
-
- if (!output->valid) {
- igt_output_set_pipe(output, PIPE_ANY);
- igt_display_commit(display);
- continue;
- }
-
data->crtc_id = output->config.crtc->crtc_id;
data->output = output;
data->mode = igt_output_get_mode(output);