[igt-dev] [PATCH i-g-t] gem_wsim: Distinguish particular engines during calculating nop calibration.

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 24 12:05:07 UTC 2020


Quoting Anna Karas (2020-01-24 11:18:22)
> +       if (!has_nop_calibration) {
> +               if (verbose > 1) {
> +                       printf("Calibrating nop delays with %u%% tolerance...\n",
>                                 tolerance_pct);
> -               nop_calibration = calibrate_nop(tolerance_pct);
> -               if (verbose)
> -                       printf("Nop calibration for %uus delay is %lu.\n",
> -                              nop_calibration_us, nop_calibration);
> +               }
>  
> +               calibrate_engines();
> +               print_engine_calibrations();

One trivial fixup,
	if (verbose)
		print_engine_calibrations();
to match earlier behaviour to suppress the output with -s
-Chris


More information about the igt-dev mailing list