From 4eba8e22fa738ddf2cd8c367a1a36ee03f20fec7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 18 Mar 2016 10:44:31 +0000 Subject: 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 --- lib/intel_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/intel_os.c') 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, -- cgit v1.2.3