From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: drm pixel formats update Date: Thu, 17 Nov 2011 00:20:44 +0200 Message-ID: <20111116222044.GQ3477@intel.com> References: <1321468945-28224-1-git-send-email-ville.syrjala@linux.intel.com> <20111116195412.33f365ee@lxorguk.ukuu.org.uk> <20111116211938.GO3477@intel.com> <20111116132301.0e149385@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id DEFBC9E7E7 for ; Wed, 16 Nov 2011 14:18:30 -0800 (PST) Content-Disposition: inline In-Reply-To: <20111116132301.0e149385@jbarnes-desktop> 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: Jesse Barnes Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, Nov 16, 2011 at 01:23:01PM -0800, Jesse Barnes wrote: > On Wed, 16 Nov 2011 23:19:38 +0200 > Ville Syrj=E4l=E4 wrote: > > Oh and one extra detail just occured to me regarding the three plane > > formats. Should we even define formats for both the YUV vs. YVU > > variant. Seeing as we now have independent handles and offsets for > > each plane, we can make do with just one format definition. > = > Don't you still need to know the order? I.e. what's in handle[1], U or > V? We could define it so that handle[1] is always Cb and handle [2] is Cr, for example. Then it's up to user space to set the handles orrectly, which it has to do anyway. -- = Ville Syrj=E4l=E4 Intel OTC