mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
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>
This commit is contained in:
@@ -183,7 +183,7 @@ igt_simple_main
|
||||
if (igt_run_in_simulation())
|
||||
count = 10;
|
||||
|
||||
igt_require(intel_check_memory(1+count, 4096, CHECK_RAM));
|
||||
intel_require_memory(1+count, 4096, CHECK_RAM);
|
||||
|
||||
handles = malloc (count * sizeof(uint32_t));
|
||||
igt_assert(handles);
|
||||
|
||||
Reference in New Issue
Block a user