diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-18 10:44:31 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-18 10:47:34 +0000 |
commit | 4eba8e22fa738ddf2cd8c367a1a36ee03f20fec7 (patch) | |
tree | 2b8c11f3cb2852e839be90b618fa81f36d6c2420 /lib/intel_os.c | |
parent | dcb39b5270b5ff4d91a595ae05c9e74528bce546 (diff) |
igt/gem_concurrent_all: struct buffers for all
Now that we started packaging all parameters in one handy struct, pass
them everywhere. This allows us to pass along requirements so that we
can perform the checks inside each indvidual subtest and so not anger
the igt gods.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_os.c')
-rw-r--r-- | lib/intel_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_os.c b/lib/intel_os.c index b6a61921..2b0f0917 100644 --- a/lib/intel_os.c +++ b/lib/intel_os.c @@ -268,7 +268,7 @@ void intel_require_memory(uint64_t count, uint64_t size, unsigned mode) { uint64_t required, total; - igt_skip_on_f(!__intel_check_memory(count, size, mode, + igt_require_f(__intel_check_memory(count, size, mode, &required, &total), "Estimated that we need %'llu objects and %'llu MiB for the test, but only have %'llu MiB available (%s%s) and a maximum of %'llu objects\n", (long long)count, |