]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move ringbuffer WAs to engine workaround list
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Sat, 1 Feb 2020 19:40:04 +0000 (19:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 1 Feb 2020 20:19:38 +0000 (20:19 +0000)
commit380f0423180768f4a2f368c3ee3d417e255de176
tree288670da5218bdf6ffb18a797443e8f2f663d2f9
parenteeec73f8a4a4d27a1e7be3dedc4b9c81e42ccc0b
drm/i915: Move ringbuffer WAs to engine workaround list

Now that intel_engine_apply_workarounds is called on all gens, we can
use the engine workaround lists for pre-gen8 workarounds as well to be
consistent in the way we handle and dump the WAs.

v2: Ignore the sanity check of MI_MODE on Broadwater, for whatever reason
it is not sticking.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200201194004.3622493-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c
drivers/gpu/drm/i915/gt/intel_workarounds.c