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-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2015-11-03 19:46:11 +00:00
2016-01-27 14:45:18 +00:00
2016-01-08 19:56:49 +02:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-08-21 09:37:10 +01:00
2012-01-15 16:05:43 +01:00