summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorKenneth Graunke2014-02-27 08:59:30 +0100
committerDaniel Vetter2014-03-05 21:30:28 +0100
commitc8966e1058e1e8ae2eec4211157847032829697a (patch)
tree21725b908a36710d7db7f80d0b8a91d786a90624 /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Add suspend count to error state (diff)
downloadkernel-qcow2-linux-c8966e1058e1e8ae2eec4211157847032829697a.tar.gz
kernel-qcow2-linux-c8966e1058e1e8ae2eec4211157847032829697a.tar.xz
kernel-qcow2-linux-c8966e1058e1e8ae2eec4211157847032829697a.zip
drm/i915: Add a partial instruction shootdown workaround on Broadwell.
I believe this will be necessary on production hardware. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> [danvet: Fix whitespace fail spotted by checkpatch. Also add missing :bdw w/a tag that Ville spotted.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 2ded0f6d543b..f21c9f3ee643 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4801,6 +4801,10 @@ static void gen8_init_clock_gating(struct drm_device *dev)
/* FIXME(BDW): Check all the w/a, some might only apply to
* pre-production hw. */
+ /* WaDisablePartialInstShootdown:bdw */
+ I915_WRITE(GEN8_ROW_CHICKEN,
+ _MASKED_BIT_ENABLE(PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE));
+
/*
* This GEN8_CENTROID_PIXEL_OPT_DIS W/A is only needed for
* pre-production hardware