Skip to content

Commit

Permalink
drm/i915/perf: Add more OA configs for BDW, CHV, SKL + BXT
Browse files Browse the repository at this point in the history
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

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>
  • Loading branch information
Robert Bragg authored and Ben Widawsky committed Jun 14, 2017
1 parent 19f81df commit fc59921
Show file tree
Hide file tree
Showing 8 changed files with 19,161 additions and 188 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -2418,8 +2418,8 @@ struct drm_i915_private {

int metrics_set;

const struct i915_oa_reg *mux_regs[2];
int mux_regs_lens[2];
const struct i915_oa_reg *mux_regs[6];
int mux_regs_lens[6];
int n_mux_configs;

const struct i915_oa_reg *b_counter_regs;
Expand Down
Loading

0 comments on commit fc59921

Please sign in to comment.