[Intel-gfx] [RFC 05/22] drm/i915/slpc: Enable/Disable RC6 in SLPC flows
tom.orourke at intel.com
tom.orourke at intel.com
Wed Jan 20 18:26:07 PST 2016
From: Sagar Arun Kamble <sagar.a.kamble at intel.com>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble at intel.com>
Signed-off-by: Tom O'Rourke <Tom.O'Rourke at intel.com>
---
drivers/gpu/drm/i915/intel_pm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 27713ab..ec1868b 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -6130,6 +6130,7 @@ void intel_disable_gt_powersave(struct drm_device *dev)
if (HAS_SLPC(dev)) {
intel_slpc_disable(dev);
+ gen9_disable_rps(dev);
} else if (IS_IRONLAKE_M(dev)) {
ironlake_disable_drps(dev);
} else if (INTEL_INFO(dev)->gen >= 6) {
@@ -6202,6 +6203,7 @@ void intel_enable_gt_powersave(struct drm_device *dev)
return;
if (HAS_SLPC(dev)) {
+ gen9_enable_rc6(dev);
intel_slpc_enable(dev);
} else if (IS_IRONLAKE_M(dev)) {
mutex_lock(&dev->struct_mutex);
--
1.9.1
More information about the Intel-gfx
mailing list