mesa/src/intel/ds
Yiwei Zhang 7689aca21f intel/ds: simplify clock sync emit
In short, perfetto doesn't require the initial clock snapshot to be
earlier than the timestamp to be converted. So we don't have to do
complex handling for it.

With this change:
- renderstage event requires clock sync, so we'd only emit clock
  snapshots on the traceq thread that handles the callbacks
- drops redundant sync_timestamp calls as well as sync_gpu_ts tracking
- no need to reset next_clock_sync_ns when tracing is disabled, since a
  snapshot is always emitted right after the initial interned data emit
  upon tracing start

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: simplify clock sync emit 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_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