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