[Bug 58971] High temperature after resuming from suspend to RAM (system idle).

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sun Jun 23 06:14:45 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=58971





--- Comment #56 from Robert Csordas <xdever at gmail.com>  2013-06-23 13:14:45 ---
It seems that the problem is related to some uggly race condition. Because the
"later enabling of IRQ" made the problem much less frequent, I tought it may be
that something in resuming of i915 still happening "to early". I put a couple
of msleep(100)'s in the __i915_drm_thaw function, where I tought it may be
good. After that my machine resumed itself 30 out of 30 without any problems
running from battery. Later I "hand binary searched" the right sleep that
solves the problem. So my machine is now working with one msleep(100); before
the line intel_modeset_init_hw(dev); (the early IRQ commit already removed).
With this one sleep added the machine resumed 20 out of 20 tries without
problem (running from battery).

Interestingly putting the sleep early in the function doesn't helps (this may
indicate that the race condition is in i915 itself and not bethween i915 and
some other module???).

So the uggly solution which works for me:

1. remove commit 15239099d7a7a9ecdc1ccb5b187ae4cda5488ff9
2. locate function __i915_drm_thaw in i915_drv.c
3. find line intel_modeset_init_hw(dev); and put msleep(100); one line before
it.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list