mesa/src/gallium/drivers/iris
Lionel Landwerlin 3984875792 u_trace: extend tracepoint end_of_pipe bit into flags
We ran into an issue with Intel drivers where it became tricky to tell
whether a timestamp must be recorded with a special end-of-pipe
compute instruction or something else.

We initially tried to deal with that internally by checking some state
in the command buffers but turns out it doesn't work.

This change adds a flag field to the tracepoint to have that
information there and the flags are passed to the record_ts vfunc.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29438>
2024-05-30 06:38:04 +00:00
..
i915 intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
xe intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
driinfo_iris.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_batch.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
iris_batch.h iris: Increase target batch size to 128 KB 2024-03-06 21:22:17 +00:00
iris_binder.c iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_binder.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_blit.c anv/iris/blorp: use the right MOCS values for each engine 2024-03-06 20:33:12 +00:00
iris_blorp.c blorp: add support for cached dynamic states 2024-03-28 02:41:50 +00:00
iris_border_color.c iris: Add BO_ALLOC_PLAIN flag 2022-12-19 05:37:34 -08:00
iris_bufmgr.c iris: Avoid allocation of not needed iris_bucket_cache 2024-04-23 15:59:01 +00:00
iris_bufmgr.h iris: Avoid creation of slabs and cache buckets of lmem heaps in integrated gpus 2024-04-23 15:59:01 +00:00
iris_clear.c Revert "iris: slow clear higher miplevels on single sampled 8bpp resources that have TILE64" 2024-05-15 15:16:29 +00:00
iris_context.c iris: Free intel_perf_config and intel_perf_context 2024-05-07 21:44:34 +00:00
iris_context.h iris: setup distribution granularity with Wa_14019166699 2024-03-12 09:25:32 +00:00
iris_defines.h iris: Don't return timestamps modulo 36-bits 2024-01-24 23:13:15 +00:00
iris_disk_cache.c iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_draw.c iris: Add helper to access use_tcs_multi_patch 2024-02-21 00:38:35 +00:00
iris_fence.c iris: Fix return of iris_wait_syncobj() 2024-02-07 13:56:17 +00:00
iris_fence.h iris: Drop I915_EXEC_FENCE types 2023-03-15 02:05:58 +00:00
iris_fine_fence.c iris: Nuke useless flags from iris_fine_fence_new() 2023-10-09 21:12:56 +00:00
iris_fine_fence.h iris: Nuke useless flags from iris_fine_fence_new() 2023-10-09 21:12:56 +00:00
iris_formats.c iris: Store intel_device_info in iris_bufmgr 2022-12-15 18:55:02 +00:00
iris_genx_macros.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_genx_protos.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_indirect_gen.c iris: Remove i915_drm.h include from iris_indirect_gen.c 2024-03-21 18:52:14 +00:00
iris_kmd_backend.c iris: Implement gem_create() in Xe kmd backend 2023-03-17 19:31:56 +00:00
iris_kmd_backend.h iris: Add gem_create_userptr() to KMD backend 2023-07-31 16:38:46 +00:00
iris_measure.c intel/measure: track batch buffer sizes 2023-09-05 11:50:02 +00:00
iris_measure.h gallium: rename pipe_draw_start_count -> pipe_draw_start_count_bias 2021-04-30 03:59:19 +00:00
iris_monitor.c iris: Move iris_batch i915 specific variables to union 2023-04-13 14:58:55 +00:00
iris_monitor.h iris: remove iris_monitor_config 2020-07-06 21:43:59 +00:00
iris_perf.c iris: Fix more BO alignments 2022-09-22 03:33:00 +00:00
iris_perf.h intel: Rename gen_perf prefix to intel_perf in source files 2021-04-20 20:06:34 +00:00
iris_performance_query.c iris: Move iris_batch i915 specific variables to union 2023-04-13 14:58:55 +00:00
iris_pipe.h gallium/iris/crocus: collapse a bunch of conversion functions. 2022-08-04 08:17:39 +00:00
iris_pipe_control.c iris: Add helper for indirect_ubos_use_sampler 2024-02-21 00:38:35 +00:00
iris_program.c iris: ForceZeroRTAIndexEnable if last geom stage does not write layer id 2024-05-14 08:09:17 +00:00
iris_program_cache.c iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_query.c iris: Don't return timestamps modulo 36-bits 2024-01-24 23:13:15 +00:00
iris_resolve.c anv/iris/blorp: use the right MOCS values for each engine 2024-03-06 20:33:12 +00:00
iris_resource.c iris: Move tiling_to_modifier() implementation to i915 folder 2024-03-21 18:52:14 +00:00
iris_resource.h iris: Inline iris_can_sample_mcs_with_clear 2023-08-10 16:21:28 +00:00
iris_screen.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
iris_screen.h iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_state.c iris: Allocate fixed amount of space for blend state. 2024-05-15 17:16:51 +00:00
iris_utrace.c u_trace: extend tracepoint end_of_pipe bit into flags 2024-05-30 06:38:04 +00:00
iris_utrace.h iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00
meson.build intel/meson: Add dependencies for brw and elk 2024-02-29 23:08:16 +00:00