From: Benjamin H. <be...@ke...> - 2003-12-24 22:48:14
|
> I'll take a look. This fits well with what I'm trying to do with the > mode switching between virtual terminals. The callback will definately > be neccessarry to tell the driver to save any driver specific data that > I'm not already saving (ie anything that's not defined in fb.h). I don't think we need to "save" anything, there is no way I want any knowledge of fbcon-specific stuff to go back into fbdev's, it was hard enough to split these properly (that's a good thing James did). I think we just need to instruct the fbdev to restore it's mode via a set_var with an activate flag FB_ACTIVATE_FORCE, that bypass any test inside the driver about the mode changing from the current info-var, that is basically forcing it to re-apply it's current var. Most drivers will also reset the accel engine properly if any when doing so. Ben. |