Skip to content

Commit ab0dfaf

Browse files
Hoath, Nicholasdanvet
authored andcommitted
drm/i915/gen9: Implement WaDisablePartialInstShootdown
v2: Dont add WaDisableThreadStallDopClockGating as not SKL WA. (Found by Damien Lespiau) Signed-off-by: Nick Hoath <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> [danvet: Bikeshed commit message a bit as per Damien's suggestions.] Signed-off-by: Daniel Vetter <[email protected]>
1 parent e90a21d commit ab0dfaf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/gpu/drm/i915/intel_ringbuffer.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,13 @@ static int chv_init_workarounds(struct intel_engine_cs *ring)
875875

876876
static int gen9_init_workarounds(struct intel_engine_cs *ring)
877877
{
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+
878885
return 0;
879886
}
880887

0 commit comments

Comments
 (0)