]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915/gt: Move ivb GT workarounds from init_clock_gating to workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 08:01:36 +0000 (09:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:49:22 +0000 (17:49 +0200)
commitf6c298aaf65ab6701654746a930362b147d042aa
treef90f7539c13ff39fe7f35a285609ad5fd6d91147
parent24fa6c758204c83904881e78658f5cff7980938c
drm/i915/gt: Move ivb GT workarounds from init_clock_gating to workarounds

commit 7237b190add0794bd95979018a23eda698f2705d upstream.

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-2-chris@chris-wilson.co.uk
(cherry picked from commit 19f1f627b33385a2f0855cbc7d33d86d7f4a1e78)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c