From: "Michel Dänzer" <michel@daenzer.net>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Choosing the correct framebuffer configuration
Date: Sun, 07 Aug 2005 16:38:23 -0400 [thread overview]
Message-ID: <1123447105.9713.6.camel@localhost> (raw)
In-Reply-To: <9e47339105080709537a8064bb@mail.gmail.com>
On Sun, 2005-08-07 at 12:53 -0400, Jon Smirl wrote:
> On 8/7/05, Michel Dänzer <michel@daenzer.net> wrote:
> > On Sun, 2005-08-07 at 18:14 +0200, Benjamin Herrenschmidt wrote:
> > > > > The problem is that the radeonfb driver sees bpp = 32 and then sets
> > > > > rgbt = 8/8/8/8. It stomps rgbt without looking at it.
> > > >
> > > > Looks like a radeonfb bug.
> > >
> > > It's not a bug :) radeonfb doesn't support anything but that format for
> > > now.
> >
> > According to Geert's rules, it should fail instead of rounding down
> > r/g/b.
>
> One problem with these rules is that it makes it hard to determine
> what is the best config available. I can't just set in 255BPP and then
> let it tell me the best available config.
If an app doesn't know its _minimum_ requirements, I doubt it wants 16
bits per component. If an app really needs the 'best' (how is that
defined?) config, it can try setting the best it supports and then lower
the requirements until it hits something that the driver supports.
> What config should I get if everything is zero, BPP and rgbt?
> According to the rules this is an error,
I haven't seen such a rule, where is it?
> should it instead return the best config?
That sounds to me like the app doesn't care, so the driver can return
whatever it pleases.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-08-07 20:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-06 1:47 Choosing the correct framebuffer configuration Jon Smirl
2005-08-06 23:12 ` Petr Vandrovec
2005-08-07 9:48 ` Geert Uytterhoeven
2005-08-07 15:33 ` Jon Smirl
2005-08-07 16:00 ` Michel Dänzer
2005-08-07 16:14 ` Benjamin Herrenschmidt
2005-08-07 16:32 ` Michel Dänzer
2005-08-07 16:53 ` Jon Smirl
2005-08-07 20:34 ` Geert Uytterhoeven
2005-08-07 20:38 ` Michel Dänzer [this message]
2005-08-07 20:47 ` Antonino A. Daplas
2005-08-07 16:15 ` Jon Smirl
2005-08-07 11:00 ` Antonino A. Daplas
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=1123447105.9713.6.camel@localhost \
--to=michel@daenzer.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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.