drm/i915/perf: Add 'render basic' Gen8+ OA unit configs
authorRobert Bragg <robert@sixbynine.org>
Tue, 13 Jun 2017 11:23:02 +0000 (12:23 +0100)
committerBen Widawsky <ben@bwidawsk.net>
Wed, 14 Jun 2017 19:31:57 +0000 (12:31 -0700)
commit5182f646c7615ede9a9ba3ecd241f6cbe16829dc
tree30e28294d31946b2fe651a6bbd7b219bc4ae19ef
parent3f488d99858d22f584e1734f317bfcff9dbdf4fd
drm/i915/perf: Add 'render basic' Gen8+ OA unit configs

Adds a static OA unit, MUX, B Counter + Flex EU configurations for basic
render metrics on Broadwell, Cherryview, Skylake and Broxton. These are
auto generated from an XML description of metric sets, currently
maintained in gputop, ref:

 https://github.com/rib/gputop
 > gputop-data/oa-*.xml
 > scripts/i915-perf-kernelgen.py

 $ make -C gputop-data -f Makefile.xml WHITELIST=RenderBasic

v2: add newlines to debug messages + fix comment (Matthew Auld)

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
14 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_oa_bdw.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_bdw.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_bxt.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_bxt.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_chv.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_chv.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt2.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt2.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt3.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt3.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt4.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_sklgt4.h [new file with mode: 0644]