From 6d755c39d38e9f0e5a991933cc82e015d1ccd272 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sun, 22 Jan 2012 18:04:24 +0100 Subject: [PATCH] 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 --- tests/gem_tiled_pread_pwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_tiled_pread_pwrite.c b/tests/gem_tiled_pread_pwrite.c index 17de6588..8900b1e3 100644 --- a/tests/gem_tiled_pread_pwrite.c +++ b/tests/gem_tiled_pread_pwrite.c @@ -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;