linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.9 bug: linux logo not displayed in vga16fb
@ 2004-10-22  8:57 Ludovic Drolez
  2004-10-26 15:54 ` 2.6.9 bug: linux logo not displayed in vga16fb (bug found) Ludovic Drolez
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Drolez @ 2004-10-22  8:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: jsimmons, geert

Hi !

I used to have a nice vga boot logo with my 2.6.7 kernel, but with the 2.6.9, my
boot logo has disappeared (same .config)...
It seems to switch to VGA, and some space is reserved for the logo, but it is 
not displayed.
The logo appears with vesafb.


Any idea / patch welcome !

Cheers,

   Ludo

-- 
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 50 87 90                            fax : 03 87 75 19 26

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

* Re: 2.6.9 bug: linux logo not displayed in vga16fb (bug found)
  2004-10-22  8:57 2.6.9 bug: linux logo not displayed in vga16fb Ludovic Drolez
@ 2004-10-26 15:54 ` Ludovic Drolez
  2004-10-26 21:55   ` [Linux-fbdev-devel] " Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Drolez @ 2004-10-26 15:54 UTC (permalink / raw)
  To: linux-kernel

Ludovic Drolez wrote:
> Hi !
> 
> I used to have a nice vga boot logo with my 2.6.7 kernel, but with the 
> 2.6.9, my
> boot logo has disappeared (same .config)...
> It seems to switch to VGA, and some space is reserved for the logo, but 
> it is not displayed.
> The logo appears with vesafb.

I made a few diffs between my old working 2.6.7 kernel and the 2.6.9 and found 
something interesting in fbmem.c:

---------------
@@ -723,7 +419,7 @@
         if (fb_logo.logo == NULL || info->state != FBINFO_STATE_RUNNING)
                 return 0;

-       image.depth = fb_logo.depth;
+       image.depth = 8;
         image.data = fb_logo.logo->data;

         if (fb_logo.needs_cmapreset)
---------------

So, on my 2.6.9, I replaced the '8' by 'fb_logo.depth' and now the logo is 
shown! (but the screen is still not cleared as before when the kernel boots).

Where's the QA guy ? I want to see him now ! ;-)

Cheers,

-- 
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 50 87 90                            fax : 03 87 75 19 26

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

* Re: [Linux-fbdev-devel] Re: 2.6.9 bug: linux logo not displayed in vga16fb (bug found)
  2004-10-26 15:54 ` 2.6.9 bug: linux logo not displayed in vga16fb (bug found) Ludovic Drolez
@ 2004-10-26 21:55   ` Antonino A. Daplas
  0 siblings, 0 replies; 3+ messages in thread
From: Antonino A. Daplas @ 2004-10-26 21:55 UTC (permalink / raw)
  To: linux-fbdev-devel, Ludovic Drolez, linux-kernel

On Tuesday 26 October 2004 23:54, Ludovic Drolez wrote:
> Ludovic Drolez wrote:
> > Hi !
> >
> > I used to have a nice vga boot logo with my 2.6.7 kernel, but with the
> > 2.6.9, my
> > boot logo has disappeared (same .config)...
> > It seems to switch to VGA, and some space is reserved for the logo, but
> > it is not displayed.
> > The logo appears with vesafb.
>
> I made a few diffs between my old working 2.6.7 kernel and the 2.6.9 and
> found something interesting in fbmem.c:
>

Should be fixed in the mm tree or the latest bk snapshot. Or you can try this
very patch.

Tony

diff -uprN linux-2.6.9-rc1-mm4-orig/drivers/video/vga16fb.c linux-2.6.9-rc1-mm4/drivers/video/vga16fb.c
--- linux-2.6.9-rc1-mm4-orig/drivers/video/vga16fb.c	2004-09-07 21:18:35.000000000 +0800
+++ linux-2.6.9-rc1-mm4/drivers/video/vga16fb.c	2004-09-07 21:30:39.059300648 +0800
@@ -1306,7 +1306,7 @@ void vga16fb_imageblit(struct fb_info *i
 {
 	if (image->depth == 1)
 		vga_imageblit_expand(info, image);
-	else if (image->depth <= info->var.bits_per_pixel)
+	else
 		vga_imageblit_color(info, image);
 }
 



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

end of thread, other threads:[~2004-10-26 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22  8:57 2.6.9 bug: linux logo not displayed in vga16fb Ludovic Drolez
2004-10-26 15:54 ` 2.6.9 bug: linux logo not displayed in vga16fb (bug found) Ludovic Drolez
2004-10-26 21:55   ` [Linux-fbdev-devel] " Antonino A. Daplas

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