Re: [Intel-gfx] [PATCH] prime_mmap: Add new test for calling mmap() on dma-buf fds

2014-03-20 Thread Daniel Vetter
On Wed, Mar 19, 2014 at 09:31:35PM -0700, Ben Widawsky wrote: > On Mon, Mar 17, 2014 at 07:43:35PM +, Rob Bradford wrote: [snip] > lgtm. Put the commit message in the test description and call it > Reviewed-by: Ben Widawsky igt_assert_cmpint is a useful one, especially for checking failures

Re: [Intel-gfx] [PATCH] prime_mmap: Add new test for calling mmap() on dma-buf fds

2014-03-19 Thread Ben Widawsky
On Mon, Mar 17, 2014 at 07:43:35PM +, Rob Bradford wrote: > From: Rob Bradford > > This test has the following subtests: > - test_correct for correctness of the data > - test_map_unmap checks for mapping idempotency > - test_reprime checks for dma-buf creation idempotency > - test_forked chec

[Intel-gfx] [PATCH] prime_mmap: Add new test for calling mmap() on dma-buf fds

2014-03-17 Thread Rob Bradford
From: Rob Bradford This test has the following subtests: - test_correct for correctness of the data - test_map_unmap checks for mapping idempotency - test_reprime checks for dma-buf creation idempotency - test_forked checks for multiprocess access - test_refcounting checks for buffer reference co