diff mbox

igt/gem_userptr_blits: Overlapping objects are now allowed

Message ID 1406128375-10984-1-git-send-email-tvrtko.ursulin@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tvrtko Ursulin July 23, 2014, 3:12 p.m. UTC
Just tell the test to expect them to work then.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_userptr_blits.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chris Wilson July 23, 2014, 3:18 p.m. UTC | #1
On Wed, Jul 23, 2014 at 04:12:55PM +0100, Tvrtko Ursulin wrote:
> Just tell the test to expect them to work then.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>

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

Patch

diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c
index 2a52856..cc6d31f 100644
--- a/tests/gem_userptr_blits.c
+++ b/tests/gem_userptr_blits.c
@@ -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);