Summary: | Significant increase in Sandy Bridge laptop power consumption after Linux 3.8 i915 update | ||
---|---|---|---|
Product: | Base System | Reporter: | Ed Maste <emaste> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | crest |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Ed Maste
![]() ![]() Does your /boot/loader.conf contain this line? drm.i915.enable_rc6=7 A commit references this bug: Author: emaste Date: Mon Mar 21 00:59:30 UTC 2016 New revision: 297128 URL: https://svnweb.freebsd.org/changeset/base/297128 Log: i915: disable GEN6_MBCTL write in gen6_init_clock_gating This write came from Linux commit b4ae3f22d238 which has been implicated in Sandy Bridge power consumption issues (albeit under different conditions on Linux). Disabling it restores normal power consumption on my Sandy Bridge laptop (Thinkpad X220). PR: 207889 Reviewed by: cem, dumbbell Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5665 Changes: head/sys/dev/drm2/i915/intel_pm.c (In reply to Jan Bramkamp from comment #1) I tried with enable_rc6 set to 0, 1, and 7. One other note: When I observed excessive power consumption the "residency since boot" counters were static in "sysctl hw.dri.0.info.i915_drpc_info" output. "RC6 residency since boot" was high and unchanging, while the other two were zero. This is similar to a report in a comment in https://bugs.freedesktop.org/show_bug.cgi?id=54089 The Linux commit that introduced this regression is b4ae3f22d238617ca11610b29fde16cf8c0bc6e0, which was in response to https://bugs.freedesktop.org/show_bug.cgi?id=50237 . Disabling the MBCTL write from that commit, on Sandy Bridge, restores the power consumption to normal. |