linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Oops in fbcon_setup
@ 2002-08-31 20:20 Richard Zidlicky
  2002-09-01  9:24 ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Zidlicky @ 2002-08-31 20:20 UTC (permalink / raw)
  To: James Simmons; +Cc: linux-fbdev-devel

Hi,

I came around testing q40fb.c, fbcon_setup oopses because
apparently dispsw isn't set anywhere.

This patch seems to fix it although I had very little opportunity 
to test much further (it was good enough to display the next Oops
though ;)

--- linux-m68k-2.5.x/drivers/video/q40fb.c      Tue Aug 13 21:30:36 2002
+++ build-2.5/drivers/video/q40fb.c     Sat Aug 31 14:33:11 2002
@@ -29,6 +29,7 @@
 #include <asm/pgtable.h>
 
 #include <video/fbcon.h>
+#include <video/fbcon-cfb16.h>
 
 #define Q40_PHYS_SCREEN_ADDR 0xFE800000
 
@@ -125,6 +126,8 @@
        fb_info.switch_con      = gen_switch;
        fb_info.updatevar       = gen_update_var;
        fb_alloc_cmap(&fb_info.cmap, 16, 0);
+
+       display.dispsw = &fbcon_cfb16;
 
         gen_set_disp(-1, &fb_info);
 

Richard


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

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

* Re: Oops in fbcon_setup
  2002-08-31 20:20 Oops in fbcon_setup Richard Zidlicky
@ 2002-09-01  9:24 ` Geert Uytterhoeven
  2002-09-01 21:16   ` Richard Zidlicky
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2002-09-01  9:24 UTC (permalink / raw)
  To: Richard Zidlicky; +Cc: James Simmons, Linux Frame Buffer Device Development

On Sat, 31 Aug 2002, Richard Zidlicky wrote:
> I came around testing q40fb.c, fbcon_setup oopses because
> apparently dispsw isn't set anywhere.
> 
> This patch seems to fix it although I had very little opportunity 
> to test much further (it was good enough to display the next Oops
> though ;)
> 
> --- linux-m68k-2.5.x/drivers/video/q40fb.c      Tue Aug 13 21:30:36 2002
> +++ build-2.5/drivers/video/q40fb.c     Sat Aug 31 14:33:11 2002
> @@ -29,6 +29,7 @@
>  #include <asm/pgtable.h>
>  
>  #include <video/fbcon.h>
> +#include <video/fbcon-cfb16.h>
>  
>  #define Q40_PHYS_SCREEN_ADDR 0xFE800000
>  
> @@ -125,6 +126,8 @@
>         fb_info.switch_con      = gen_switch;
>         fb_info.updatevar       = gen_update_var;
>         fb_alloc_cmap(&fb_info.cmap, 16, 0);
> +
> +       display.dispsw = &fbcon_cfb16;
>  
>          gen_set_disp(-1, &fb_info);

Since fbcon_cfb16 is going to go away, what about using fbcon_accel and
cfb{copyarea,fillrect,imgblt}.c instead?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

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

* Re: Oops in fbcon_setup
  2002-09-01  9:24 ` Geert Uytterhoeven
@ 2002-09-01 21:16   ` Richard Zidlicky
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Zidlicky @ 2002-09-01 21:16 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: James Simmons, Linux Frame Buffer Device Development

On Sun, Sep 01, 2002 at 11:24:57AM +0200, Geert Uytterhoeven wrote:

> 
> Since fbcon_cfb16 is going to go away, what about using fbcon_accel and
> cfb{copyarea,fillrect,imgblt}.c instead?

it appears it oopsed because FBCON_HAS_ACCEL was not defined, the
name of the config option is slightly misleading.

Now the penguin is prefect, however text is unreadable and in some 
strange blueish colour. Text background (empty lines etc) are filed 
with some strange symbol.

Any ideas? This is still 2.5.31 if that matters.

Richard


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

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

end of thread, other threads:[~2002-09-01 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-31 20:20 Oops in fbcon_setup Richard Zidlicky
2002-09-01  9:24 ` Geert Uytterhoeven
2002-09-01 21:16   ` Richard Zidlicky

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).