OSDN Git Service

drm/i915/gt: Fix rc6 on Ivybridge
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Feb 2020 20:21:10 +0000 (20:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Feb 2020 22:54:36 +0000 (22:54 +0000)
commit816cc4d6c693a68523e4afcbe419aac8af05b1d7
tree1fb4d75d5f20714e7f1e877054a63e39a3d98eb9
parent7203d49cdcb2a7916d35522959bad54aae68ab0b
drm/i915/gt: Fix rc6 on Ivybridge

The current rc6 threshold is larger than the evaluation interval on
Ivybridge; it never enters rc6. Remove the special casing so it behaves
like the other gen6/gen7, and we see rc6 residencies before we manually
park the system.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1114
Testcase: igt/i915_pm_rc6_residency/rc6-idle #ivb
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200203202110.670209-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rc6.c