All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed
@ 2014-07-23 15:12 Tvrtko Ursulin
  2014-07-23 15:18 ` Chris Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Tvrtko Ursulin @ 2014-07-23 15:12 UTC (permalink / raw)
  To: Intel-gfx

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(-)

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);
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed
  2014-07-23 15:12 [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed Tvrtko Ursulin
@ 2014-07-23 15:18 ` Chris Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wilson @ 2014-07-23 15:18 UTC (permalink / raw)
  To: Tvrtko Ursulin; +Cc: Intel-gfx

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

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-23 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 15:12 [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed Tvrtko Ursulin
2014-07-23 15:18 ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.