diff options
author | 2020-12-23 12:23:58 +0000 | |
---|---|---|
committer | 2020-12-23 21:10:40 +0000 | |
commit | 8391c9b28cbfcf371ce8ebfcf2d62e08a2ea7619 (patch) | |
tree | 970bc0607d466659f78018d6ee1f0f0cb0025a66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/selftests: Remove redundant live_context for eviction (diff) | |
download | linux-dev-8391c9b28cbfcf371ce8ebfcf2d62e08a2ea7619.tar.xz linux-dev-8391c9b28cbfcf371ce8ebfcf2d62e08a2ea7619.zip |
drm/i915/selftests: Confirm CS_TIMESTAMP / CTX_TIMESTAMP share a clock
We assume that both timestamps are driven off the same clock [reported
to userspace as I915_PARAM_CS_TIMESTAMP_FREQUENCY]. Verify that this is
so by reading the timestamp registers around a busywait (on an otherwise
idle engine so there should be no preemptions).
v2: Icelake (not ehl, nor tgl) seems to be using a fixed 80ns interval
for, and only for, CTX_TIMESTAMP -- or it may be GPU frequency and the
test is always running at maximum frequency?. As far as I can tell, this
isolated change in behaviour is undocumented.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201223122359.22562-1-chris@chris-wilson.co.uk
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions