mesa/src/intel/perf
Francisco Jerez e858da39e5 intel/perf: Fix OA report accumulation on Gfx12+.
The intel_perf_query path used for performance queries on GL was
passing a bogus "end" pointer to intel_perf_query_result_accumulate(),
causing it to accumulate garbage values.  This was causing the values
of many performance counters to be corrupted.

The "end" pointer was incorrect because the current code was assuming
that different OA reports were located TOTAL_QUERY_DATA_SIZE bytes
apart, which is a hard-coded preprocessor define.  However recent
(Gfx12+) hardware generations use a variable query size determined by
the query layout.  Use the size derived from it instead, and remove
the stale define.

Fixes: 3c51325025 ("intel/perf: switch query code to use query layout")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15783>
2022-04-12 00:11:47 +00:00
..
gen_perf.py intel/perf: Destination array calculation into function 2022-03-07 21:09:54 +00:00
intel_perf.c intel/dev,perf: Use a single timescale function 2022-01-14 20:17:44 +00:00
intel_perf.h intel/perf: Mark intel_perf_counter_* enums as PACKED 2022-03-07 21:09:54 +00:00
intel_perf_mdapi.c intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
intel_perf_mdapi.h
intel_perf_private.h
intel_perf_query.c intel/perf: Fix OA report accumulation on Gfx12+. 2022-04-12 00:11:47 +00:00
intel_perf_query.h
intel_perf_regs.h
intel_perf_setup.h intel/perf: Store indices to strings rather than pointers 2022-03-07 21:09:54 +00:00
meson.build
oa-adl.xml
oa-bdw.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 intel/perf: Fix mistake in description string 2022-03-07 21:09:54 +00:00
oa-icl.xml
oa-kblgt2.xml
oa-kblgt3.xml
oa-rkl.xml
oa-sklgt2.xml
oa-sklgt3.xml
oa-sklgt4.xml
oa-tglgt1.xml
oa-tglgt2.xml