diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2017-11-10 19:08:40 +0000 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2017-11-13 15:59:03 +0000 |
commit | 4407eaa9b0ccbc55408884475301f02280aec402 (patch) | |
tree | ff39ca4bb96a956921b6088c3dc5e37c2a5cbffe /drivers/gpu/drm/i915/i915_perf.c | |
parent | a54b19f17746b9574c30acb8cefca75ed5de0f9f (diff) | |
download | lwn-4407eaa9b0ccbc55408884475301f02280aec402.tar.gz lwn-4407eaa9b0ccbc55408884475301f02280aec402.zip |
drm/i915/perf: add support for Coffeelake GT3
We can enable GT3 as well as GT2.
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-3-lionel.g.landwerlin@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_perf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c index 45aef15b9e7c..7271debe0417 100644 --- a/drivers/gpu/drm/i915/i915_perf.c +++ b/drivers/gpu/drm/i915/i915_perf.c @@ -207,6 +207,7 @@ #include "i915_oa_kblgt3.h" #include "i915_oa_glk.h" #include "i915_oa_cflgt2.h" +#include "i915_oa_cflgt3.h" /* HW requires this to be a power of two, between 128k and 16M, though driver * is currently generally designed assuming the largest 16M size is used such @@ -2934,6 +2935,8 @@ void i915_perf_register(struct drm_i915_private *dev_priv) } else if (IS_COFFEELAKE(dev_priv)) { if (IS_CFL_GT2(dev_priv)) i915_perf_load_test_config_cflgt2(dev_priv); + if (IS_CFL_GT3(dev_priv)) + i915_perf_load_test_config_cflgt3(dev_priv); } if (dev_priv->perf.oa.test_config.id == 0) |