linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5 offb breakage
@ 2002-07-31 12:49 Benjamin Herrenschmidt
  2002-07-31 17:18 ` James Simmons
  2002-07-31 17:18 ` James Simmons
  0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2002-07-31 12:49 UTC (permalink / raw)
  To: James Simmons, linux-fbdev-devel

Hi !

I've investigated a bit why offb dies on boot with current 2.5.

It appears that dispsw is never set. You removed the code setting
it for the various bit depth. It seems the gen_set_disp() call
is supposed to do that instead.

However, gen_set_disp() only does it for var.bits_per_pixel == 24,
not for the other bit depths. In my case, offb boots at 8bpp, thus
dispsw is never set, causing fbcon_setup to die when trying to
call set_font(). That is without the accel in config. If I enable
accel support, then it dies later, in cfbimgblt, apparently due
to cfb_imageblit() beeing called with a NULL argument.

What is the correct fix ? Changing back offb to set dispsw or 
changing gen_set_disp() to set dispsw for all bit depth ?

Also, when code in fbcon_accel.c is calling things like
cfb_imageblit, it uses the "fb_info" field of structure
struct display. Where is this supposed to be initialized ?
It doesn't seem it's done in the drivers themselves (surely
not in offb).

Regards,
Ben.





-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-31 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-31 12:49 2.5 offb breakage Benjamin Herrenschmidt
2002-07-31 17:18 ` James Simmons
2002-07-31 17:42   ` Benjamin Herrenschmidt
2002-07-31 18:00     ` James Simmons
2002-07-31 18:07       ` Benjamin Herrenschmidt
2002-07-31 18:18       ` Benjamin Herrenschmidt
2002-07-31 17:18 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).