summaryrefslogtreecommitdiff
path: root/tests/gem_tiled_swapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_tiled_swapping.c')
-rw-r--r--tests/gem_tiled_swapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c
index add0c5ad..4520d473 100644
--- a/tests/gem_tiled_swapping.c
+++ b/tests/gem_tiled_swapping.c
@@ -169,7 +169,7 @@ igt_simple_main
(long)intel_get_avail_ram_mb(),
(long)intel_get_total_ram_mb(),
(long)intel_get_total_swap_mb());
- igt_require(intel_check_memory(count, 1024*1024, CHECK_RAM | CHECK_SWAP));
+ intel_require_memory(count, 1024*1024, CHECK_RAM | CHECK_SWAP);
for (n = 0; n < count; n++) {
bo_handles[n] = create_bo_and_fill(fd);