i965: extract performance query metrics
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 27 May 2018 19:33:25 +0000 (20:33 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 17 Apr 2019 13:10:42 +0000 (14:10 +0100)
commit134e750e16bfc53480e0bba6f0ae3e1d2a7fb87c
tree1217a34c7a31a7cd62895e142b5c8cf246ee8392
parent603ddda622b40414262e28f58a36526a9067807b
i965: extract performance query metrics

We would like to reuse performance query metrics in other APIs. Let's
make the query code dealing with the processing of raw counters into
human readable values API agnostic.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
31 files changed:
src/intel/Android.mk
src/intel/Android.perf.mk [new file with mode: 0644]
src/intel/Makefile.perf.am [new file with mode: 0644]
src/intel/Makefile.sources
src/intel/meson.build
src/intel/perf/gen_perf.c [new file with mode: 0644]
src/intel/perf/gen_perf.h [new file with mode: 0644]
src/intel/perf/gen_perf.py [moved from src/mesa/drivers/dri/i965/brw_oa.py with 89% similarity]
src/intel/perf/meson.build [new file with mode: 0644]
src/intel/perf/oa-bdw.xml [moved from src/mesa/drivers/dri/i965/brw_oa_bdw.xml with 100% similarity]
src/intel/perf/oa-bxt.xml [moved from src/mesa/drivers/dri/i965/brw_oa_bxt.xml with 100% similarity]
src/intel/perf/oa-cflgt2.xml [moved from src/mesa/drivers/dri/i965/brw_oa_cflgt2.xml with 100% similarity]
src/intel/perf/oa-cflgt3.xml [moved from src/mesa/drivers/dri/i965/brw_oa_cflgt3.xml with 100% similarity]
src/intel/perf/oa-chv.xml [moved from src/mesa/drivers/dri/i965/brw_oa_chv.xml with 100% similarity]
src/intel/perf/oa-cnl.xml [moved from src/mesa/drivers/dri/i965/brw_oa_cnl.xml with 100% similarity]
src/intel/perf/oa-glk.xml [moved from src/mesa/drivers/dri/i965/brw_oa_glk.xml with 100% similarity]
src/intel/perf/oa-hsw.xml [moved from src/mesa/drivers/dri/i965/brw_oa_hsw.xml with 100% similarity]
src/intel/perf/oa-icl.xml [moved from src/mesa/drivers/dri/i965/brw_oa_icl.xml with 100% similarity]
src/intel/perf/oa-kblgt2.xml [moved from src/mesa/drivers/dri/i965/brw_oa_kblgt2.xml with 100% similarity]
src/intel/perf/oa-kblgt3.xml [moved from src/mesa/drivers/dri/i965/brw_oa_kblgt3.xml with 100% similarity]
src/intel/perf/oa-sklgt2.xml [moved from src/mesa/drivers/dri/i965/brw_oa_sklgt2.xml with 100% similarity]
src/intel/perf/oa-sklgt3.xml [moved from src/mesa/drivers/dri/i965/brw_oa_sklgt3.xml with 100% similarity]
src/intel/perf/oa-sklgt4.xml [moved from src/mesa/drivers/dri/i965/brw_oa_sklgt4.xml with 100% similarity]
src/mesa/drivers/dri/i965/Android.mk
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_performance_query.c
src/mesa/drivers/dri/i965/brw_performance_query.h
src/mesa/drivers/dri/i965/brw_performance_query_mdapi.c
src/mesa/drivers/dri/i965/brw_performance_query_metrics.h [deleted file]
src/mesa/drivers/dri/i965/meson.build