[Intel-gfx] [PATCH] drm/i915/selftests: Measure CS_TIMESTAMP

Chris Wilson chris at chris-wilson.co.uk
Mon May 18 09:18:49 UTC 2020


Quoting Chris Wilson (2020-05-16 14:31:02)
> Count the number of CS_TIMESTAMP ticks and check that it matches our
> expectations.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>

ilk:
<6> [197.410742] rcs0: TIMESTAMP 0 cycles [0ns] in 1001322ns [12517 cycles], using CS clock frequency of 12500KHz

elk:
<6> [203.278858] rcs0: TIMESTAMP 562036736 cycles [33722163018ns] in 1001366ns [16690 cycles], using CS clock frequency of 16666KHz

Those two do look gibberish.
-Chris


More information about the Intel-gfx mailing list