[PATCH 3/7] prime_mmap: Add basic tests to write in a bo using CPU

2015-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2015 at 11:26:57AM -0300, Tiago Vignatti wrote: > On 08/13/2015 04:01 AM, Daniel Vetter wrote: > >On Wed, Aug 12, 2015 at 08:29:16PM -0300, Tiago Vignatti wrote: > >>This patch adds test_correct_cpu_write, which maps the texture buffer > >>through a > >>prime fd and then writes

[PATCH 3/7] prime_mmap: Add basic tests to write in a bo using CPU

2015-08-13 Thread Tiago Vignatti
On 08/13/2015 04:01 AM, Daniel Vetter wrote: > On Wed, Aug 12, 2015 at 08:29:16PM -0300, Tiago Vignatti wrote: >> This patch adds test_correct_cpu_write, which maps the texture buffer >> through a >> prime fd and then writes directly to it using the CPU. It stresses the driver >> to guarantee

[PATCH 3/7] prime_mmap: Add basic tests to write in a bo using CPU

2015-08-13 Thread Daniel Vetter
On Wed, Aug 12, 2015 at 08:29:16PM -0300, Tiago Vignatti wrote: > This patch adds test_correct_cpu_write, which maps the texture buffer through > a > prime fd and then writes directly to it using the CPU. It stresses the driver > to guarantee cache synchronization among the different domains. >

[PATCH 3/7] prime_mmap: Add basic tests to write in a bo using CPU

2015-08-12 Thread Tiago Vignatti
This patch adds test_correct_cpu_write, which maps the texture buffer through a prime fd and then writes directly to it using the CPU. It stresses the driver to guarantee cache synchronization among the different domains. This test also adds test_forked_cpu_write, which creates the GEM bo in one