Re: Re: [PATCH] fbdev: colormap fixes
From: James Simmons <hidden>
Date: 2005-07-29 20:23:42
Also in:
lkml
From: James Simmons <hidden>
Date: 2005-07-29 20:23:42
Also in:
lkml
quoted
No, bits_per_pixel can be (much) larger than the color map size. E.g. a simple ARGB8888 directcolor mode has bits_per_pixel = 32 and color map size = 256.So I have the bits_per_pixel attribute wrong in sysfs. It needs to be bits_per_color and then let the driver sort it out. Otherwise there is no way to set ARGB8888 versus ARGB2101010. With bits per color you would set 8 or 10.
You would need bits_per_read, bit_per_green. This doesn't event count the other color spaces avaliable like YUV. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click