Messages in this thread | | | Date | Fri, 29 Jul 2005 21:20:21 +0100 (BST) | From | James Simmons <> | Subject | Re: [Linux-fbdev-devel] Re: [PATCH] fbdev: colormap fixes |
| |
> > 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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |