aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_oa_bdw.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-08-03 17:58:09 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-08-03 18:18:44 +0100
commit3802c5cb209f6e2735c4ced7462b637a7e16bbf5 (patch)
tree8aa011a3f90f9488b8ab3f7ba403936e4ff758fc /drivers/gpu/drm/i915/i915_oa_bdw.c
parentdrm/i915/perf: prune OA configs (diff)
downloadlinux-dev-3802c5cb209f6e2735c4ced7462b637a7e16bbf5.tar.xz
linux-dev-3802c5cb209f6e2735c4ced7462b637a7e16bbf5.zip
drm/i915/perf: leave GDT_CHICKEN_BITS programming in configs
There will be a need for userspaces configurations to set this register. We can apply the same model inside the kernel for test configs. 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/20170803165812.2373-4-lionel.g.landwerlin@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_oa_bdw.c')
-rw-r--r--drivers/gpu/drm/i915/i915_oa_bdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_oa_bdw.c b/drivers/gpu/drm/i915/i915_oa_bdw.c
index 187067001179..abdf4d0abcce 100644
--- a/drivers/gpu/drm/i915/i915_oa_bdw.c
+++ b/drivers/gpu/drm/i915/i915_oa_bdw.c
@@ -60,6 +60,7 @@ static const struct i915_oa_reg flex_eu_config_test_oa[] = {
};
static const struct i915_oa_reg mux_config_test_oa[] = {
+ { _MMIO(0x9840), 0x000000a0 },
{ _MMIO(0x9888), 0x198b0000 },
{ _MMIO(0x9888), 0x078b0066 },
{ _MMIO(0x9888), 0x118b0000 },
@@ -72,6 +73,7 @@ static const struct i915_oa_reg mux_config_test_oa[] = {
{ _MMIO(0x9888), 0x4f800000 },
{ _MMIO(0x9888), 0x41800000 },
{ _MMIO(0x9888), 0x31800000 },
+ { _MMIO(0x9840), 0x00000080 },
};
static ssize_t