diff options
author | Arkadiusz Hiler <arek@hiler.eu> | 2021-07-02 00:09:12 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arek@hiler.eu> | 2021-07-02 00:09:12 +0300 |
commit | b24e5949af7e51f0af484d2ce4cb4c5a41ac5358 (patch) | |
tree | 4f0c767afa958659eda18997a5db894a4534c5cd /tests/kms_vblank.c | |
parent | 34d6af931ddf962cd0c86b7c9086e333aca2dd66 (diff) |
Revert "tests/kms_vblank: Turn on hardware before testing invalid vblank."
This reverts commit 34d6af931ddf962cd0c86b7c9086e333aca2dd66.
Pushed by accident. I've looked at the wrong test results. Seems to be crashing.
Signed-off-by: Arkadiusz Hiler <arek@hiler.eu>
Diffstat (limited to 'tests/kms_vblank.c')
-rw-r--r-- | tests/kms_vblank.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c index b709ef69..93b01eba 100644 --- a/tests/kms_vblank.c +++ b/tests/kms_vblank.c @@ -475,12 +475,8 @@ static void invalid_subtest(data_t *data, int fd) { union drm_wait_vblank vbl; unsigned long valid_flags; - igt_display_t* display = &data->display; - enum pipe pipe = 0; - igt_output_t* output = igt_get_single_output_for_pipe(display, pipe); - igt_display_require_output_on_pipe(display, pipe); - prepare_crtc(data, fd, output); + igt_display_require_output_on_pipe(&data->display, 0); /* First check all is well with a simple query */ memset(&vbl, 0, sizeof(vbl)); @@ -515,8 +511,6 @@ static void invalid_subtest(data_t *data, int fd) vbl.request.type |= _DRM_VBLANK_SECONDARY; vbl.request.type |= _DRM_VBLANK_FLAGS_MASK; igt_assert_eq(wait_vblank(fd, &vbl), -EINVAL); - - cleanup_crtc(data, fd, output); } igt_main |