Thread (2 messages) 2 messages, 2 authors, 2002-06-25

Re: radeonfb and 16bit color problem

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2002-06-25 17:02:47

I thought that piece of code looked weird because it's setting green
equal to rinfo->palette[regno<<1].green, but doesn't seem to ever use
green during the rest of the function...
It should about 2 lines below ... at least in my tree.
BTW, don't you mean 64 palette entries for green (being that it's 6
bits)? 
Yah, sorry, typing too fast ;)
Anyways, I took some time this weekend to look over the code
some more, and I really doubt my problems originates in that function.
As I understand it, the palette (colormap?) will only be used when
displaying colors in text mode.
Hrm... there HW colormap is used in all modes in recent drivers, thus
you can actually set a gamma table. The driver should set it to a
linear ramp by default though that may be broken.
My problem seems to affect many more colors (practically all 65536 of
them), but I've yet to track it down.  I put in a request on ATI's
website to get access to the specs (hoping that'll help me), but I
haven't heard anything back from them yet.
Ben.



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help