summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-22 19:14:25 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-22 19:14:25 +0100
commit7132d0f977d226969b47edafbed74a6de04465f9 (patch)
tree4d20edcd3100333301df215cbc0f1209164725d6 /tests
parent6d755c39d38e9f0e5a991933cc82e015d1ccd272 (diff)
Revert "tests/gem_tiled_pread_pwrite: actually try to use more than total ram"
This test is actually not really designed to test swap. This reverts commit 6d755c39d38e9f0e5a991933cc82e015d1ccd272. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-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 8900b1e3..17de6588 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() * 11 / 10;
+ count = intel_get_total_ram_mb() * 9 / 10;
for (i = 0; i < count/2; i++) {
current_tiling_mode = I915_TILING_X;