]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: init per-engine WAs for all engines
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 10 Jan 2019 01:32:32 +0000 (17:32 -0800)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 10 Jan 2019 09:15:33 +0000 (09:15 +0000)
commita60acb223fecc77531540196008ac2de89e2a162
tree787b2c16d82427f8955dda1a5202d8b3960b929f
parentf663b0ca9b7d91d9f7428c1aa87b0ecbe5300aa0
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 <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190110013232.8972-2-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_lrc.c