From patchwork Thu Mar 28 07:07:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10874497 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 85A7A1575 for ; Thu, 28 Mar 2019 07:08:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72ACC28B8E for ; Thu, 28 Mar 2019 07:08:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66A1028BCB; Thu, 28 Mar 2019 07:08:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB0F328B8E for ; Thu, 28 Mar 2019 07:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725846AbfC1HIA (ORCPT ); Thu, 28 Mar 2019 03:08:00 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:43678 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbfC1HIA (ORCPT ); Thu, 28 Mar 2019 03:08:00 -0400 Received: from pendragon.nordic-sky.finnair.com (unknown [38.98.37.142]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 379D354D; Thu, 28 Mar 2019 08:07:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1553756878; bh=KfcLbxgTduGerzot0bITkuh+bn1giZd9rCNS1iQtjoA=; h=From:To:Cc:Subject:Date:From; b=IEVxGNjMzwq3ehNgRoDyemskwZUuLWJh7AKZvUQ2VWRaKwFi7uEXSiprFJMREG30d 9ZxQfYrisDpk25CuwC4b1OmWvn5RQieC86QcYhaAIo8xnxQZAnlD2lguCwapQPUUYj dFuy1LUzY6sqMTRxqsYoZmiDuIfv9oIbqyUFqzIs= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Maxime Ripard Subject: [PATCH 0/9] R-Car DU: Add missing RGB pixel formats Date: Thu, 28 Mar 2019 09:07:14 +0200 Message-Id: <20190328070723.26553-1-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patch series adds support for 16 missing RGB formats to the DU driver. To do is, the formats are first added to the VSP1 driver. Patches 1/9 to 3/9 define those formats in the V4L2 API, patches 4/9 to 6/9 add them to the VSP driver, and patches 7/9 to 9/9 finally add them to the DU driver. There's nothing very special here, but those patches are likely very error-prone due to the many instances of very similar constructs. I would thus appreciate careful review. The new V4L2 4CCs match (or at least should match if I haven't made any mistake) the DRM 4CCs, but the names of the format macros differ in order to stick to the V4L2 naming scheme. Laurent Pinchart (9): v4l: Add definitions for missing 32-bit RGB formats v4l: Add definitions for missing 16-bit RGB4444 formats v4l: Add definitions for missing 16-bit RGB555 formats media: vsp1: Add support for missing 32-bit RGB formats media: vsp1: Add support for missing 16-bit RGB444 formats media: vsp1: Add support for missing 16-bit RGB555 formats drm: rcar-du: Add support for missing 32-bit RGB formats drm: rcar-du: Add support for missing 16-bit RGB4444 formats drm: rcar-du: Add support for missing 16-bit RGB1555 formats .../media/uapi/v4l/pixfmt-packed-rgb.rst | 436 ++++++++++++++++++ drivers/gpu/drm/rcar-du/rcar_du_kms.c | 80 ++++ drivers/media/platform/vsp1/vsp1_pipe.c | 70 +++ include/uapi/linux/videodev2.h | 16 + 4 files changed, 602 insertions(+)