Re: Power management in KMS

2009-09-09 Thread Jerome Glisse
On Wed, 2009-09-09 at 10:50 +0200, Rafał Miłecki wrote: > I'm thinking of organizing power management in KMS. There are my > ideas, would like to get your opinions. > > First of all we need a few different power modes. I think radeonhd has > nice states for that: > 1) OFF /* DPMS off */ > 2) IDLE

Re: Power management in KMS

2009-09-09 Thread Rafał Miłecki
It's about radeon's KMS and PM of course, sorry for not specifing. W dniu 9 września 2009 10:50 użytkownik Rafał Miłecki napisał: > I'm thinking of organizing power management in KMS. There are my > ideas, would like to get your opinions. > > First of all we need a few different power modes. I t

Re: Power management in KMS

2009-09-09 Thread Pauli Nieminen
2009/9/9 Jerome Glisse > On Wed, 2009-09-09 at 10:50 +0200, Rafał Miłecki wrote: > > I'm thinking of organizing power management in KMS. There are my > > ideas, would like to get your opinions. > > > > First of all we need a few different power modes. I think radeonhd has > > nice states for that

Re: Power management in KMS

2009-09-09 Thread Rafał Miłecki
W dniu 9 września 2009 11:10 użytkownik Jerome Glisse napisał: > I have been thinking to PM too, getting hint from userspace is i believe > somethings we want, how this hint should be given needs more discussion, > i was thinking to either use a score (like 100 give me full power, ...) > or using

Re: Power management in KMS

2009-09-09 Thread Rafał Miłecki
W dniu 9 września 2009 11:10 użytkownik Jerome Glisse napisał: > I have been thinking to PM too, getting hint from userspace is i believe > somethings we want, how this hint should be given needs more discussion, > i was thinking to either use a score (like 100 give me full power, ...) > or using

Re: Power management in KMS

2009-09-09 Thread Matthew Garrett
For the most part, the driver should just implement sensible power management itself. We don't want users to have to define complex power management policies. In almost every case, if the user triggers a graphics operation then they want it to complete as quickly as possible. Autmatically upclo

Re: Power management in KMS

2009-09-09 Thread Michel Dänzer
On Wed, 2009-09-09 at 10:50 +0200, Rafał Miłecki wrote: > 5) SLOW_3D /* Simple 3D activity, e.g. compiz (Q: how to select? > indirect rendering only? */ FWIW: No, compiz (and any other GLX compositing manager, for that matter) works with direct rendering with DRI2. -- Earthling Michel Dänzer

Re: Power management in KMS

2009-09-09 Thread Rafał Miłecki
W dniu 9 września 2009 17:57 użytkownik Michel Dänzer napisał: > On Wed, 2009-09-09 at 10:50 +0200, Rafał Miłecki wrote: >> 5) SLOW_3D /* Simple 3D activity, e.g. compiz (Q: how to select? >> indirect rendering only? */ > > FWIW: No, compiz (and any other GLX compositing manager, for that > matter

Re: Power management in KMS

2009-09-09 Thread Alex Deucher
I also think it should mostly be handled in the driver. About the only knobs we may want to enable userspace to mess with are say 3 power modes: low power (battery mode), default, and maybe a high power mode later on. The high power mode may require thermal monitoring support depending on the chi