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 tiago.vignatti@intel.com
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 test_dmabuf(). This patch needs to be tested properly therefore.
Yes, you are not allowed to export unsynchronized userptr. Just create a normal one. -Chris