Re: Average power consumption in S3?

2005-03-11 Thread Benjamin Herrenschmidt
On Fri, 2005-03-11 at 23:58 -0500, Theodore Ts'o wrote: > If this is true, then ATI probably won't be able to tell us anything > useful, so we're only going to find out if people in the Thinkpad > division are willing to tell us something useful (and their track > record for being helpful has not

Re: Average power consumption in S3?

2005-03-11 Thread Theodore Ts'o
On Sat, Mar 12, 2005 at 10:48:21AM +1100, Benjamin Herrenschmidt wrote: > > I'm hesitant to switch a whitelist because of a couple of settings in > there that are specific to the way the chip is wired on the mobo. > Apparently, thinkpads are similar enough to Macs, but I wouldn't bet on > this

Re: Average power consumption in S3?

2005-03-11 Thread Benjamin Herrenschmidt
> What I would suggest doing is changing the code to use a blacklist > instead of a whitelist, and make it optional with a CONFIG option that > is marked experimental, and then get it into the mainline for > additional testing. If we can get ATI to give us the right way to do > it, great, but if

Re: Average power consumption in S3?

2005-03-11 Thread Jan De Luyck
On Wednesday 09 March 2005 15:40, Matthew Garrett wrote: > Moritz Muehlenhoff <[EMAIL PROTECTED]> wrote: > > I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional > > radeontool to power-off the backlight in suspend, S3 works very well > > and reliable. During S3 I've measured a

Re: Average power consumption in S3?

2005-03-11 Thread Bill Davidsen
Benjamin Herrenschmidt wrote: I've sort-of been waiting for ATI to tell me how to retreive the proper memory register setting from the BIOS, since the code in there currently is quite powerbook specific, and might not write the exact correct value on all models. I suppose it works fine on yours so

Re: Average power consumption in S3?

2005-03-11 Thread Theodore Ts'o
On Fri, Mar 11, 2005 at 03:51:19PM +1100, Benjamin Herrenschmidt wrote: > I've sort-of been waiting for ATI to tell me how to retreive the proper > memory register setting from the BIOS, since the code in there currently > is quite powerbook specific, and might not write the exact correct value >

Re: Average power consumption in S3?

2005-03-11 Thread Theodore Ts'o
On Fri, Mar 11, 2005 at 03:51:19PM +1100, Benjamin Herrenschmidt wrote: I've sort-of been waiting for ATI to tell me how to retreive the proper memory register setting from the BIOS, since the code in there currently is quite powerbook specific, and might not write the exact correct value on

Re: Average power consumption in S3?

2005-03-11 Thread Bill Davidsen
Benjamin Herrenschmidt wrote: I've sort-of been waiting for ATI to tell me how to retreive the proper memory register setting from the BIOS, since the code in there currently is quite powerbook specific, and might not write the exact correct value on all models. I suppose it works fine on yours so

Re: Average power consumption in S3?

2005-03-11 Thread Jan De Luyck
On Wednesday 09 March 2005 15:40, Matthew Garrett wrote: Moritz Muehlenhoff [EMAIL PROTECTED] wrote: I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power

Re: Average power consumption in S3?

2005-03-11 Thread Benjamin Herrenschmidt
What I would suggest doing is changing the code to use a blacklist instead of a whitelist, and make it optional with a CONFIG option that is marked experimental, and then get it into the mainline for additional testing. If we can get ATI to give us the right way to do it, great, but if they

Re: Average power consumption in S3?

2005-03-11 Thread Theodore Ts'o
On Sat, Mar 12, 2005 at 10:48:21AM +1100, Benjamin Herrenschmidt wrote: I'm hesitant to switch a whitelist because of a couple of settings in there that are specific to the way the chip is wired on the mobo. Apparently, thinkpads are similar enough to Macs, but I wouldn't bet on this beeing

Re: Average power consumption in S3?

2005-03-11 Thread Benjamin Herrenschmidt
On Fri, 2005-03-11 at 23:58 -0500, Theodore Ts'o wrote: If this is true, then ATI probably won't be able to tell us anything useful, so we're only going to find out if people in the Thinkpad division are willing to tell us something useful (and their track record for being helpful has not

