]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Move hsw GT workarounds from init_clock_gating to workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 09:30:15 +0000 (10:30 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Jun 2020 15:11:39 +0000 (16:11 +0100)
commit76985ca065f5e6ea0f85582e70f7c7a15217d9cd
treeb5b625b561858bccb9a4723e50b160ea2dd2650a
parentf5d73e54f838a64ba2fa2c421e04b5f8455d6bb2
drm/i915/gt: Move hsw 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.

v2: Leave HSW_SCRATCH to set an explicit value, not or in our disable
bit.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2011
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200611093015.11370-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/intel_pm.c