summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-22 18:04:24 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-22 18:04:24 +0100
commit6d755c39d38e9f0e5a991933cc82e015d1ccd272 (patch)
tree313b87dca9c52daa0bbd5a593d94ccb0572d9813
parente64abe581a34bf12d3a91c13970100a16f709783 (diff)
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>
-rw-r--r--tests/gem_tiled_pread_pwrite.c2
1 files changed, 1 insertions, 1 deletions
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;