aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_oa_hsw.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_hsw.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_hsw.c')
-rw-r--r--drivers/gpu/drm/i915/i915_oa_hsw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_oa_hsw.c b/drivers/gpu/drm/i915/i915_oa_hsw.c
index 867ec16dd831..56b03773bb9d 100644
--- a/drivers/gpu/drm/i915/i915_oa_hsw.c
+++ b/drivers/gpu/drm/i915/i915_oa_hsw.c
@@ -42,6 +42,7 @@ static const struct i915_oa_reg flex_eu_config_render_basic[] = {
};
static const struct i915_oa_reg mux_config_render_basic[] = {
+ { _MMIO(0x9840), 0x00000080 },
{ _MMIO(0x253a4), 0x01600000 },
{ _MMIO(0x25440), 0x00100000 },
{ _MMIO(0x25128), 0x00000000 },