OSDN Git Service

drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Apr 2020 11:43:07 +0000 (12:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Apr 2020 13:25:21 +0000 (14:25 +0100)
commit96a4faf524fcfbb6c1f2ce91238e81062895ec09
treeb7beaac2048422c13da2095928fc9f3cff8c86cd
parentd631461d5cc3d6dd3b22bdfb810f668bc1935179
drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%

Give a small bump for our tolerance on comparing the expected vs
measured clock ticks/time from 10% to 12.5% to accommodate a bad result
on Sandybridge that was off by 10.3%. Hopefully, that is the worst we
will see.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1802
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/20200428114307.5153-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_rps.c