diff options
author | Hoath, Nicholas <nicholas.hoath@intel.com> | 2015-02-05 05:47:18 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-13 17:28:07 -0500 |
commit | ab0dfafefd85b0abf61f0efad769803bee8e49fb (patch) | |
tree | d74166777f7c3ae966adea5f9458ac5343bfb313 | |
parent | e90a21d45d7ea269e6700208809a92d35c0c2362 (diff) |
drm/i915/gen9: Implement WaDisablePartialInstShootdown
v2: Dont add WaDisableThreadStallDopClockGating as not SKL WA. (Found
by Damien Lespiau)
Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Bikeshed commit message a bit as per Damien's suggestions.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index fbfe65ac590b..b869f1c68753 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -875,6 +875,13 @@ static int chv_init_workarounds(struct intel_engine_cs *ring) | |||
875 | 875 | ||
876 | static int gen9_init_workarounds(struct intel_engine_cs *ring) | 876 | static int gen9_init_workarounds(struct intel_engine_cs *ring) |
877 | { | 877 | { |
878 | struct drm_device *dev = ring->dev; | ||
879 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
880 | |||
881 | /* WaDisablePartialInstShootdown:skl */ | ||
882 | WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN, | ||
883 | PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE); | ||
884 | |||
878 | return 0; | 885 | return 0; |
879 | } | 886 | } |
880 | 887 | ||