Tiago Vignatti e1f663b543 lib: Add gem_userptr and __gem_userptr helpers
This patch moves userptr definitions and helpers implementation that were
locally in gem_userptr_benchmark and gem_userptr_blits to the library, so other
tests can make use of them as well. There's no functional changes.

v2: added __ function to differentiate when errors want to be handled back in
the caller; bring gem_userptr_sync back to gem_userptr_blits; added gtkdoc.
v8: remove local_i915_gem_userptr from gem_concurrent_all.c to use the global
helpers instead.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-02-11 18:15:44 +01:00
..
2014-07-23 16:43:05 +01:00
2014-12-04 10:17:16 +08:00
2015-07-20 18:13:37 +01:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2015-12-21 16:54:40 +01:00
2015-09-08 16:15:16 +01:00
2015-09-08 16:15:16 +01:00
2015-10-07 17:57:26 +01:00
2015-08-21 14:13:16 +01:00
2015-07-02 08:17:17 +01:00
2015-09-08 16:15:16 +01:00
2015-03-25 17:52:11 +00:00
2015-03-25 17:52:11 +00:00