Hi,

On Monday, 18 December 2006 13:16, Pavel Machek wrote:
> Hi!
> 
> > thanks for explaining this, i am obviously not too deep into that
> > PCI bus stuff :-)
> > 
> ...
> > > > I thought that this should somehow go away by the PCI bus suspend/resume
> > > > methods that somewhen back got merged by Greg K-H.
> > > 
> > > The kernel will only save and restore the standardised PCI configuration 
> > > registers - anything else needs to be handled by the specific device 
> > > driver. Unfortunately, in the graphics hardware case, the closest thing 
> > > to that is the framebuffer driver. Which we don't tend to use.
> > 
> > So the question is: should we either
> >  - implement a minimal "graphics card PCI suspend resume" "driver" in the
> >    kernel that will do this even if no framebuffer is used, or
> 
> We are going there, but it is *hard* to do, due to kernel graphics
> missdesign. Could take years.
> 
> >  - implement this as a workaround in userspace?
> > 
> > I mean - it is not rocket science to do it in s2ram, but it just seems
> > more correct (to me) to do it in the kernel, where the correct locking
> > and ordering is more or less guaranteed.
> 
> Lets do it in userspace. Doing in kernel is right, but it will be
> hard.

Agreed.

Plus if we do it in the user space, we'll be able to drop it as soon as it's
no longer needed. ;-)

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
                - Stephen King

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to