|
From: Benjamin H. <be...@ke...> - 2001-11-23 13:44:54
|
>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 :-( Ok, well, it doesn't quite work yet but I suspect some X brokenness here. I'll got that fixed in both radeonfb and aty128fb this week-end hopefully. Ben. |