tests/gem_tiled_partial_pread/write: fixes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Feb 2012 16:36:04 +0000 (17:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Feb 2012 17:32:02 +0000 (18:32 +0100)
commitdac239e2b694f5f187ae0af9aeb339e3b57a51a1
tree573cbe647c473810c171aa77d122998c11260af0
parentf1d32d541dc8328a0f55224915906f23b58062a0
tests/gem_tiled_partial_pread/write: fixes

Astonishing how dense I sometimes am ...
- increase the bo size so that we don't have any round-up to next tile
  size areas (which the 2d blit go over, but the 1d pread/pwrite calls
  will notice).
- correctly set tiling bits when copying back to a linear buffer.
- read back through a tiled bo to avoid messing with swizzling.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_cs_prefetch.c
tests/gem_tiled_partial_pwrite_pread.c