]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Repeat the rps clock frequency measurement
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 04:48:47 +0000 (05:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 17:21:28 +0000 (18:21 +0100)
commit8757797ff9c97e846348db634e849e11769e5d3d
tree43ac744da82f8af3b74ec35bbe6b832348135411
parent0065e5f5cc56136da0be900c4a3121b38a82f37d
drm/i915/selftests: Repeat the rps clock frequency measurement

Repeat the measurement of the clock frequency a few times and use the
median to try and reduce the systematic measurement error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504044903.7626-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_rps.c