[Intel-gfx] [PATCH 3/4] tests/gem_userptr_blits: Expanded userptr test cases
Daniel Vetter
daniel at ffwll.ch
Tue Feb 4 15:09:35 CET 2014
On Mon, Feb 03, 2014 at 10:59:42AM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> A set of userptr test cases to support the new feature.
>
> For the eviction and swapping stress testing I have extracted
> some common behaviour from gem_evict_everything and made both
> test cases use it to avoid duplicating the code.
>
> Both unsynchronized and synchronized userptr objects are
> tested but the latter set of tests will be skipped if kernel
> is compiled without MMU_NOTIFIERS.
>
> Also, with 32-bit userspace swapping tests are skipped if
> the system has a lot more RAM than process address space.
> Forking swapping tests are not skipped since they can still
> trigger swapping by cumulative effect.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Nitpick on process: Please keep in per-patch changelog in the commit
message and update it every time you resend the patches (only if something
changed in that patch ofc). Makes it easier to keep track of things.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list