[Intel-gfx] [PATCH i-g-t 2/7] tests/gem_mmap_gtt: Deal with tile sizes on gen2/3

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 14 13:52:10 PST 2015


On Mon, Dec 14, 2015 at 10:15:51PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Gen2/3 platforms have some unusual tile dimensions. Account
> for them to make the test work correctly.

iirc, for the purposes of the test, we could just set the stride to 512
and be done with it. The idea behind the test is to simply require a
fence register and then since we compare the same tiling pattern in
both, the actual tiling is irrevelant. (I wonder if using different
strides is of any value, not sure that it is - it doesn't change any
code paths).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list