[igt-dev] [i-g-t 4/5] tests/kms_flip: Fix Bigjoiner checks

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Nov 15 08:34:31 UTC 2023


On Mon, Nov 13, 2023 at 01:49:29PM +0530, Bhanuprakash Modem wrote:
> Bigjoiner will come in the picture when the resolution > 5K or
> clock > max dot-clock. Add a support to check the selected mode
> clock is greater than the max dot-clock.
> 
> V2: - Limit the bigjoiner checks to intel hardware
> 
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
> ---
>  tests/kms_flip.c | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)
> 
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index fc7cee050..d34596599 100755
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
<snip>
> @@ -2136,6 +2139,7 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
>  			for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++)
>  				tests[i].flags &= ~(TEST_CHECK_TS | TEST_VBLANK_EXPIRED_SEQ);
>  		}
> +		max_dotclock = igt_get_max_dotclock(drm_fd);

That seems to have broken the test for !display platforms (bat-atsm-1).

>  	}
>  
>  	igt_describe("Tests that nonblocking reading fails correctly");
> -- 
> 2.40.0

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list