mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
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>
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user