From: <benh@kernel.crashing.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Peter Horton <pdh@berserk.demon.co.uk>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Radeon frame buffer driver
Date: Wed, 10 Apr 2002 14:27:50 +0100 [thread overview]
Message-ID: <20020410132751.13616@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0204101403400.9914-100000@vervain.sonytel.be>
>Probably not (unless you can quote me on that :-)
>
>The color map is saved/restored in radeonfb_switch().
>
>Gr{oetje,eeting}s,
Yes, the console color map is, but isn't an fbdev app like MOL or
X supposed to restore it's own colormap when switched back in ?
Well, I may be able to quote you on this...
>> - When using > 8 bit depth, who is supposed to set the linear
>> gamma ramp ? (My understanding is that a client app is responsible
>> to set it's own cmap properly, but it also looks like some apps
>> rely on the default beeing set to a linear gamma ramp). Should
>> I set it this way in set_par by default and then let the app
>> eventually change it ?
>
>If your fbdev claims to be in truecolor mode, your fbdev should do it.
>If your fbdev claims to be in directcolor mode, the application should do it
>(if the app wants truecolor mode).
Ok, actually, you weren't talking about console switch. Though I'm pretty
sure MOL at least will properly restore it's colormap, I don't know for
XFree.
So Peter, it seems you have to save/restore it all finally.
Ben.
next prev parent reply other threads:[~2002-04-10 12:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 0:12 [PATCH] Radeon frame buffer driver Peter Horton
2002-04-10 2:31 ` Jonathan A. Davis
2002-04-10 6:04 ` Ani Joshi
2002-04-10 9:06 ` benh
2002-04-10 9:40 ` Peter Horton
2002-04-10 10:57 ` benh
2002-04-10 10:19 ` Peter Horton
2002-04-10 11:06 ` Geert Uytterhoeven
2002-04-10 13:01 ` benh
2002-04-10 12:22 ` Geert Uytterhoeven
2002-04-10 13:27 ` benh [this message]
2002-04-10 13:03 ` Peter Horton
2002-04-10 13:14 ` Geert Uytterhoeven
2002-04-10 23:09 ` Peter Horton
2002-04-10 13:00 ` benh
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=20020410132751.13616@mailhost.mipsys.com \
--to=benh@kernel.crashing.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pdh@berserk.demon.co.uk \
/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