public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Romain Dolbeau <dolbeau@irisa.fr>
To: linux fbdev <Linux-fbdev-devel@lists.sourceforge.net>
Cc: James Simmons <jsimmons@transvirtual.com>,
	Romain Dolbeau <dolbeaur@club-internet.fr>,
	linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Linux-fbdev-devel] Re: [PATCH] fbgen & multiple RGBA
Date: Mon, 25 Jun 2001 10:14:09 +0200	[thread overview]
Message-ID: <3B36F2D1.175CD2E@irisa.fr> (raw)
In-Reply-To: <Pine.LNX.4.10.10106220926460.9835-100000@transvirtual.com>

James Simmons wrote:
> 
> > the attached patch fix a problem with fbgen when changing the
> > RGBA components but not the depth ; fbgen would not change
> > the colormap in this case, where it should.
> 
> It would be much easier to use a memcmp.

For the color component, yes, but you can't use a memcmp
on the 'fb_var_screeninfo', as some member of the struct
are irrelevant to colormap switching (you don't want
to reinstall the colormap if only the refresh rate changed,
for instance).

-- 
DOLBEAU Romain               | l'histoire est entierement vraie, puisque
ENS Cachan / Ker Lann        |     je l'ai imaginee d'un bout a l'autre
dolbeau@irisa.fr             |           -- Boris Vian

  reply	other threads:[~2001-06-25  8:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-22 14:08 [PATCH] fbgen & multiple RGBA Romain Dolbeau
2001-06-22 16:31 ` James Simmons
2001-06-25  8:14   ` Romain Dolbeau [this message]
2001-06-26 20:26     ` [Linux-fbdev-devel] " James Simmons
2001-06-26 21:17       ` Romain Dolbeau
2001-06-26 21:28         ` Romain Dolbeau
2001-06-26  8:32 ` [PATCH] fbgen & multiple RGBA (w/ memcmp) Romain Dolbeau

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=3B36F2D1.175CD2E@irisa.fr \
    --to=dolbeau@irisa.fr \
    --cc=Linux-fbdev-devel@lists.sourceforge.net \
    --cc=dolbeaur@club-internet.fr \
    --cc=jsimmons@transvirtual.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox