Revert "tests/gem_tiled_pread_pwrite: actually try to use more than total ram"
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 22 Jan 2012 18:14:25 +0000 (19:14 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 22 Jan 2012 18:14:25 +0000 (19:14 +0100)
This test is actually not really designed to test swap.

This reverts commit 6d755c39d38e9f0e5a991933cc82e015d1ccd272.

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

index 8900b1e..17de658 100644 (file)
@@ -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;