[Intel-gfx] [PATCH i-g-t v2] tests/gem_tiling_max_stride: Add a test for max fence stride
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 9 15:51:13 CEST 2013
On Tue, Apr 09, 2013 at 04:41:42PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> gem_tiling_max_stride writes a data pattern to an X-tiled buffer using
> the maximum supported stride, reads the data back as linear, and
> verifies that the data didn't get scrambled on the way.
>
> The test also checks that some invalid stride values are rejected
> properly.
>
> v2: Check invalid strides
tile_width is 512 on gen3, and 128 on gen2 for X-tiling and the
tile_height is 8 and 16 respectively.
For test_tiling(), just test both tiling modes, and include a
tile_width/2 and (max-tile_width+1). Otherwise those negative tests look
good.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list