]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Add request throughput measurement to perf
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Apr 2020 07:42:03 +0000 (08:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Apr 2020 15:40:30 +0000 (16:40 +0100)
commit6fa812dd83df75fe66f1ed70fb94a1ca6b63e9c6
tree8532090580f25971bafbe538eb7f62c5676a7f9c
parentd53ecfa54c139ee14747642216417c5789c66563
drm/i915/selftests: Add request throughput measurement to perf

Under ideal circumstances, the driver should be able to keep the GPU
fully saturated with work. Measure how close to ideal we get under the
harshest of conditions with no user payload.

v2: Also measure throughput using only one thread.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200422074203.9799-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_perf_selftests.h
drivers/gpu/drm/i915/selftests/i915_request.c