[Mesa-dev] [PATCH 00/19] intel: extract performance query code
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Jun 18 17:39:21 UTC 2018
Hi all,
This series can be broken in 3 parts :
- Making the performace query code API agnostic so that it can be
reused on other APIs (patches 1 -> 10)
- Adding a new pma stall metric on gen 8 & 9 (patches 17)
- Adding performance query support on gen 11 (patch 19)
Cheers,
Lionel Landwerlin (19):
intel: genxml: add mask fields for INSTPM/CS_DEBUG_MODE2 registers
i965: store device revision in gen_device_info
i965: extract performance query metrics
i965: move mdapi data structure to intel/perf
i965: move OA accumulation code to intel/perf
i965: move brw_timebase_scale to device info
i965: move mdapi result data format to intel/perf
i965: move mdapi guid into intel/perf
intel/perf: stub gen10/11 missing definitions
i965: perf: add mdapi pipeline statistics queries on gen10/11
intel: perf: update HSW configuration
intel: perf: bdw: add pma stall metric
intel: perf: skl: add pma stall metric
intel: perf: kbl: add pma stall metric
intel: perf: cfl: add pma stall metric
intel: perf: bxt: add pma stall metric
intel: perf: glk: add pma stall metric
intel: perf: chv: fixup counter names
intel: perf: add support for ICL
src/intel/Android.mk | 1 +
src/intel/Android.perf.mk | 52 +
src/intel/Makefile.am | 2 +
src/intel/Makefile.perf.am | 41 +
src/intel/Makefile.sources | 26 +
src/intel/dev/gen_device_info.h | 8 +
src/intel/genxml/gen10.xml | 3 +
src/intel/genxml/gen11.xml | 3 +
src/intel/genxml/gen7.xml | 4 +
src/intel/genxml/gen75.xml | 4 +
src/intel/genxml/gen8.xml | 4 +
src/intel/genxml/gen9.xml | 3 +
src/intel/meson.build | 1 +
src/intel/perf/gen_perf.c | 576 +
src/intel/perf/gen_perf.h | 275 +
.../i965/brw_oa.py => intel/perf/gen_perf.py} | 79 +-
src/intel/perf/gen_perf_mdapi.c | 116 +
src/intel/perf/gen_perf_mdapi.h | 135 +
src/intel/perf/meson.build | 41 +
.../brw_oa_bdw.xml => intel/perf/oa-bdw.xml} | 203 +-
.../brw_oa_bxt.xml => intel/perf/oa-bxt.xml} | 113 +-
.../perf/oa-cflgt2.xml} | 103 +-
.../perf/oa-cflgt3.xml} | 103 +-
.../brw_oa_chv.xml => intel/perf/oa-chv.xml} | 50 +-
.../brw_oa_cnl.xml => intel/perf/oa-cnl.xml} | 0
.../brw_oa_glk.xml => intel/perf/oa-glk.xml} | 113 +-
.../brw_oa_hsw.xml => intel/perf/oa-hsw.xml} | 3 +-
src/intel/perf/oa-icl.xml | 12092 ++++++++++++++++
.../perf/oa-kblgt2.xml} | 103 +-
.../perf/oa-kblgt3.xml} | 103 +-
.../perf/oa-sklgt2.xml} | 103 +-
.../perf/oa-sklgt3.xml} | 103 +-
.../perf/oa-sklgt4.xml} | 103 +-
src/mesa/drivers/dri/i965/Android.mk | 3 +-
src/mesa/drivers/dri/i965/Makefile.am | 12 +-
src/mesa/drivers/dri/i965/Makefile.sources | 19 -
src/mesa/drivers/dri/i965/brw_context.h | 74 +-
.../drivers/dri/i965/brw_performance_query.c | 783 +-
.../drivers/dri/i965/brw_performance_query.h | 121 +-
.../dri/i965/brw_performance_query_mdapi.c | 306 +-
.../dri/i965/brw_performance_query_metrics.h | 57 -
src/mesa/drivers/dri/i965/brw_queryobj.c | 15 +-
src/mesa/drivers/dri/i965/gen6_queryobj.c | 4 +-
src/mesa/drivers/dri/i965/intel_screen.c | 4 +-
src/mesa/drivers/dri/i965/intel_screen.h | 3 -
src/mesa/drivers/dri/i965/meson.build | 32 +-
46 files changed, 14849 insertions(+), 1253 deletions(-)
create mode 100644 src/intel/Android.perf.mk
create mode 100644 src/intel/Makefile.perf.am
create mode 100644 src/intel/perf/gen_perf.c
create mode 100644 src/intel/perf/gen_perf.h
rename src/{mesa/drivers/dri/i965/brw_oa.py => intel/perf/gen_perf.py} (89%)
create mode 100644 src/intel/perf/gen_perf_mdapi.c
create mode 100644 src/intel/perf/gen_perf_mdapi.h
create mode 100644 src/intel/perf/meson.build
rename src/{mesa/drivers/dri/i965/brw_oa_bdw.xml => intel/perf/oa-bdw.xml} (98%)
rename src/{mesa/drivers/dri/i965/brw_oa_bxt.xml => intel/perf/oa-bxt.xml} (98%)
rename src/{mesa/drivers/dri/i965/brw_oa_cflgt2.xml => intel/perf/oa-cflgt2.xml} (98%)
rename src/{mesa/drivers/dri/i965/brw_oa_cflgt3.xml => intel/perf/oa-cflgt3.xml} (99%)
rename src/{mesa/drivers/dri/i965/brw_oa_chv.xml => intel/perf/oa-chv.xml} (99%)
rename src/{mesa/drivers/dri/i965/brw_oa_cnl.xml => intel/perf/oa-cnl.xml} (100%)
rename src/{mesa/drivers/dri/i965/brw_oa_glk.xml => intel/perf/oa-glk.xml} (98%)
rename src/{mesa/drivers/dri/i965/brw_oa_hsw.xml => intel/perf/oa-hsw.xml} (99%)
create mode 100644 src/intel/perf/oa-icl.xml
rename src/{mesa/drivers/dri/i965/brw_oa_kblgt2.xml => intel/perf/oa-kblgt2.xml} (98%)
rename src/{mesa/drivers/dri/i965/brw_oa_kblgt3.xml => intel/perf/oa-kblgt3.xml} (99%)
rename src/{mesa/drivers/dri/i965/brw_oa_sklgt2.xml => intel/perf/oa-sklgt2.xml} (99%)
rename src/{mesa/drivers/dri/i965/brw_oa_sklgt3.xml => intel/perf/oa-sklgt3.xml} (99%)
rename src/{mesa/drivers/dri/i965/brw_oa_sklgt4.xml => intel/perf/oa-sklgt4.xml} (99%)
delete mode 100644 src/mesa/drivers/dri/i965/brw_performance_query_metrics.h
--
2.17.1
More information about the mesa-dev
mailing list