All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Petr Stehlik <pstehlik@sophics.cz>,
	Linux Frame Buffer Device Development
	<linux-fbdev-devel@lists.sourceforge.net>,
	"Christian T. Steigies" <cts@debian.org>
Subject: Re: patch fixing background next to penguin logo in monochrome
Date: Sun, 15 Aug 2004 00:43:02 +0000 (UTC)
Date: Wed, 15 Sep 2004 08:38:58 +0800	[thread overview]
Message-ID: <200409150839.00693.adaplas@hotpop.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0408131002030.28832@waterleaf.sonytel.be>

On Friday 13 August 2004 16:05, Geert Uytterhoeven wrote:
> >
> > diff -uprN linux-2.4-orig/drivers/video/fbcon.c
> > linux-2.4/drivers/video/fbcon.c ---
> > linux-2.4-orig/drivers/video/fbcon.c	2004-09-13 07:40:18.194333488 +0800
> > +++ linux-2.4/drivers/video/fbcon.c	2004-09-13 07:41:52.302026944 +0800
> > @@ -1930,6 +1930,7 @@ static int fbcon_switch(struct vc_data *
> >  	(*info->switch_con)(unit, info);
> >      if (p->dispsw->clear_margins && vt_cons[unit]->vc_mode == KD_TEXT)
> >  	p->dispsw->clear_margins(conp, p, 0);
> > +    conp->vc_can_do_color = p->var.bits_per_pixel != 1;
> >      if (logo_shown == -2) {
> >  	/* G.S.: Display a line above the Boot Logo to state what
> >  	* version of the kernel we are booting.
>
> I don't think it's needed: I saw no artifacts when switching between a
> monochrome and a color VC or vice versa.
>
> When looking at the source, conp->vc_can_do_color is initialized in
> fbcon_setup(), which is called from fbcon_changevar(), which is called by
> the fbdev if the resolution or color depth was changed.
>

Okay.  I wasn't too sure of that since I'm not very familiar with the 2.4
code.

Tony




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

  reply	other threads:[~2004-08-15  0:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 19:56 patch fixing background next to penguin logo in monochrome Petr Stehlik
2004-08-11 22:23 ` Antonino A. Daplas
2004-08-12 12:02   ` Petr Stehlik
2004-08-12 20:01     ` Geert Uytterhoeven
2004-08-12 22:30       ` Antonino A. Daplas
2004-08-12 23:53         ` Antonino A. Daplas
2004-08-13  8:05           ` Geert Uytterhoeven
2004-08-15  0:43             ` Antonino A. Daplas [this message]
2004-08-15 12:25         ` Geert Uytterhoeven
2004-08-16  3:11           ` Antonino A. Daplas
2004-08-17  7:45             ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200409150839.00693.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=adaplas@pol.net \
    --cc=cts@debian.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=pstehlik@sophics.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.