>>>>> "Russell" == Russell King <- ARM Linux <linux@xxxxxxxxxxxxxxxx>> writes: Hi, Russell> You describe the RGB555 vs RGB565 via the bitfield values in Russell> var->red, var-> green and var->blue. So, RGB(or BGR)565 has Russell> var->green.length with 6, and RGB(or BGR)555 has this as 5. Russell> In both cases, bits_per_pixel is 16 as that's the width of a Russell> pixel in the frame buffer. Russell> If the bitfield can't be interpreted by the driver as Russell> identifying one of these combinations, then you're supposed to Russell> chose one (and in the case where it's fixed by hardware, you Russell> set the bitfields according to what the hardware supports.) Indeed, and as the hardware can only interprete 1/2/4/8 paletted and 16/24 RGB, we shouldn't claim to support 15bit. -- Bye, Peter Korsgaard -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html