path: root/drivers
diff options
authorDaniele Ceraolo Spurio <>2019-01-09 17:32:32 -0800
committerJani Nikula <>2019-01-10 15:09:56 +0200
commit70e31424eabe4923a2140eb86f704c75db6a5c87 (patch)
tree354172878abc5010a7acbd4818463d5c1447ef1f /drivers
parent280d479b310298dfeb1d6f9a1617eca37beb6ce4 (diff)
drm/i915: init per-engine WAs for all engines
commit 4a15c75c4246 ("drm/i915: Introduce per-engine workarounds") refactored the workaround code to have functions per-engine, but didn't call any of them from logical_xcs_ring_init. Since we do have a non-RCS workaround for KBL (WaKBLVECSSemaphoreWaitPoll) we do need to call intel_engine_init_workarounds for non-RCS engines. Note that whitelist is still RCS-only. v2: move the call to logical_ring_init (Chris) Fixes: 4a15c75c4246 ("drm/i915: Introduce per-engine workarounds") Cc: Tvrtko Ursulin <> Cc: Chris Wilson <> Signed-off-by: Daniele Ceraolo Spurio <> Reviewed-by: Chris Wilson <> Signed-off-by: Tvrtko Ursulin <> Link: (cherry picked from commit a60acb223fecc77531540196008ac2de89e2a162) Signed-off-by: Jani Nikula <>
Diffstat (limited to 'drivers')
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 4be167dcd209..4796f40a6d4f 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -2244,6 +2244,8 @@ static int logical_ring_init(struct intel_engine_cs *engine)
if (ret)
return ret;
+ intel_engine_init_workarounds(engine);
execlists->submit_reg = i915->regs +
@@ -2310,7 +2312,6 @@ int logical_render_ring_init(struct intel_engine_cs *engine)
- intel_engine_init_workarounds(engine);
return 0;