mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
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>
These benchmarks are designed to be used from within a benchmark framework like http://cgit.freedesktop.org/~mperes/ezbench/. A typical way to run them would be: $ ~/ezbench/ezbench.sh -p ./linux,git -m '' -b gem: -r 15 which executes the set of gem benchmarks, 15 times each, using HEAD of ./linux.git as the reference commit.