|
From: Geert U. <ge...@li...> - 2001-11-23 13:13:17
|
On Fri, 23 Nov 2001, Benjamin Herrenschmidt wrote:
> For 5:6:5 things are slightly different since R and B have
> a 0..31 range while G ranges from 0..63. In the DAC, the ATI
> chip right-align these, so a given regno is actually split
> into regno<<3 for R and B values and regno<<2 for G. However,
> that means we should expose to userland a 64 entries cmap
> instead of 32, am I wrong ? In this case however, when setting
> cmap for regno 32..63, we should ignore R and B and only use
> G, or did I miss something ?
Yes, that's what I did for atyfb (experimental 565 patch which doesn't work
very well yet :-(
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
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
|