drm/i915/perf: enable perf support on CNL
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 10 Nov 2017 19:08:43 +0000 (19:08 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 13 Nov 2017 15:59:24 +0000 (15:59 +0000)
commit95690a02fb5d963e62aa16c3796af3dde01f63c9
treebaf03acb27169dc38463185003ff8012db1328bc
parent5888576b0b5fedaaee278879b98b66c21984c4e6
drm/i915/perf: enable perf support on CNL

This adds new registers to the whitelist to configs emitted from userspace.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171110190845.32574-6-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_oa_cnl.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_oa_cnl.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_reg.h