[igt-dev] [PATCH i-g-t v2] tests/kms_invalid_mode: Avoid usage of same pipe on multiple outputs
Karthik B S
karthik.b.s at intel.com
Tue Jul 19 05:40:57 UTC 2022
On 7/18/2022 3:02 PM, Nidhi Gupta wrote:
> Sanitize the system state before starting the subtest.
>
> Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6435
> Fixes: 6725767a8410 (tests/kms_invalid_mode: Test Cleanup)
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
> tests/kms_invalid_mode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
> index 21ee91ab..0ae98a31 100644
> --- a/tests/kms_invalid_mode.c
> +++ b/tests/kms_invalid_mode.c
> @@ -185,6 +185,7 @@ test_output(data_t *data)
> int ret;
> drmModeModeInfo *mode;
>
> + igt_display_reset(&data->display);
> igt_output_set_pipe(output, data->pipe);
>
> igt_create_fb(data->drm_fd, 512, 512, DRM_FORMAT_XRGB8888,
> @@ -202,7 +203,6 @@ test_output(data_t *data)
> igt_remove_fb(data->drm_fd, &fb);
> igt_output_override_mode(output, NULL);
> /*unset_all_crtcs*/
> - igt_display_reset(&data->display);
> igt_display_commit(&data->display);
> }
>
More information about the igt-dev
mailing list