[Bug 96645] [regression 4.7] [BISECT]Low package c-states used only after forcing DPMS to off
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 17 21:04:25 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=96645
--- Comment #18 from Gabriele Mazzotta <gabriele.mzt at gmail.com> ---
I applied the attached patch to 4.10-rc8 as follows and it fixed my problem:
right after a reboot the CPU can enter pc7 and intel_watermak reports the same
values it did with the unpatched kernel after toggling DPSM.
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 891c86aef99d..0b15b694baa0 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -16497,12 +16497,11 @@ int intel_modeset_init(struct drm_device *dev)
}
}
- intel_update_czclk(dev_priv);
- intel_update_cdclk(dev_priv);
- dev_priv->atomic_cdclk_freq = dev_priv->cdclk_freq;
-
intel_shared_dpll_init(dev);
+ intel_update_czclk(dev_priv);
+ intel_modeset_init_hw(dev);
+
if (dev_priv->max_cdclk_freq == 0)
intel_update_max_cdclk(dev_priv);
@@ -17057,8 +17056,6 @@ void intel_modeset_gem_init(struct drm_device *dev)
intel_init_gt_powersave(dev_priv);
- intel_modeset_init_hw(dev);
-
intel_setup_overlay(dev_priv);
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170217/4fca2059/attachment.html>
More information about the intel-gfx-bugs
mailing list