drm/i915: Restore GT coarse power gating workaround
authorImre Deak <imre.deak@intel.com>
Thu, 14 Nov 2019 15:26:21 +0000 (17:26 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Nov 2019 18:08:45 +0000 (18:08 +0000)
commit980f87a2edb3e7825949ebd0a7e63ab574c20816
tree37bd54ffc0d2a3bc94afc498f22c581b4c782d1d
parente5436206f426463da1ac87ab367ef89a583742ca
drm/i915: Restore GT coarse power gating workaround

The workaround to disable coarse power gating is still needed on SKL
GT3/GT4 machines and since the RC6 context corruption was discovered by
the hardware team also on all GEN9 machines. Restore applying the
workaround.

Fixes: c113236718e8 ("drm/i915: Extract GT render sleep (rc6) management")
Testcase: igt/intel_gt_pm_late_selftests/live_rc6_ctx
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191114152621.7235-1-imre.deak@intel.com
drivers/gpu/drm/i915/gt/intel_rc6.c