mesa/src/intel/ds
Yiwei Zhang 951767ce36 intel/ds: update GPU clock to be sequence-scoped when applicable
When CPU clock is the same with the authoritative trace clock (normally
default to CLOCK_BOOTTIME), perfetto drops the non-monotonic snapshots
to ensure validity of the global source clock in the resolution graph.
When they are different, the clocks are marked invalid and the rest of
the clock syncs will fail during trace processing.

There's no central daemon emitting consistent snapshots for
synchronization between CPU and GPU clocks on behalf of renderstages and
counters producers. The sequence-scoped clock (64 <= ID < 128) is unique
per producer + writer pair within the tracing session. So we can use
sequence-scoped clock for gpu clock whenever applicable, and fallback to
use global clock for dynamic minor allocated >= 192.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37425>
2025-09-18 17:23:42 +00:00
..
.clang-format clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
intel_driver_ds.cc intel/ds: minor code clean up 2025-09-18 17:23:42 +00:00
intel_driver_ds.h intel/ds: simplify clock sync emit 2025-09-18 17:23:42 +00:00
intel_pps_driver.cc intel/perf: Implement intel_perf_query_result_accumulate() for gfx 20+ 2024-07-03 17:15:05 +00:00
intel_pps_driver.h intel/perf: Replace drm_i915_perf_record_header by intel_perf_record_header 2024-05-27 19:34:06 +00:00
intel_pps_perf.cc intel/ds: Nuke ralloc_ctx and ralloc_cfg 2024-05-07 21:44:34 +00:00
intel_pps_perf.h intel/ds: Nuke ralloc_ctx and ralloc_cfg 2024-05-07 21:44:34 +00:00
intel_pps_priv.h intel/ds: update GPU clock to be sequence-scoped when applicable 2025-09-18 17:23:42 +00:00
intel_tracepoints.py vulkan: Add more detail to encode debug markers 2025-09-10 08:35:50 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00