From: Rogelio M. S. Jr. <ro...@vi...> - 2001-09-04 22:47:05
|
Im confused. You mean going into graphics mode is handled by set_var? Or does "load the mode" mean going into graphic mode? So how should the card initialization go? enable linear mode and map the linear window base somewhere, fill up all the structs then call register_framebuffer? On Tue, 4 Sep 2001, Ani Joshi wrote: > > You don't have to load the mode in your _init() before you cal > register_framebuffer(), the fbcon layer will call you set_var() and set > the mode in there. Some drivers do set it in _init() and some don't, > mostly preference as it will set it twice upon boot anyhow. > > > ani > > On Tue, 4 Sep 2001, Rogelio M. Serrano Jr. wrote: > > > im trying to right an s3 928 framebuffer driver. i have an ibm ps 77s > > with a builtin card with 1MB vram. how do we go to graphics mode on this > > card? should an fb driver enable graphics mode before calling > > register_framebuffer? |