summaryrefslogtreecommitdiff
path: root/tests/kms_psr_sink_crc.c
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2014-10-10 08:14:32 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2014-10-10 08:14:32 -0700
commit9c8ee51be25c6c27c97a6898a71bc7f79439f9dc (patch)
tree2e0a99394b3dea582982926eed3011bbf832ebaf /tests/kms_psr_sink_crc.c
parentca6b63f588183cc4ba19d54c2901e84491084692 (diff)
Revert "tests/kms_psr_sink_crc: Wait 2 vblanks before grabing the new crc."
This reverts commit d190a1f9668680c7a429110c91f8faa27949b220. Author: Rodrigo Vivi <rodrigo.vivi@intel.com> Date: Wed Sep 3 21:26:29 2014 -0400 tests/kms_psr_sink_crc: Wait 2 vblanks before grabing the new crc. Sink CRC is fixed on kernel to wait as many vblanks as needed. It was fixed by: commit ad9dc91b6e21266bfc6f466db4b95e10211f31ee Author: Rodrigo Vivi <rodrigo.vivi@gmail.com> Date: Tue Sep 16 19:18:12 2014 -0400 drm/i915: Fix Sink CRC This this fix in place we don't need this extra 2 vblanks on test case itself. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tests/kms_psr_sink_crc.c')
-rw-r--r--tests/kms_psr_sink_crc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index ad7ab975..c22c16e4 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -243,9 +243,6 @@ 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);
@@ -417,7 +414,7 @@ static void run_test(data_t *data)
c->connection != DRM_MODE_CONNECTED)
continue;
- igt_output_set_pipe(output, 0);
+ igt_output_set_pipe(output, PIPE_ANY);
data->crtc_id = output->config.crtc->crtc_id;
mode = igt_output_get_mode(output);