]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Pull engine w/a initialisation into common
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 13:58:05 +0000 (14:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 18:22:11 +0000 (19:22 +0100)
commit461990fb856295c51201014dab6a9503d3b4dcec
tree32b2d24aa8945fa15c0be36f87c4cbc6b85921e3
parenta7f91d32ffe55d8e2a9d08558129f46781cc92b4
drm/i915/gt: Pull engine w/a initialisation into common

We need to setup the workarounds on all engines, with the knowledge
about which platforms each workaround applies to kept together in the
workaround list. As such, we can pull the w/a initialisation into the
common setup and try to avoid duplicating knowledge about when to setup
the workarounds.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703135805.7310-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_workarounds.c