diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-10-11 06:56:16 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-10-12 05:06:32 +0300 |
commit | 9d559cdcb21f42188d4c3ff3b4fe42b240f4af5d (patch) | |
tree | 23e56a6f8d40baa13b2ad66047a333b6aad90ee7 /tools/perf/scripts/python/gecko.py | |
parent | b8b1163248759ba18509f7443a2d19b15b4c1df8 (diff) | |
download | linux-9d559cdcb21f42188d4c3ff3b4fe42b240f4af5d.tar.xz |
drm/xe/query: Increase timestamp width
Starting with Xe2 the timestamp is a full 64 bit counter, contrary to
the 36 bit that was available before. Although 36 should be sufficient
for any reasonable delta calculation (for Xe2, of about 30min), it's
surprising to userspace to get something truncated. Also if the
timestamp being compared to is coming from the GPU and the application
is not careful enough to apply the width there, a delta calculation
would be wrong.
Extend it to full 64-bits starting with Xe2.
v2: Expand width=64 to media gt, as it's just a wrong tagging in the
spec - empirical tests show it goes beyond 36 bits and match the engines
for the main gt
Bspec: 60411
Cc: Szymon Morek <szymon.morek@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011035618.1057602-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions