From: Antonino A. D. <ad...@gm...> - 2005-08-25 14:05:59
|
Knut Petersen wrote: > Hi everybody, > > under certain circumstances the X trident driver does disable mmio > upon returning to a linux console. As mapped ioports are no longer > available, this is an immediate problem. > > I never had expected that upon switching from X to a linux console > drawing functions like fb_imageblit would be called before the > fb_check_var and fb_set_par functions have been called. But that´s > definitely the case. > I'm surprised. That was a problem in earlier versions of the kernel but I think that was fixed. If you look at fbcon code, all calls to drawing functions: putcs, bmove, scroll, cursor, flashcursor, etc has an if (fbcon_is_inactive()) in the beginning. And everytime the vt switches from KD_GRAPHICS to KD_TEXT (ie from X), a set_var()/ set_par() will be called automatically to reset the fbdev drivers before the "drawing" functions are called. Can you instrument where this is happening? Because if it still is, then that is a show-stopping bug. Tony |