[igt-dev] [v2 0/6] Addition of new plane scaling test cases

Ville Syrjälä ville.syrjala at linux.intel.com
Mon Jan 24 11:13:45 UTC 2022


On Fri, Jan 21, 2022 at 07:18:27PM +0530, Swati Sharma wrote:
> In this series, combination of downscaling and upscaling testcases
> are added.
> 
>     v2:-Minor fixes, to prevent CI crashes
> 
> Swati Sharma (6):
>   tests/kms_plane_scaling: Removal of plane-scaling subtest
>   tests/kms_plane_scaling: Add output name in dynamic subtests
>   tests/kms_plane_scaling: Upscaling on 2 planes
>   tests/kms_plane_scaling: Downscaling on 2 planes
>   tests/kms_plane_scaling: Upscaling and downscaling scenario
>   tests/kms_plane_scaling: Add negative test to check num of scalers

Seems quite a lot of i915isms still here. Also not sure these tests
are prticualrly useful without crcs.

If this stuff is actually considered useful I propose we generalize
it into someting more like:
- subtest for testing each plane individually (can probable speed it
  up a bit for i915 by checking 1 plane per "class" like we do in
  a bunch of the other tests).
- subtest for each N plane scaling combo, probably favoring the
  "overlay" planes and adding the primary plane only last, as it
  seems more likely that those support scaling instead of the
  primary plane

Though what we really want is crc based tests that actually make
sure we get the correct stuf on screen. On platforms where we have
the nearest neighbour scaling we should be able to do this properly.
For other platforms we could use solid color fbs and still at least
make sure we didn't get any underruns.

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list