summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-02-15 15:34:53 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-02-16 16:32:58 +0000
commit8de9f5f973fe7e8e96e4327ecd2c02d3dce24a1f (patch)
tree1a1066a13eee31c4d9b52cf60055f28f27aa356f /lib/igt_aux.h
parent2b64cac7d858d0c63b87e7a889a21a36bfcc4138 (diff)
tests/perf_pmu: Verify engine busyness accuracy
A subtest to verify that the engine busyness is reported with expected accuracy on platforms where the feature is available. We test three patterns: 2%, 50% and 98% load per engine. v2: * Use spin batch instead of nop calibration. * Various tweaks. v3: * Change loops to be time based. * Use __igt_spin_batch_new inside timing sensitive loops. * Fixed PWM sleep handling. v4: * Use restarting spin batch. * Calibrate more carefully by looking at the real PWM loop. v5: * Made standalone. * Better info messages. * Tweak sleep compensation. v6: * Some final tweaks. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_aux.h')
0 files changed, 0 insertions, 0 deletions