[Intel-gfx] [PATCH v3] drm/i915/selftests/perf: measure memcpy bw between regions

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 29 09:43:04 UTC 2020


Quoting Matthew Auld (2020-01-29 09:33:43)
> 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 at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

Looks good, already dispelling some of my theories about rep mov :)

Runs fast enough not to worry about and the results seem to match rough
expectations.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list