[PATCH 5/7] prime_mmap: Test for userptr mmap

2015-08-23 Thread Chris Wilson
On Wed, Aug 12, 2015 at 08:29:18PM -0300, Tiago Vignatti wrote: > A userptr doesn't have the obj->base.filp, but can be exported via dma-buf, so > make sure it fails when mmaping. > > Signed-off-by: Tiago Vignatti > --- > In machine, export the handle to fd is actually returning error and falling

[PATCH 5/7] prime_mmap: Test for userptr mmap

2015-08-12 Thread Tiago Vignatti
A userptr doesn't have the obj->base.filp, but can be exported via dma-buf, so make sure it fails when mmaping. Signed-off-by: Tiago Vignatti --- In machine, export the handle to fd is actually returning error and falling before the actual test happens. Same issue happens in gem_userptr_blits's t