Re: Choosing the correct framebuffer configuration

From
Geert Uytterhoeven <geert@linux-m68k.org>
Date
2005-08-07 20:39:30
Reply to
Jon Smirl, 2005-08-07
On Sun, 7 Aug 2005, Jon Smirl wrote:
On 8/7/05, Michel D�nzer [off-list ref] wrote:
quoted
On Sun, 2005-08-07 at 18:14 +0200, Benjamin Herrenschmidt wrote:
quoted
quoted
quoted
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.
They are not really `my' rules, just the original fbdev rules from 1994.
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.
Indeed. But you can more-or-less scan for modes.
What config should I get if everything is zero, BPP and rgbt?
According to the rules this is an error, should it instead return the
best config?
It's not an error, since you can round up from 0.

It depends on your hardware.

Monochrome or pseudocolor 1 bpp, if the hardware supports it.
Or 32 bpp ARGB8888, if that's all the hardware does.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
Thread (13 messages) 13 messages, 6 authors, last reply 2005-08-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help