drm/i915/selftests: Enable selftesting of busy-stats
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Jun 2020 13:09:15 +0000 (14:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jun 2020 08:26:53 +0000 (09:26 +0100)
commit1b90e4a43b7444fc4159c6dd338a44e8808e8718
tree9a5ba072932e6f8c8ed761f42735b05ab8eac22a
parent0ff0fc97d3074c447a40e8b4375ba6a88cd571be
drm/i915/selftests: Enable selftesting of busy-stats

A couple of very simple tests to ensure that the basic properties of
per-engine busyness accounting [0% and 100% busy] are faithful.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200617130916.15261-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/selftest_engine_pm.c
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
drivers/gpu/drm/i915/gt/selftest_lrc.c
drivers/gpu/drm/i915/gt/selftest_rps.c
drivers/gpu/drm/i915/gt/selftest_timeline.c
drivers/gpu/drm/i915/selftests/i915_request.c