diff options
author | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2019-01-18 00:58:16 -0800 |
---|---|---|
committer | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2019-01-18 15:54:14 -0800 |
commit | 58efc6ec445e758c3ff5bfe7980eaffe3abab349 (patch) | |
tree | 3107580bef3734230c7e6e75de33a8e98e5345d4 /tests/kms_available_modes_crc.c | |
parent | 0c80bd7f2a964605f307e0220c6bb756685582b9 (diff) |
tests/kms_available_modes_crc: Reset output->pipe after testing it.
Not clearing the pipe results in a test failure when the same pipe is
assigned to the next output.
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Suggested-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'tests/kms_available_modes_crc.c')
-rw-r--r-- | tests/kms_available_modes_crc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c index 45a47750..0c0282f8 100644 --- a/tests/kms_available_modes_crc.c +++ b/tests/kms_available_modes_crc.c @@ -484,6 +484,7 @@ test_available_modes(data_t* data) igt_pipe_crc_stop(data->pipe_crc); igt_pipe_crc_free(data->pipe_crc); igt_display_commit2(&data->display, data->commit); + igt_output_set_pipe(output, PIPE_NONE); } igt_assert(invalids == 0); } |