[igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time

Stanislav Lisovskiy stanislav.lisovskiy at intel.com
Tue Oct 22 12:54:09 UTC 2019


> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Ville Syrjala
> Sent: maanantai 21. lokakuuta 2019 20.50
> To: igt-dev at lists.freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution
> time
> 
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> By default reduce the set of colors we test by half, and only test all the YCbCr
> range/encoding combinations for linear buffers. This should hopefully still provide
> decent coverage with a big reduction in execution time.
> The previous more extensive coverage is now hidden behind the --extended
> command line argument.
> 
> On KBL:
> time kms_plane --r pixel-format-pipe-A-planes
> - real        1m7,995s
> + real        0m22,943s
> 
> Further ideas for more reduction:
> - Don't test on all planes (eg. on icl+ we could test on one hdr
>   plane, one sdr uv plane, and one sdr y plane)
> - Don't test absolutely every pixel format + modifier combination
> - Pipeline even deeper to make each color checked take only a single
>   frame (currently I think it should be taking two frames per color)
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>


More information about the igt-dev mailing list