[{"id":20642,"web_url":"https://patchwork.libcamera.org/comment/20642/","msgid":"<YX1XgnJ8XMoGRFvf@pendragon.ideasonboard.com>","date":"2021-10-30T14:32:34","subject":"Re: [libcamera-devel] [PATCH v4 01/10] include: drm_fourcc: Add R10\n\tand R12 FourCC","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Naush,\n\nThank you for the patch.\n\nOn Thu, Oct 28, 2021 at 09:46:37AM +0100, Naushir Patuck wrote:\n> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> \n> Add FourCCs for 10- and 12-bit red format with padding to 16 bits. This\n> is a temporary addition until the formats gets merged in the upstream\n> kernel.\n\nThe corresponding patch has been merged in drm-next. Kieran, could you\nmaybe update the commit message to mention the upstream commit ID ? We\ncould update all our kernel headers while at it, but we would have to\nwait for v5.16-rc1.\n\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> Signed-off-by: Naushir Patuck <naush@raspberrypi.com>\n> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>\n> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> ---\n>  include/linux/drm_fourcc.h | 6 ++++++\n>  1 file changed, 6 insertions(+)\n> \n> diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\n> index 05d697ff30ce..28ea3a167ecb 100644\n> --- a/include/linux/drm_fourcc.h\n> +++ b/include/linux/drm_fourcc.h\n> @@ -104,6 +104,12 @@ extern \"C\" {\n>  /* 8 bpp Red */\n>  #define DRM_FORMAT_R8\t\tfourcc_code('R', '8', ' ', ' ') /* [7:0] R */\n>  \n> +/* 10 bpp Red */\n> +#define DRM_FORMAT_R10\t\tfourcc_code('R', '1', '0', ' ') /* [15:0] x:R 6:10 little endian */\n> +\n> +/* 12 bpp Red */\n> +#define DRM_FORMAT_R12\t\tfourcc_code('R', '1', '2', ' ') /* [15:0] x:R 4:12 little endian */\n> +\n>  /* 16 bpp Red */\n>  #define DRM_FORMAT_R16\t\tfourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */","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 A27F3BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 30 Oct 2021 14:33:05 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BCC50600C2;\n\tSat, 30 Oct 2021 16:33:04 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 87C35600B6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 30 Oct 2021 16:33:02 +0200 (CEST)","from pendragon.ideasonboard.com (85-76-103-215-nat.elisa-mobile.fi\n\t[85.76.103.215])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B91C881;\n\tSat, 30 Oct 2021 16:33:01 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"tTNaq+yE\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1635604382;\n\tbh=85lMrs6zt/yF8QEhJ01rF+a8BYEGc6CYyXPd4ze1gJI=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=tTNaq+yEdLOfnY02/4MAl3ydOsoQMxniWGhZVsjcXnuR6JbiJgejE3OMkCK3NnBbw\n\tJmfbmrBmO5coyFDn1PMlYK1N4VAtmbY3JD1aM2KXTZ+tr9aZohbuUXsUC0WdMAfAIt\n\tnJtSExcWEmUZ2xjJNLv2GgCUrORazJwd4fEINxTo=","Date":"Sat, 30 Oct 2021 17:32:34 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Naushir Patuck <naush@raspberrypi.com>","Message-ID":"<YX1XgnJ8XMoGRFvf@pendragon.ideasonboard.com>","References":"<20211028084646.453775-1-naush@raspberrypi.com>\n\t<20211028084646.453775-2-naush@raspberrypi.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20211028084646.453775-2-naush@raspberrypi.com>","Subject":"Re: [libcamera-devel] [PATCH v4 01/10] include: drm_fourcc: Add R10\n\tand R12 FourCC","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>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]