drm/i915/gt: Move legacy context wa to intel_workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Jun 2020 07:24:13 +0000 (08:24 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jun 2020 09:42:15 +0000 (10:42 +0100)
commit4e408a720a0530ae880378cb5830e7e812fefa4b
tree7760adf541d460b362d018921e1a72c22ca0ce13
parentc1f8587870602274e1de97aca89361cf91bc12d2
drm/i915/gt: Move legacy context wa to intel_workarounds

Use the central mechanism for recording and verifying that we restore
the w/a for the older devices as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200601072446.19548-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c
drivers/gpu/drm/i915/gt/intel_workarounds.c