All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
To: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Kieran Bingham <kieran.bingham@ideasonboard.com>,
	Nicolas Dufresne <nicolas@ndufresne.ca>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Subject: [PATCH v2 0/7] media/drm: renesas: Add new pixel formats
Date: Mon, 19 Dec 2022 16:01:32 +0200	[thread overview]
Message-ID: <20221219140139.294245-1-tomi.valkeinen+renesas@ideasonboard.com> (raw)

From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>

Hi,

These add new pixel formats for Renesas V3U and V4H SoCs.

As the display pipeline is split between DRM and V4L2 components, this
series touches both subsystems. I'm sending all these together to
simplify review. If needed, I can later split this to V4L2 and DRM
parts, of which the V4L2 part needs to be merged first.

Changes in v2:

- Add kernel documentation for the new formats
- Add PACK_CPOS & PACK_CLEN macros for writing to ext_infmt registers
- Fix wrong alpha component values in ext_infmt registers

 Tomi

Tomi Valkeinen (7):
  media: Add 2-10-10-10 RGB formats
  media: Add Y210, Y212 and Y216 formats
  media: renesas: vsp1: Change V3U to be gen4
  media: renesas: vsp1: Add V4H SoC version
  media: renesas: vsp1: Add new formats (2-10-10-10 ARGB, Y210)
  drm: rcar-du: Bump V3U to gen 4
  drm: rcar-du: Add new formats (2-10-10-10 ARGB, Y210)

 .../media/v4l/pixfmt-packed-yuv.rst           |  44 ++++
 .../userspace-api/media/v4l/pixfmt-rgb.rst    | 194 ++++++++++++++++++
 drivers/gpu/drm/rcar-du/rcar_du_drv.c         |   2 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c         |  24 +++
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c         |  49 ++++-
 .../media/platform/renesas/vsp1/vsp1_drv.c    |   4 +-
 .../media/platform/renesas/vsp1/vsp1_hgo.c    |   4 +-
 .../media/platform/renesas/vsp1/vsp1_lif.c    |   1 +
 .../media/platform/renesas/vsp1/vsp1_pipe.c   |  15 ++
 .../media/platform/renesas/vsp1/vsp1_regs.h   |  25 ++-
 .../media/platform/renesas/vsp1/vsp1_rpf.c    |  61 +++++-
 .../media/platform/renesas/vsp1/vsp1_video.c  |   4 +-
 .../media/platform/renesas/vsp1/vsp1_wpf.c    |   4 +-
 drivers/media/v4l2-core/v4l2-ioctl.c          |   6 +
 include/uapi/linux/videodev2.h                |  11 +
 15 files changed, 430 insertions(+), 18 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-12-19 14:02 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 14:01 Tomi Valkeinen [this message]
2022-12-19 14:01 ` [PATCH v2 1/7] media: Add 2-10-10-10 RGB formats Tomi Valkeinen
2022-12-19 19:10   ` Laurent Pinchart
2022-12-19 19:10     ` Laurent Pinchart
2022-12-20 14:12     ` Tomi Valkeinen
2022-12-20 14:12       ` Tomi Valkeinen
2022-12-20 14:24       ` Laurent Pinchart
2022-12-20 14:24         ` Laurent Pinchart
2022-12-20 14:35         ` Tomi Valkeinen
2022-12-20 14:35           ` Tomi Valkeinen
2022-12-19 14:01 ` [PATCH v2 2/7] media: Add Y210, Y212 and Y216 formats Tomi Valkeinen
2022-12-19 20:54   ` Laurent Pinchart
2022-12-19 20:54     ` Laurent Pinchart
2022-12-19 14:01 ` [PATCH v2 3/7] media: renesas: vsp1: Change V3U to be gen4 Tomi Valkeinen
2022-12-19 21:01   ` Laurent Pinchart
2022-12-19 21:01     ` Laurent Pinchart
2022-12-21  7:48     ` Tomi Valkeinen
2022-12-21  7:48       ` Tomi Valkeinen
2022-12-21 10:21       ` Laurent Pinchart
2022-12-21 10:21         ` Laurent Pinchart
2022-12-19 14:01 ` [PATCH v2 4/7] media: renesas: vsp1: Add V4H SoC version Tomi Valkeinen
2022-12-19 21:06   ` Laurent Pinchart
2022-12-19 21:06     ` Laurent Pinchart
2022-12-19 14:01 ` [PATCH v2 5/7] media: renesas: vsp1: Add new formats (2-10-10-10 ARGB, Y210) Tomi Valkeinen
2022-12-19 21:37   ` Laurent Pinchart
2022-12-19 21:37     ` Laurent Pinchart
2022-12-19 14:01 ` [PATCH v2 6/7] drm: rcar-du: Bump V3U to gen 4 Tomi Valkeinen
2022-12-19 15:04   ` Kieran Bingham
2022-12-19 21:38   ` Laurent Pinchart
2022-12-19 21:38     ` Laurent Pinchart
2022-12-19 14:01 ` [PATCH v2 7/7] drm: rcar-du: Add new formats (2-10-10-10 ARGB, Y210) Tomi Valkeinen
2022-12-19 21:47   ` Laurent Pinchart
2022-12-19 21:47     ` Laurent Pinchart
2022-12-20  9:01     ` Hans Verkuil
2022-12-20  9:01       ` Hans Verkuil
2022-12-20  9:09       ` Geert Uytterhoeven
2022-12-20  9:09         ` Geert Uytterhoeven
2022-12-20  9:20         ` Hans Verkuil
2022-12-20  9:20           ` Hans Verkuil
2022-12-20  9:33           ` Geert Uytterhoeven
2022-12-20  9:33             ` Geert Uytterhoeven
2022-12-20  9:18       ` Laurent Pinchart
2022-12-20  9:18         ` Laurent Pinchart
2022-12-20  9:26         ` Hans Verkuil
2022-12-20  9:26           ` Hans Verkuil
2022-12-20 10:38           ` Laurent Pinchart
2022-12-20 10:38             ` Laurent Pinchart
2022-12-20  9:36     ` Sakari Ailus
2022-12-20  9:36       ` Sakari Ailus
2022-12-20 10:42       ` Laurent Pinchart
2022-12-20 10:42         ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221219140139.294245-1-tomi.valkeinen+renesas@ideasonboard.com \
    --to=tomi.valkeinen+renesas@ideasonboard.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert@linux-m68k.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=tomi.valkeinen@ideasonboard.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.