mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
igt/gem_userptr_blits: Add missing RAM check before coherency tests
-ENOCOFFE. References: https://bugs.freedesktop.org/show_bug.cgi?id=79237 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
52ac9a4b57
commit
b3d038a2b9
@ -835,7 +835,7 @@ static int test_coherency(int fd, int count)
|
||||
uint32_t start = 0;
|
||||
int i, ret;
|
||||
|
||||
igt_require(count, sizeof(linear), CHECK_RAM);
|
||||
igt_require(intel_check_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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user