[{"id":24339,"web_url":"https://patchwork.libcamera.org/comment/24339/","msgid":"<20220803120139.zdefi4urnurhapgj@uno.localdomain>","date":"2022-08-03T12:01:39","subject":"Re: [libcamera-devel] [PATCH 02/13] include: drm_fourcc: Add AVUY\n\tand XVUY 4:4:4 packet formats","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"content":"Hi Laurent\n\nOn Mon, Aug 01, 2022 at 03:05:32AM +0300, Laurent Pinchart via libcamera-devel wrote:\n> Add FourCCs for the YUV 4:4:4 packed formats AVUY8888 and XVUY8888.\n>\n> This is merged in the upstream kernel as 53618649ca6d (\"drm/fourcc: Add\n> formats for packed YUV 4:4:4 AVUY and XVUY permutations\").\n\nIs this upstreamed already ? can't find it in linux-next or in Linus\nbranches\n\n>\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> ---\n>  include/linux/drm_fourcc.h | 2 ++\n>  1 file changed, 2 insertions(+)\n>\n> diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\n> index cc69eecc606f..1496e097004c 100644\n> --- a/include/linux/drm_fourcc.h\n> +++ b/include/linux/drm_fourcc.h\n> @@ -205,7 +205,9 @@ extern \"C\" {\n>  #define DRM_FORMAT_VYUY\t\tfourcc_code('V', 'Y', 'U', 'Y') /* [31:0] Y1:Cb0:Y0:Cr0 8:8:8:8 little endian */\n>\n>  #define DRM_FORMAT_AYUV\t\tfourcc_code('A', 'Y', 'U', 'V') /* [31:0] A:Y:Cb:Cr 8:8:8:8 little endian */\n> +#define DRM_FORMAT_AVUY8888\tfourcc_code('A', 'V', 'U', 'Y') /* [31:0] A:Cr:Cb:Y 8:8:8:8 little endian */\n>  #define DRM_FORMAT_XYUV8888\tfourcc_code('X', 'Y', 'U', 'V') /* [31:0] X:Y:Cb:Cr 8:8:8:8 little endian */\n> +#define DRM_FORMAT_XVUY8888\tfourcc_code('X', 'V', 'U', 'Y') /* [31:0] X:Cr:Cb:Y 8:8:8:8 little endian */\n>  #define DRM_FORMAT_VUY888\tfourcc_code('V', 'U', '2', '4') /* [23:0] Cr:Cb:Y 8:8:8 little endian */\n>  #define DRM_FORMAT_VUY101010\tfourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */\n\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n\nThanks\n  j\n\n>\n> --\n> Regards,\n>\n> Laurent Pinchart\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 36A1CC3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  3 Aug 2022 12:01:45 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 97E9F63310;\n\tWed,  3 Aug 2022 14:01:44 +0200 (CEST)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[IPv6:2001:4b98:dc4:8::223])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4B7F5603E6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  3 Aug 2022 14:01:43 +0200 (CEST)","(Authenticated sender: jacopo@jmondi.org)\n\tby mail.gandi.net (Postfix) with ESMTPSA id 4CB3960006;\n\tWed,  3 Aug 2022 12:01:41 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659528104;\n\tbh=4YuUr4GLUoAACXgHLaHuuzeww8d9Cz2P10WQVCMs1zg=;\n\th=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=sgTLL8fll3dBhuhVn9GBmChQAcsSaygkbE/38OXcQoT82NHp0Br2vk+zutBgAJ9S7\n\tLw1ygIkbJSYWYY0Vg6XVM9t6I1weG+LyOnXbklMzpmCN1Dt2Qglx1+JOUE1WfyG9vA\n\tj4etPM9URAoJdhAgVVGN9IRt8jJLcRzhiMQIv+6h+KlHfx76JSoNrKZ+4zMi//XFnL\n\tBbGLa1IS9jstFru8m10JMXfj+6O/NnJIptbpO66PVrZsTa++Tf9IaVDan9haJc9cY+\n\t/5B1i8uhI/PgDiz81uwdpipR2yrQ7ph7ehDX4+D47d2qdJNX9/Sd63MV77exAFh50f\n\tJUyYyVgNaHugg==","Date":"Wed, 3 Aug 2022 14:01:39 +0200","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Message-ID":"<20220803120139.zdefi4urnurhapgj@uno.localdomain>","References":"<20220801000543.3501-1-laurent.pinchart@ideasonboard.com>\n\t<20220801000543.3501-3-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20220801000543.3501-3-laurent.pinchart@ideasonboard.com>","Subject":"Re: [libcamera-devel] [PATCH 02/13] include: drm_fourcc: Add AVUY\n\tand XVUY 4:4:4 packet formats","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Jacopo Mondi via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Jacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":24344,"web_url":"https://patchwork.libcamera.org/comment/24344/","msgid":"<YupltGiztfGacGIg@pendragon.ideasonboard.com>","date":"2022-08-03T12:10:28","subject":"Re: [libcamera-devel] [PATCH 02/13] include: drm_fourcc: Add AVUY\n\tand XVUY 4:4:4 packet formats","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Wed, Aug 03, 2022 at 02:01:39PM +0200, Jacopo Mondi wrote:\n> Hi Laurent\n> \n> On Mon, Aug 01, 2022 at 03:05:32AM +0300, Laurent Pinchart via libcamera-devel wrote:\n> > Add FourCCs for the YUV 4:4:4 packed formats AVUY8888 and XVUY8888.\n> >\n> > This is merged in the upstream kernel as 53618649ca6d (\"drm/fourcc: Add\n> > formats for packed YUV 4:4:4 AVUY and XVUY permutations\").\n> \n> Is this upstreamed already ? can't find it in linux-next or in Linus\n> branches\n\nIt's in the drm-misc-next branch\n(git://anongit.freedesktop.org/drm/drm-misc), it should hit mainline in\nv5.21.\n\n> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> > ---\n> >  include/linux/drm_fourcc.h | 2 ++\n> >  1 file changed, 2 insertions(+)\n> >\n> > diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\n> > index cc69eecc606f..1496e097004c 100644\n> > --- a/include/linux/drm_fourcc.h\n> > +++ b/include/linux/drm_fourcc.h\n> > @@ -205,7 +205,9 @@ extern \"C\" {\n> >  #define DRM_FORMAT_VYUY\t\tfourcc_code('V', 'Y', 'U', 'Y') /* [31:0] Y1:Cb0:Y0:Cr0 8:8:8:8 little endian */\n> >\n> >  #define DRM_FORMAT_AYUV\t\tfourcc_code('A', 'Y', 'U', 'V') /* [31:0] A:Y:Cb:Cr 8:8:8:8 little endian */\n> > +#define DRM_FORMAT_AVUY8888\tfourcc_code('A', 'V', 'U', 'Y') /* [31:0] A:Cr:Cb:Y 8:8:8:8 little endian */\n> >  #define DRM_FORMAT_XYUV8888\tfourcc_code('X', 'Y', 'U', 'V') /* [31:0] X:Y:Cb:Cr 8:8:8:8 little endian */\n> > +#define DRM_FORMAT_XVUY8888\tfourcc_code('X', 'V', 'U', 'Y') /* [31:0] X:Cr:Cb:Y 8:8:8:8 little endian */\n> >  #define DRM_FORMAT_VUY888\tfourcc_code('V', 'U', '2', '4') /* [23:0] Cr:Cb:Y 8:8:8 little endian */\n> >  #define DRM_FORMAT_VUY101010\tfourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */\n> \n> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 550CEBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  3 Aug 2022 12:10:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C6A1463310;\n\tWed,  3 Aug 2022 14:10:36 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id DA177603E6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  3 Aug 2022 14:10:34 +0200 (CEST)","from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi\n\t[62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3D7218B;\n\tWed,  3 Aug 2022 14:10:34 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659528636;\n\tbh=hBwFyIZDsVnxX3urUQPGfo8mZBQljiSLBuAIyBA0n6Q=;\n\th=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=zgvBRGuCtpO+Dz9Dg+CejoXHDC4IFzuE2tHoAwSZEOqOBkFZlqp6mIAf4VvQwdHQa\n\tllvr53uDTWPkGpFHxfCjVS2CpRK+GA+IrEuMLA3hLlRMXnwWmebbDyDnoblupxM9Pn\n\tP5ZrRif3Mdh7IxRr7cjz3i3kSeBSvHHKdxUYF+RdBW16wJzjUDaTKvoLR+sETt1hCN\n\tXswfwlGgqGHdrrdt+BpGFes3q3ZC1U3D8frZ5J+nsCl2jqVa0zeWBIBFZ7LFDK50zV\n\tAokv2nT6L9c9GmOkcaG1kEtFFpX3PNoKs41I3hzNVGw0bvPEw/M2VbgaRxClUlanxm\n\tgd1cDMaBnSS7A==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1659528634;\n\tbh=hBwFyIZDsVnxX3urUQPGfo8mZBQljiSLBuAIyBA0n6Q=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=W637zxmKeqBZTKR3jVmcL3ga0DW/oKYg332dhDsPhoAxL+L2t6TMmSmdA8mZFUy3o\n\tuftxHYsWutKny/tyhI7rzzfPAKIMygz3N1zuTKg7+2XP6IpY6DX1eR29BaqVik8LS0\n\tSYwQdj37wvjfKSCVT+cdmvwXuD6sU4Zfa/nfvUso="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"W637zxmK\"; dkim-atps=neutral","Date":"Wed, 3 Aug 2022 15:10:28 +0300","To":"Jacopo Mondi <jacopo@jmondi.org>","Message-ID":"<YupltGiztfGacGIg@pendragon.ideasonboard.com>","References":"<20220801000543.3501-1-laurent.pinchart@ideasonboard.com>\n\t<20220801000543.3501-3-laurent.pinchart@ideasonboard.com>\n\t<20220803120139.zdefi4urnurhapgj@uno.localdomain>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20220803120139.zdefi4urnurhapgj@uno.localdomain>","Subject":"Re: [libcamera-devel] [PATCH 02/13] include: drm_fourcc: Add AVUY\n\tand XVUY 4:4:4 packet formats","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]