mesa/src/intel/perf
Valentine Burley 190ce8280f
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
meson: Add Soong compatibility compiler flags to Vulkan drivers
Suggested by @gurchetansingh.

Android's Soong build system treats several compiler warnings as errors
by default: https://android.googlesource.com/platform/build/soong/+/27f57506/cc/config/global.go/#218

To catch these issues in Mesa, introduce `soong_compat_c_args`
and `soong_compat_cpp_args` with the following flags treated as errors:
 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS
 -Werror=date-time
 -Werror=gnu-alignof-expression
 -Werror=ignored-qualifiers
 -Werror=implicit-fallthrough
 -Werror=int-conversion
 -Werror=missing-prototypes
 -Werror=pragma-pack
 -Werror=pragma-pack-suspicious-include
 -Werror=sizeof-array-div
 -Werror=string-plus-int
 -Werror=unreachable-code-loop-increment

These compatibility flags are added to the meson configurations
for ANV, Gfxstream, Lavapipe, PanVK, Turnip, and Venus.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Gurchetan Singh <gurchetan.singh.foss@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41644>
2026-05-22 07:09:49 +00:00
..
i915 intel/ds: report when OA metric access is blocked by kernel policy 2026-04-13 21:31:51 +00:00
xe intel/ds: report when OA metric access is blocked by kernel policy 2026-04-13 21:31:51 +00:00
gen_perf.py intel/perf: Update perf scripts to get additional performance counters 2025-10-23 16:59:09 +00:00
intel_perf.c intel/perf: Add helpers to get names of enums 2026-05-17 16:21:08 +00:00
intel_perf.h intel/perf: Add helpers to get names of enums 2026-05-17 16:21:08 +00:00
intel_perf_common.c
intel_perf_common.h
intel_perf_mdapi.c intel/perf: Add HSW verx10 to intel_perf_query_result_write_mdapi() 2026-02-23 18:00:52 +00:00
intel_perf_mdapi.h intel/perf: Add Gfx 12.5 mdap_metrics struct and set it 2026-01-19 19:24:16 +00:00
intel_perf_private.h
intel_perf_query.c intel/perf: Use intel_perf_context as ralloc parent of sample buffers 2026-05-15 16:32:49 +00:00
intel_perf_query.h
intel_perf_query_layout.c intel/perf: Show type, data type and units in intel_perf_query_layout 2026-05-17 16:21:08 +00:00
intel_perf_regs.h
intel_perf_setup.h
meson.build meson: Add Soong compatibility compiler flags to Vulkan drivers 2026-05-22 07:09:49 +00:00
oa-acmgt1.xml
oa-acmgt2.xml
oa-acmgt3.xml
oa-adl.xml
oa-arlgt1.xml
oa-arlgt2.xml
oa-bdw.xml
oa-bmg.xml
oa-bxt.xml
oa-cflgt2.xml
oa-cflgt3.xml
oa-chv.xml
oa-dg1.xml
oa-ehl.xml
oa-glk.xml
oa-hsw.xml
oa-icl.xml
oa-kblgt2.xml
oa-kblgt3.xml
oa-lnl.xml
oa-mtlgt2.xml
oa-mtlgt3.xml
oa-ptl.xml intel/perf: Update perf scripts to get additional performance counters 2025-10-23 16:59:09 +00:00
oa-rkl.xml
oa-sklgt2.xml
oa-sklgt3.xml
oa-sklgt4.xml
oa-tglgt1.xml
oa-tglgt2.xml