drm/i915/selftests: Measure CS_TIMESTAMP
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 May 2020 07:10:59 +0000 (08:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 May 2020 08:30:16 +0000 (09:30 +0100)
commit1a5392479207a9e514c111ebb881b677bda48c20
tree124c93d56749c76c55b2d8360af3242c56320bca
parent537af0b0caf4b18bf0414ff5ffb4d3d86633403c
drm/i915/selftests: Measure CS_TIMESTAMP

Count the number of CS_TIMESTAMP ticks and check that it matches our
expectations.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200521071059.31726-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_gt_pm.c