File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ static void gen9_init_clock_gating(struct drm_device *dev)
63
63
I915_WRITE (GEN8_UCGCTL6 , I915_READ (GEN8_UCGCTL6 ) |
64
64
GEN8_SDEUNIT_CLOCK_GATE_DISABLE );
65
65
66
- /*
67
- * WaDisableDgMirrorFixInHalfSliceChicken5:skl
68
- * This is a pre-production w/a.
69
- */
70
- I915_WRITE (GEN9_HALF_SLICE_CHICKEN5 ,
71
- I915_READ (GEN9_HALF_SLICE_CHICKEN5 ) &
72
- ~GEN9_DG_MIRROR_FIX_ENABLE );
73
-
74
66
/* Wa4x4STCOptimizationDisable:skl */
75
67
I915_WRITE (CACHE_MODE_1 ,
76
68
_MASKED_BIT_ENABLE (GEN8_4x4_STC_OPTIMIZATION_DISABLE ));
Original file line number Diff line number Diff line change @@ -882,6 +882,16 @@ static int gen9_init_workarounds(struct intel_engine_cs *ring)
882
882
WA_SET_BIT_MASKED (GEN8_ROW_CHICKEN ,
883
883
PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE );
884
884
885
+ if (INTEL_REVID (dev ) == SKL_REVID_A0 ) {
886
+ /*
887
+ * WaDisableDgMirrorFixInHalfSliceChicken5:skl
888
+ * This is a pre-production w/a.
889
+ */
890
+ I915_WRITE (GEN9_HALF_SLICE_CHICKEN5 ,
891
+ I915_READ (GEN9_HALF_SLICE_CHICKEN5 ) &
892
+ ~GEN9_DG_MIRROR_FIX_ENABLE );
893
+ }
894
+
885
895
return 0 ;
886
896
}
887
897
You can’t perform that action at this time.
0 commit comments