Thread (6 messages) 6 messages, 3 authors, 2003-01-09

Re: [Linux-fbdev-devel] Re: 2.5 fbdev & driver initial mode

From: James Simmons <hidden>
Date: 2003-01-09 20:26:18
Also in: lkml

quoted
Note: on some platforms graphics chips with VGA cores are _not_ initialized to
VGA mode by the firmware. So great care should be taken when not explicitly
switching to graphics mode on those platforms.
Yup. This is typically the case of PowerMacs where the VGA memory isn't
even reachable on the PCI/AGP bus. 
Here are the case we will have.

1) Embedded devices. People here have a tendency to want to use serial 
   console and just want fbdev without fbcon. Fbcon set the graphics state  
   in fbcon_startup. Now the developers want to know if the hardware 
   actually worked. So they can call fb_set_var and fb_show_logo 
   themselves in there drivers. They want to fully bring up the hardware.
  
2) Now say the above want to use fbcon. Then they don't need to set the 
   graphics state in there driver. Fbcon will do it for them. 

3) The graphics card has some kind of default text mode state. For the 
   case  where we want to use /dev/fb without fbcon and the text mode then
   we don't want to change the graphics state in the intialization code. 
   It is done in the first open and the last close.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help