diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-17 14:43:33 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-17 14:43:33 +0100 |
commit | a535cdedfbd280c5e07be1c2445e09973836509a (patch) | |
tree | 22239380a3016c00a09249c9d4c5c0f32bf16055 /tests/gem_userptr_blits.c | |
parent | aa63fc740c510ed44c1a8dc0fc00f0c92c0581a2 (diff) |
lib/os: Pust igt_require into memory check function
More in line with the usual igt pattern and simplifies the code -
every called just wrapped it in igt_require.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/gem_userptr_blits.c')
-rw-r--r-- | tests/gem_userptr_blits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index 35394531..886a6299 100644 --- a/tests/gem_userptr_blits.c +++ b/tests/gem_userptr_blits.c @@ -891,7 +891,7 @@ static int test_coherency(int fd, int count) uint32_t start = 0; int i, ret; - igt_require(intel_check_memory(count, sizeof(linear), CHECK_RAM)); + intel_require_memory(count, sizeof(linear), CHECK_RAM); igt_info("Using 2x%d 1MiB buffers\n", count); ret = posix_memalign((void **)&memory, PAGE_SIZE, count*sizeof(linear)); |