]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Add 'render basic' Haswell OA unit config
authorRobert Bragg <robert@sixbynine.org>
Mon, 7 Nov 2016 19:49:51 +0000 (19:49 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Nov 2016 13:34:46 +0000 (14:34 +0100)
commit8a3003dd93e2db2e7c8edc316e2978f750ca0dc2
tree105f99498d2621e83fe865b9be7d380120ec3d58
parent10ff401df041e57afc2b1619cd252b86d0ae5f30
drm/i915: Add 'render basic' Haswell OA unit config

Adds a static OA unit, MUX + B Counter configuration for basic render
metrics on Haswell. This is 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 SYSFS=0 WHITELIST=RenderBasic

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Sourab Gupta <sourab.gupta@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161107194957.3385-6-robert@sixbynine.org
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_oa_hsw.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_hsw.h [new file with mode: 0644]