projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ac9a4
)
igt/gem_userptr_blits: Add missing RAM check before coherency tests
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 14 Jul 2014 09:30:36 +0000
(10:30 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 14 Jul 2014 09:33:55 +0000
(10:33 +0100)
-ENOCOFFE.
References: https://bugs.freedesktop.org/show_bug.cgi?id=79237
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_userptr_blits.c
patch
|
blob
|
history
diff --git
a/tests/gem_userptr_blits.c
b/tests/gem_userptr_blits.c
index
11aa21e
..
2eb127f
100644
(file)
--- a/
tests/gem_userptr_blits.c
+++ b/
tests/gem_userptr_blits.c
@@
-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));