[RFC/PATCH] drm: Add XRGB8626262 (RGB 6:6:6) pixel format

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Mar 27 04:06:20 PDT 2013


On Wed, Mar 27, 2013 at 10:19:29AM +0100, Laurent Pinchart wrote:
> This format is an odd beast, implemented by Renesas R-Car hardware. It
> stores RGB 6:6:6 pixels in 32 bits as
> 
> [31:0] x:R:x:G:x:B:x 8:6:2:6:2:6:2 little endian
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
> 
> Hello,
> 
> I came across this weird format on a Renesas SoC display controller. This is
> essentially XRGB8888 with the two low order bits of each component ignored by
> the hardware.

It sounds like it's no different than shoveling XRGB8888 down a 6bpc
pipe w/o dithering.

Could we just pretend it's XRGB8888, or can the low order bits have
some special meaning which would require treating them as special?

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list