linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/2] v4l: vsp1: Add HGT support
@ 2016-09-07 12:09 Niklas Söderlund
  2016-09-07 12:09 ` [PATCHv3 1/2] v4l: Define a pixel format for the R-Car VSP1 2-D histogram engine Niklas Söderlund
  2016-09-07 12:09 ` [PATCHv3 2/2] v4l: vsp1: Add HGT support Niklas Söderlund
  0 siblings, 2 replies; 4+ messages in thread
From: Niklas Söderlund @ 2016-09-07 12:09 UTC (permalink / raw)
  To: linux-renesas-soc, linux-media, laurent.pinchart
  Cc: corbet, mchehab, sakari.ailus, hans.verkuil,
	Niklas Söderlund

Hi,

This series add support for the VSP1 2-D histogram engine HGT.

It's based on top of Laurent Pinchart tree at
git://linuxtv.org/pinchartl/media.git hgo. And depends on Laurents patch
'[PATCH] v4l: vsp1: Move subdev operations from HGO to common histogram
code'.

It is tested on Koelsch using a modified vsp-tests suite package,
modifications can be found at https://git.ragnatech.se/vsp-tests hgt.

* Changes since v2
- Add .try_ctrl() handling and return -EINVAL instead of trying to correct the 
  hue areas. Thanks Laurent for suggesting a solution to this.
- Fixed typo in pixel format documentation, thanks Laurent for spotting it.

* Changes since v1
- Rebased on top of Laurents patch which made all subdev operations
  common for HGO and HGT. This removed a lot of code that is now shared.
- Removed the Hue area configuration for the histogram pixel format.
  These values are set by userspace so it already knows them.
- Updated pixel format documentation after input from Laurent.
- Better aligned the code to the existing VSP code base.
- Simplify check that hue areas are valid for the hardware.
- Fixed spelling.

Niklas Söderlund (2):
  v4l: Define a pixel format for the R-Car VSP1 2-D histogram engine
  v4l: vsp1: Add HGT support

 Documentation/media/uapi/v4l/meta-formats.rst      |   1 +
 .../media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst        | 120 +++++++++++
 drivers/media/platform/vsp1/Makefile               |   2 +-
 drivers/media/platform/vsp1/vsp1.h                 |   3 +
 drivers/media/platform/vsp1/vsp1_drv.c             |  33 ++-
 drivers/media/platform/vsp1/vsp1_entity.c          |  33 ++-
 drivers/media/platform/vsp1/vsp1_entity.h          |   1 +
 drivers/media/platform/vsp1/vsp1_hgt.c             | 221 +++++++++++++++++++++
 drivers/media/platform/vsp1/vsp1_hgt.h             |  42 ++++
 drivers/media/platform/vsp1/vsp1_pipe.c            |  16 ++
 drivers/media/platform/vsp1/vsp1_pipe.h            |   2 +
 drivers/media/platform/vsp1/vsp1_regs.h            |   9 +
 drivers/media/platform/vsp1/vsp1_video.c           |  10 +-
 drivers/media/v4l2-core/v4l2-ioctl.c               |   1 +
 include/uapi/linux/videodev2.h                     |   3 +-
 15 files changed, 480 insertions(+), 17 deletions(-)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgt.c
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgt.h

-- 
2.9.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-07 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07 12:09 [PATCHv3 0/2] v4l: vsp1: Add HGT support Niklas Söderlund
2016-09-07 12:09 ` [PATCHv3 1/2] v4l: Define a pixel format for the R-Car VSP1 2-D histogram engine Niklas Söderlund
2016-09-07 12:09 ` [PATCHv3 2/2] v4l: vsp1: Add HGT support Niklas Söderlund
2016-09-07 12:48   ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).