drm/i915/gt: Move snb GT workarounds from init_clock_gating to workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 08:01:38 +0000 (09:01 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 16 Jun 2020 08:34:24 +0000 (11:34 +0300)
commitfd2599bda5a989c3332f4956fd7760ec32bd51ee
treef753f67f28b7855d0f7083d9b231fb6eab90f0d8
parent695a2b11649e99bbf15d278042247042c42b8728
drm/i915/gt: Move snb GT workarounds from init_clock_gating to workarounds

Rescue the GT workarounds from being buried inside init_clock_gating so
that we remember to apply them after a GT reset, and that they are
included in our verification that the workarounds are applied.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200611080140.30228-4-chris@chris-wilson.co.uk
(cherry picked from commit c3b93a943f2c9ee4a106db100a2fc3b2f126bfc5)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/intel_pm.c