@@ -1098,9 +1098,10 @@ static int gen8_init_indirectctx_bb(struct intel_engine_cs *ring)
return -EINVAL;
}
- /* FIXME: fill unused locations with NOOPs.
- * Replace these instructions with WA
- */
+ /* WaDisableCtxRestoreArbitration:bdw,chv */
+ cmd[index++] = MI_ARB_ON_OFF | MI_ARB_DISABLE;
+
+ /* padding */
while (index < end)
cmd[index++] = MI_NOOP;
@@ -1135,9 +1136,10 @@ static int gen8_init_perctx_bb(struct intel_engine_cs *ring)
return -EINVAL;
}
- /* FIXME: fill unused locations with NOOPs.
- * Replace these instructions with WA
- */
+ /* WaDisableCtxRestoreArbitration:bdw,chv */
+ cmd[index++] = MI_ARB_ON_OFF | MI_ARB_ENABLE;
+
+ /* padding */
while (index < end)
cmd[index++] = MI_NOOP;