diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-12 13:58:04 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-12 14:33:59 +0000 |
commit | de9621b4f5972fc6f137b241a1b904d7cac9742b (patch) | |
tree | d758bac34d2f1da5a3caf758f6894a5223f745dc | |
parent | b1ee03c540af86708a8dd1674032712cba7aa1f1 (diff) |
tests/gem_tiled_pread_pwrite: Allow the kernel to reap the GTT address space
Otherwise we can not run this test on 32-bit systems.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/gem_tiled_pread_pwrite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_tiled_pread_pwrite.c b/tests/gem_tiled_pread_pwrite.c index e2225c5..ed6b711 100644 --- a/tests/gem_tiled_pread_pwrite.c +++ b/tests/gem_tiled_pread_pwrite.c @@ -149,6 +149,8 @@ main(int argc, char **argv) munmap(data, sizeof(linear)); /* Leak both bos so that we use all of system mem! */ + gem_madvise(fd, handle_target, I915_MADV_DONTNEED); + gem_madvise(fd, handle, I915_MADV_DONTNEED); drmtest_progress("gem_tiled_pread_pwrite: ", i, count/2); } |