drm/i915/selftests/perf: measure memcpy bw between regions
authorMatthew Auld <matthew.auld@intel.com>
Wed, 29 Jan 2020 09:33:43 +0000 (09:33 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Jan 2020 13:13:50 +0000 (13:13 +0000)
commitba12993c5228015c42dc46d634f5fa5717206c3b
treedd5d2834e3146818e2ab6cd5851aa90043dea09c
parentcd1c4d4a22bcad386f1eab899808d88a5be2e7c0
drm/i915/selftests/perf: measure memcpy bw between regions

Measure the memcpy bw between our CPU accessible regions, trying all
supported mapping combinations(WC, WB) across various sizes.

v2:
    use smaller sizes
    throw in memcpy32/memcpy64/memcpy_from_wc

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200129093343.194570-1-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/i915_perf_selftests.h
drivers/gpu/drm/i915/selftests/intel_memory_region.c