aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-02-09 19:33:18 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 23:28:35 +0100
commit8bc0ccf6b1f0c0c6eef8301cb2a5b743a01635db (patch)
treee3f2400e5728667c4acfeac58fca4ef5932c5a45 /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915/skl: Implement WaDisablePartialResolveInVc (diff)
downloadlinux-dev-8bc0ccf6b1f0c0c6eef8301cb2a5b743a01635db.tar.xz
linux-dev-8bc0ccf6b1f0c0c6eef8301cb2a5b743a01635db.zip
drm/i915/skl: Implement WaDisableLSQCROPERFforOCL
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Nick Hoath <nicholas.hoath@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index af8dca28c505..d7750176091b 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -65,6 +65,11 @@ static void skl_init_clock_gating(struct drm_device *dev)
GEN8_GAPSUNIT_CLOCK_GATE_DISABLE |
GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
}
+
+ if (INTEL_REVID(dev) <= SKL_REVID_E0)
+ /* WaDisableLSQCROPERFforOCL:skl */
+ I915_WRITE(GEN8_L3SQCREG4, I915_READ(GEN8_L3SQCREG4) |
+ GEN8_LQSC_RO_PERF_DIS);
}
static void i915_pineview_get_mem_freq(struct drm_device *dev)