summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_perf.c
diff options
context:
space:
mode:
authorLionel Landwerlin2017-11-10 20:08:40 +0100
committerLionel Landwerlin2017-11-13 16:59:03 +0100
commit4407eaa9b0ccbc55408884475301f02280aec402 (patch)
treeff39ca4bb96a956921b6088c3dc5e37c2a5cbffe /drivers/gpu/drm/i915/i915_perf.c
parentdrm/i915/perf: complete whitelisting for OA programming on HSW (diff)
downloadkernel-qcow2-linux-4407eaa9b0ccbc55408884475301f02280aec402.tar.gz
kernel-qcow2-linux-4407eaa9b0ccbc55408884475301f02280aec402.tar.xz
kernel-qcow2-linux-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.c3
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)