OSDN Git Service

drm/i915/gt: Move ilk GT workarounds from init_clock_gating to workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 08:01:39 +0000 (09:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 15:11:39 +0000 (16:11 +0100)
commit806a45c0838d253e306a6384057e851b65d11099
tree9425890c4ac0bbbcc371ae2d9b5a02bb0fcaee41
parentc3b93a943f2c9ee4a106db100a2fc3b2f126bfc5
drm/i915/gt: Move ilk 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-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/intel_pm.c