From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [RFC/PATCH] drm: Add XRGB8626262 (RGB 6:6:6) pixel format Date: Wed, 27 Mar 2013 13:06:20 +0200 Message-ID: <20130327110620.GZ4469@intel.com> References: <1364375969-5266-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 22DD6E5C63 for ; Wed, 27 Mar 2013 04:06:34 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1364375969-5266-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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 > --- > = > 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 ignore= d 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=E4l=E4 Intel OTC