Re: Average power consumption in S3?

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 22:46 -0500, Theodore Ts'o wrote: > On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: > > I've got the e100 and with WOL disabled and Matthew's hacked radeontool > > power consumption decreases to 970 mWh. > > I have a T40p, and with the following patches

Re: Average power consumption in S3?

2005-03-10 Thread Theodore Ts'o
On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: > I've got the e100 and with WOL disabled and Matthew's hacked radeontool > power consumption decreases to 970 mWh. I have a T40p, and with the following patches (versus 2.6.11) and the following sleep script, I have power

Re: Average power consumption in S3?

2005-03-10 Thread Moritz Muehlenhoff
Martin Josefsson wrote: > I also have an X31 and I noticed that the e1000 has Wake-On-Lan enabled > by default and the S3 code doesn't disable that (kind of defeats the > purpose :) > Disabling that will make the e1000 driver power down the chip during S3. > > I've had mine suspended for 2-3 days

Re: Average power consumption in S3?

2005-03-10 Thread Moritz Muehlenhoff
Matthew Garrett wrote: > Radeons don't actually power down in D3 unless some registers are set, > and even then the kernel doesn't currently have any code that would put > the Radeon in D3. If you're willing to test something, could you try the > code at > >

Re: Average power consumption in S3?

2005-03-10 Thread Moritz Muehlenhoff
Matthew Garrett wrote: Radeons don't actually power down in D3 unless some registers are set, and even then the kernel doesn't currently have any code that would put the Radeon in D3. If you're willing to test something, could you try the code at http://www.srcf.ucam.org/~mjg59/radeon/

Re: Average power consumption in S3?

2005-03-10 Thread Moritz Muehlenhoff
Martin Josefsson wrote: I also have an X31 and I noticed that the e1000 has Wake-On-Lan enabled by default and the S3 code doesn't disable that (kind of defeats the purpose :) Disabling that will make the e1000 driver power down the chip during S3. I've had mine suspended for 2-3 days at

Re: Average power consumption in S3?

2005-03-10 Thread Theodore Ts'o
On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: I've got the e100 and with WOL disabled and Matthew's hacked radeontool power consumption decreases to 970 mWh. I have a T40p, and with the following patches (versus 2.6.11) and the following sleep script, I have power

Re: Average power consumption in S3?

2005-03-10 Thread Benjamin Herrenschmidt
On Thu, 2005-03-10 at 22:46 -0500, Theodore Ts'o wrote: On Thu, Mar 10, 2005 at 07:08:26PM +0100, Moritz Muehlenhoff wrote: I've got the e100 and with WOL disabled and Matthew's hacked radeontool power consumption decreases to 970 mWh. I have a T40p, and with the following patches (versus

Re: Average power consumption in S3?

2005-03-09 Thread Martin Josefsson
On Wed, 2005-03-09 at 15:26 +0100, Moritz Muehlenhoff wrote: > Hi, > I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional > radeontool to power-off the backlight in suspend, S3 works very well > and reliable. During S3 I've measured a power consumption of 1400 > to 1500 mWh (using

Re: Average power consumption in S3?

2005-03-09 Thread Matthew Garrett
Moritz Muehlenhoff <[EMAIL PROTECTED]> wrote: > I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional > radeontool to power-off the backlight in suspend, S3 works very well > and reliable. During S3 I've measured a power consumption of 1400 > to 1500 mWh (using 512 megabytes of

Average power consumption in S3?

2005-03-09 Thread Moritz Muehlenhoff
Hi, I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512 megabytes of RAM). Is there still room for optimization? What's the

Average power consumption in S3?

2005-03-09 Thread Moritz Muehlenhoff
Hi, I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512 megabytes of RAM). Is there still room for optimization? What's the

Re: Average power consumption in S3?

2005-03-09 Thread Matthew Garrett
Moritz Muehlenhoff [EMAIL PROTECTED] wrote: I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512 megabytes of RAM). Is

Re: Average power consumption in S3?

2005-03-09 Thread Martin Josefsson
On Wed, 2005-03-09 at 15:26 +0100, Moritz Muehlenhoff wrote: Hi, I'm using an IBM Thinkpad X31. With stock 2.6.11 and the additional radeontool to power-off the backlight in suspend, S3 works very well and reliable. During S3 I've measured a power consumption of 1400 to 1500 mWh (using 512