From: James S. <jsi...@tr...> - 2001-11-14 22:09:26
|
> > What about: > > > > * Note: If screen is blanked, all other functions (setcolreg, > > * imageblit) may be still invoked, and must work. This needs > > * special care if you are blanking by programming DAC to all black. > > > > or something like that. > > Or the upper layer could take care of that. Hm. Code in fbmem.c can handle this. Actually I like to make the blank code more robust. I like to see real power management on alot of levels. For example many hand held devices have hooks to lower the pixclock when in power saving mode. This is needed when you lower the CPU clock speed. We really should be making use of the struct pm_dev I placed into struct fb_info. So to deal with this issue in fbmem we could atomically read struct pm_dev state field. P.S No power management function to read the current state? |