tests/gem_tiled_pread_pwrite: actually try to use more than total ram

Luckily there's usually enough other stuff around to waste the last
few mb ...

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2012-01-22 18:04:24 +01:00
parent e64abe581a
commit 6d755c39d3

View File

@ -125,7 +125,7 @@ main(int argc, char **argv)
fd = drm_open_any();
count = intel_get_total_ram_mb() * 9 / 10;
count = intel_get_total_ram_mb() * 11 / 10;
for (i = 0; i < count/2; i++) {
current_tiling_mode = I915_TILING_X;