]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Only ignore rc6 parking for PCU on byt/bsw
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Dec 2019 07:27:37 +0000 (07:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Dec 2019 08:35:48 +0000 (08:35 +0000)
commit73e97ee2bcff83059b3c58b91467fea7ad86ee96
tree016aa6c0977bb64d2004f343eee9072760b40556
parent6eb39daaff043063b63292e0e37737ff30af2746
drm/i915/gt: Only ignore rc6 parking for PCU on byt/bsw

An oversight in that we use rc6->ctl_enable to disable rc6 on gen9 and
so it does not simply indicate indirect control via a PCU. Switch the
rc6->ctl_enable check for a platform-based check.

Fixes: 99aeef4d2958 ("drm/i915/gt: Disable manual rc6 for Braswell/Baytrail")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191212072737.884335-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rc6.c
drivers/gpu/drm/i915/gt/intel_rc6_types.h