[igt-dev] [PATCH i-g-t 6/7] tests/gem_render_copy: Add subtests for different tiling modes

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 4 16:36:29 UTC 2018


Quoting Ville Syrjala (2018-07-04 17:16:45)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Make sure our rendercopy implementations do the right thing with
> tiled buffers.
> 
> For now we'll just do linear->linear, x-tiled->x-tiled, and
> y-tiled->y-tiled. Not sure there's much point in adding tests
> for different src vs. dst tiling modes?

I value inter-tiling tests more than src_tiling == dst_tiling. It would
be quite easy for two mistakes to cancel themselves out if the tiling op
was reversible. If you want to save a bit of time, keep the destination
the same and use 3 sources in each pass (tr, bl, br?).
-Chris


More information about the igt-dev mailing list