aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-01-14 10:56:48 +0000
committerChris Wilson <[email protected]>2020-01-14 12:55:13 +0000
commite88e9f8ea4e95df6e76ce6721e93524d3d116705 (patch)
treebfd01f22c84b9d6367238ae1c637146f9b6f884f /tools/perf/scripts/python/exported-sql-viewer.py
parentf4e9894b6952a2819937f363cd42e7cd7894a1e4 (diff)
drm/i915/gt: Clear rc6 residency trackers across suspend
On suspend, the rc6 residency counters (stored in HW registers) will be lost and cleared. However, we keep track of the rc6 residency to provide a continuous 64b sampling, and if we see the HW value go backwards, we assume it overflowed and add on 32b/40b -- an interesting artifact when sampling across suspend. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions