Re: [resend] i915: high power consumption after suspend/resume

From: Andrew Lutomirski
Date: Wed Oct 07 2009 - 23:46:10 EST


On Mon, Oct 5, 2009 at 12:21 PM, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:
> On Sat, 3 Oct 2009 12:50:01 -0400
> Andrew Lutomirski <luto@xxxxxxx> wrote:
>
>> [resend b/c the intel-gfx list doesn't allow non-member posting]
>>
>> Hi-
>>
>> First, thanks for all the great work on i915's power saving features
>> -- power consumption on my laptop (Lenovo X200s) is now almost as low
>> on Linux as on Windows.
>>
>> After a suspend/resume cycle, though, my power consumption usually
>> goes up by over a watt.  I think this is due to i915, because of an
>> experiment I did:
>>
>> 1. Boot with modesetting off into single user mode.
>> 2. Suspend and resume
>> 3. Reload i915 with modesetting on.  Power consumption is low.
>> 4. Suspend and resume.  Power consumption is high.
>> 5. Unbind and rebind i915.  Power consumption is high.
>> 6. Suspend.  System hangs (seperate bug, I guess).
>>
>> I get similar results if I boot single user with modesetting on: power
>> consumption is low, becomes high after suspend/resume, and goes low
>> again after rebinding i915.
>>
>> This is on 2.6.32-rc1 + a little (i.e. 84d88d5d4e from Linus' tree
>> plus an ext4 fix).  I'm having trouble reproducing any of this on
>> 2.6.31.
>
> I probably need to save/restore some more of the power saving state
> across suspend/resume...  Can you file a bug for this at
> bugs.freedesktop.org so it doesn't get lost?

Submitted as https://bugs.freedesktop.org/show_bug.cgi?id=24386

Thanks,
Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/