mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user