提交 717d84d6 编写于 作者: A Arun Siluvery 提交者: Daniel Vetter

drm/i915/gen8: Move WaDisableAsyncFlipPerfMode to common init fn

Signed-off-by: NArun Siluvery <arun.siluvery@linux.intel.com>
Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 68c6198b
...@@ -807,6 +807,9 @@ static int gen8_init_workarounds(struct intel_engine_cs *ring) ...@@ -807,6 +807,9 @@ static int gen8_init_workarounds(struct intel_engine_cs *ring)
WA_SET_BIT_MASKED(INSTPM, INSTPM_FORCE_ORDERING); WA_SET_BIT_MASKED(INSTPM, INSTPM_FORCE_ORDERING);
/* WaDisableAsyncFlipPerfMode:bdw,chv */
WA_SET_BIT_MASKED(MI_MODE, ASYNC_FLIP_PERF_DISABLE);
return 0; return 0;
} }
...@@ -820,9 +823,6 @@ static int bdw_init_workarounds(struct intel_engine_cs *ring) ...@@ -820,9 +823,6 @@ static int bdw_init_workarounds(struct intel_engine_cs *ring)
if (ret) if (ret)
return ret; return ret;
/* WaDisableAsyncFlipPerfMode:bdw */
WA_SET_BIT_MASKED(MI_MODE, ASYNC_FLIP_PERF_DISABLE);
/* WaDisablePartialInstShootdown:bdw */ /* WaDisablePartialInstShootdown:bdw */
/* WaDisableThreadStallDopClockGating:bdw (pre-production) */ /* WaDisableThreadStallDopClockGating:bdw (pre-production) */
WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN, WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN,
...@@ -889,9 +889,6 @@ static int chv_init_workarounds(struct intel_engine_cs *ring) ...@@ -889,9 +889,6 @@ static int chv_init_workarounds(struct intel_engine_cs *ring)
if (ret) if (ret)
return ret; return ret;
/* WaDisableAsyncFlipPerfMode:chv */
WA_SET_BIT_MASKED(MI_MODE, ASYNC_FLIP_PERF_DISABLE);
/* WaDisablePartialInstShootdown:chv */ /* WaDisablePartialInstShootdown:chv */
/* WaDisableThreadStallDopClockGating:chv */ /* WaDisableThreadStallDopClockGating:chv */
WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN, WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册