Skip to contentSkip to conversation

igt/gem_userptr_blits: Overlapping objects are now allowed

PATCH In review Tvrtko Ursulin 2 participants 2 messages Jul 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igt/gem_userptr_blits: Overlapping objects are now allowed

Just tell the test to expect them to work then.

---
 tests/gem_userptr_blits.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_userptr_blits.c +1 -1
index 2a52856..cc6d31f 100644
@@ -1340,7 +1340,7 @@ int main(int argc, char **argv)
 		test_create_destroy(fd);
 
 	igt_subtest("sync-overlap")
-		test_overlap(fd, EINVAL);
+		test_overlap(fd, 0);
 
 	igt_subtest("sync-unmap")
 		test_unmap(fd, EFAULT);
Signature · 1 line
1.9.3
#1 lore raw
Quoted 4 lines · Tvrtko Ursulin

Just tell the test to expect them to work then.

For funsies we should also make sure that the results written to one are visible in the other.
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre