From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux Frame Buffer Device Development
<linux-fbdev-devel@lists.sourceforge.net>,
Andrew Morton <akpm@osdl.org>,
Linux/m68k <linux-m68k@vger.kernel.org>
Subject: Re: [PATCH 10/12] fbdev: Static pseudocolor with depth less than 4 does exist
Date: Sun, 30 Apr 2006 05:42:33 +0800 [thread overview]
Message-ID: <4453DDC9.20201@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0604292025410.4557@pademelon.sonytel.be>
Geert Uytterhoeven wrote:
> [ linux-mac68k@mac.linux-m68k.org removed as it seems to bounce? ]
>
> On Sat, 29 Apr 2006, Antonino A. Daplas wrote:
>> Geert Uytterhoeven wrote:
>>> On Sat, 29 Apr 2006, Antonino A. Daplas wrote:
>>>> A static pseudocolor visual with depth less than 4 does exist, so let's
>>>> not accidentally upscale the depth with this configuration
>>> Yes it does, at least on Mac/m68k.
>>>
>>> Now the real question is: why doesn't macfb set FB_VISUAL_STATIC_PSEUDOCOLOR if
>>> there's no macfb_setpalette routine?
>> It should. The other question is, what to do with static pseudocolor?
>> Do we always assume console colors? Or do we make drivers fill their own
>> info->cmap entries and not alter the contents when fb_set_cmap() is called?
>
> I don't think you can always assume console colors. Only the driver (if anyone
> knows at all) knows the palette.
>
> On the other hand, at least on Mac/m68k the palette is inherited from MacOS.
> It would be possible for the Penguin booter to programs the standard console
> palette under MacOS, just before booting the kernel, but as I don't know much
> about Penguin, I have no idea whether that's currently done.
>
Making the palette match the console would be the simplest solution. Otherwise,
we make the drivers export a color map which will be read-only. Then fbcon and
other clients will just have to alter their palette to best fit the hardware.
Tony
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
prev parent reply other threads:[~2006-04-29 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-29 0:41 [PATCH 10/12] fbdev: Static pseudocolor with depth less than 4 does exist Antonino A. Daplas
2006-04-29 7:38 ` Geert Uytterhoeven
2006-04-29 12:34 ` Antonino A. Daplas
2006-04-29 18:28 ` Geert Uytterhoeven
2006-04-29 15:50 ` Brad Boyer
2006-04-29 21:42 ` Antonino A. Daplas [this message]
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=4453DDC9.20201@gmail.com \
--to=adaplas@gmail.com \
--cc=akpm@osdl.org \
--cc=geert@linux-m68k.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-m68k@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;
as well as URLs for NNTP newsgroup(s).