On Fri, Jun 24, 2005 at 05:19:30PM -0400, Jon Smirl wrote:
> On 6/24/05, Alan Hourihane <[EMAIL PROTECTED]> wrote:
> > On Fri, Jun 24, 2005 at 12:31:06PM -0700, Jon Smirl wrote:
> > > CVSROOT:      /cvs/dri
> > > Module name:  drm
> > > Repository:   drm/linux-core/
> > > Changes by:   [EMAIL PROTECTED]  05/06/24 12:31:06
> > >
> > > Log message:
> > >   More err path clean up for drm_pm
> > >   Add mandatory sysdev shutdown function
> > >
> > > Modified files:
> > >       drm/linux-core/:
> > >         drm_drv.c drm_pm.c
> > >
> > >   Revision      Changes    Path
> > >   1.120                    drm/linux-core/drm_drv.c
> > >   1.4                      drm/linux-core/drm_pm.c
> > 
> > Jon,
> > 
> > I've noticed you've moved drm_pm_init().
> > 
> > The reason it was were it was before is that the sysdev approach needn't
> > and shouldn't be used when fbdev isn't loaded.
> > 
> > Alan.
> 
> Shouldn't the power management be per device instead of global to DRM?
> In fbdev it is per device. If it is per device we don't need the
> global class.

The class is global, but the call is to the power() function is device
specific. Maybe this is incorrect though for multiple cards, and should
be moved to per device classes.

Alan.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to