mesa/src/intel/perf
Lionel Landwerlin 9d0a5c817c intel/perf: set read buffer len to 0 to identify empty buffer
We always add an empty buffer in the list when creating the query.
Let's set the len appropriately so that we can recognize it when we
read OA reports up to the end of a query.

We were using an 0 timestamp value associated with the empty buffer
and incorrectly assuming this was a valid value. In turn that led to
not reading enough reports and resulted in deltas added to our counter
values which should have been discarded because those would be flagged
for a different context.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-12-04 09:21:15 +00:00
..
gen_perf.c intel/perf: set read buffer len to 0 to identify empty buffer 2019-12-04 09:21:15 +00:00
gen_perf.h intel/perf: add support for querying kernel loaded configurations 2019-10-23 05:41:14 +00:00
gen_perf.py intel/perf: add TGL support 2019-10-31 09:13:20 +00:00
gen_perf_mdapi.c i965: move mdapi result data format to intel/perf 2019-04-17 14:10:42 +01:00
gen_perf_mdapi.h intel/perf: add mdapi writes for register perf counters 2019-10-23 05:41:15 +00:00
gen_perf_regs.h intel/perf: move registers to their own header 2019-10-23 05:41:14 +00:00
meson.build intel/perf: add EHL performance query support 2019-11-15 13:14:30 +00:00
oa-bdw.xml
oa-bxt.xml
oa-cflgt2.xml
oa-cflgt3.xml
oa-chv.xml
oa-cnl.xml
oa-glk.xml
oa-hsw.xml
oa-icl.xml intel/perf: update ICL configurations 2019-10-29 13:00:26 +02:00
oa-kblgt2.xml
oa-kblgt3.xml
oa-lkf.xml intel/perf: add EHL performance query support 2019-11-15 13:14:30 +00:00
oa-sklgt2.xml
oa-sklgt3.xml
oa-sklgt4.xml
oa-tgl.xml intel/perf: add TGL support 2019-10-31 09:13:20 +00:00