[igt-dev] [PATCH i-g-t 1/3] tests/kms_available_modes_crc: Reset output->pipe after testing it.
Kahola, Mika
mika.kahola at intel.com
Mon Jan 21 07:44:16 UTC 2019
On Fri, 2019-01-18 at 00:58 -0800, Dhinakaran Pandiyan wrote:
> 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 at gmail.com>
> Suggested-by: James Ausmus <james.ausmus at intel.com>
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
> ---
> tests/kms_available_modes_crc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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);
> }
More information about the igt-dev
mailing list