[igt-dev] [PATCH] tests/i915/kms_big_fb: Skip tests if there is no connector connected

Petri Latvala petri.latvala at intel.com
Fri Oct 22 09:47:48 UTC 2021


On Thu, Oct 21, 2021 at 11:36:41PM +0530, Jeevan B wrote:
> Modify test to skip if no connector is connected as Unsupported config
> should be followed by this check.
> 
> Signed-off-by: Jeevan B <jeevan.b at intel.com>

Reviewed-by: Petri Latvala <petri.latvala at intel.com>

> ---
>  tests/i915/kms_big_fb.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/i915/kms_big_fb.c b/tests/i915/kms_big_fb.c
> index 86659038..4be90531 100644
> --- a/tests/i915/kms_big_fb.c
> +++ b/tests/i915/kms_big_fb.c
> @@ -810,6 +810,7 @@ igt_main
>  
>  		igt_require_pipe_crc(data.drm_fd);
>  		igt_display_require(&data.display, data.drm_fd);
> +		igt_display_require_output(&data.display);
>  
>  		res = drmModeGetResources(data.drm_fd);
>  		igt_assert(res);
> -- 
> 2.19.1
> 


More information about the igt-dev mailing list