cron job: media_tree daily build: ERRORS

2016-09-02 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sat Sep 3 04:00:15 CEST 2016 git branch: test git hash: fb6609280db902bd5d34445fba1c926e95e63914 gcc

[GIT PULL STABLE 4.6] af9035 regression

2016-09-02 Thread Antti Palosaari
The following changes since commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a: Linux 4.6 (2016-05-15 15:43:13 -0700) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git af9035_fix for you to fetch changes up to 7bb87ff5255defe87916f32cd1fcef163a489339: af9035:

[PATCH] af9035: fix dual tuner detection with PCTV 79e

2016-09-02 Thread Antti Palosaari
From: Stefan Pöschel The value 5 of the EEPROM_TS_MODE register (meaning dual tuner presence) is only valid for AF9035 devices. For IT9135 devices it is invalid and led to a false positive dual tuner mode detection with PCTV 79e. Therefore on non-AF9035 devices and with

[PATCH 4/9] cxd2820r: dvbv5 statistics for DVB-C

2016-09-02 Thread Antti Palosaari
Implement dvbv5 statistics for DVB-C. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_c.c | 104 ++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/cxd2820r_c.c

[PATCH 3/9] cxd2820r: dvbv5 statistics for DVB-T2

2016-09-02 Thread Antti Palosaari
Implement dvbv5 statistics for DVB-T2. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_t2.c | 77 ++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/cxd2820r_t2.c

[PATCH 8/9] cxd2820r: improve lock detection

2016-09-02 Thread Antti Palosaari
Check demod and ts locks and report lock status according to those. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_c.c | 29 drivers/media/dvb-frontends/cxd2820r_t.c | 44 ---

[PATCH 2/9] cxd2820r: dvbv5 statistics for DVB-T

2016-09-02 Thread Antti Palosaari
Implement dvbv5 statistics for DVB-T. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_priv.h | 2 + drivers/media/dvb-frontends/cxd2820r_t.c| 88 + 2 files changed, 90 insertions(+) diff --git

[PATCH 7/9] cxd2820r: correct logging

2016-09-02 Thread Antti Palosaari
Use correct device for logging functions as we now have it due to proper I2C client bindings. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_c.c| 33 +--- drivers/media/dvb-frontends/cxd2820r_core.c | 115 +++-

[PATCH 1/9] cxd2820r: improve IF frequency setting

2016-09-02 Thread Antti Palosaari
Use 64-bit calculation. Return error if tuner does not provide get_if_frequency() callback. All currently used tuners has it. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_c.c| 26 +++ drivers/media/dvb-frontends/cxd2820r_priv.h |

[PATCH 9/9] cxd2820r: convert to regmap api

2016-09-02 Thread Antti Palosaari
Use regmap for I2C register access. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/Kconfig | 1 + drivers/media/dvb-frontends/cxd2820r_c.c| 56 +++--- drivers/media/dvb-frontends/cxd2820r_core.c | 259 ++--

[PATCH 5/9] cxd2820r: wrap legacy DVBv3 statistics via DVBv5 statistics

2016-09-02 Thread Antti Palosaari
Return DVBv5 statistics via legacy DVBv3 API. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r_c.c| 108 drivers/media/dvb-frontends/cxd2820r_core.c | 85 ++ drivers/media/dvb-frontends/cxd2820r_priv.h |

[PATCH 6/9] cxd2820r: add I2C driver bindings

2016-09-02 Thread Antti Palosaari
Add I2C driver bindings in order to support proper I2C driver registration with driver core. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/cxd2820r.h | 26 drivers/media/dvb-frontends/cxd2820r_c.c| 6 +- drivers/media/dvb-frontends/cxd2820r_core.c

[PATCHv3 4/6] media: rcar-vin: fix bug in scaling

2016-09-02 Thread Niklas Söderlund
It was not possible to scale beyond the image size of the video source limitation. The output frame would be bigger but the captured image was limited to the size of the video source. The error was that the crop boundary was set after the requested frame size and not the video source size. This

[PATCHv3 1/6] media: adv7180: fill in mbus format in set_fmt

2016-09-02 Thread Niklas Söderlund
If the V4L2_SUBDEV_FORMAT_TRY is used in set_fmt the width, height etc would not be filled. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv7180.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCHv3 2/6] media: rcar-vin: make V4L2_FIELD_INTERLACED standard dependent

2016-09-02 Thread Niklas Söderlund
The field V4L2_FIELD_INTERLACED is standard dependent and should not unconditionally be equivalent to V4L2_FIELD_INTERLACED_TB. This patch adds a check to see if the video standard can be obtained and if it's a 60 Hz format. If the condition is met V4L2_FIELD_INTERLACED is treated as

[PATCHv3 5/6] media: rcar-vin: fix height for TOP and BOTTOM fields

2016-09-02 Thread Niklas Söderlund
The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong. The frames only contain one field so the height should be half of the frame. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 29

[PATCHv3 0/6] Fix rcar-vin field handling

2016-09-02 Thread Niklas Söderlund
Hi, This series deals with how fields are handled in the rcar-vin driver. The current state is that the user is forced to use whatever field type is set by the subdevice. This series allows the user to freely choose the filed type. It fixes the current handling of V4L2_FIELD_INTERLACED so

[PATCHv3 6/6] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE

2016-09-02 Thread Niklas Söderlund
The HW can capture both ODD and EVEN fields in separate buffers so it's possible to support V4L2_FIELD_ALTERNATE. This patch add support for this mode. At probe time and when S_STD is called the driver will default to use V4L2_FIELD_INTERLACED if the subdevice reports V4L2_FIELD_ALTERNATE. The

[PATCHv3 3/6] media: rcar-vin: allow field to be changed

2016-09-02 Thread Niklas Söderlund
The driver forced whatever field was set by the source subdevice to be used. This patch allows the user to change from the default field. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 9 + 1 file changed, 9

Re: [PATCH] [media] rcar-vin: add legacy mode for wrong media bus formats

2016-09-02 Thread Niklas Söderlund
On 2016-08-22 11:12:59 +0200, Hans Verkuil wrote: > On 07/20/2016 02:36 PM, Hans Verkuil wrote: > > On 07/20/2016 02:29 PM, Niklas Söderlund wrote: > >> Hi Hans, > >> > >> Thanks for your feedback. > >> > >> On 2016-07-20 11:48:40 +0200, Hans Verkuil wrote: > >>> On 07/08/2016 12:43 PM, Niklas

[PATCH] [media] adv7180: rcar-vin: change mbus format to UYVY

2016-09-02 Thread Niklas Söderlund
The media bus format reported by the adv7180 is wrong. Steve Longerbeam posted a patch which changed the format to UYVY8_2X8 with the commit message: Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. The other option is

Re: [PATCH v4 3/5] media: Refactor copying IOCTL arguments from and to user space

2016-09-02 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Thursday 11 Aug 2016 23:29:16 Sakari Ailus wrote: > Refactor copying the IOCTL argument structs from the user space and back, > in order to reduce code copied around and make the implementation more > robust. > > As a result, the copying is done while not

Re: [PATCH] [media] vivid: allow usage of vb2_dma_contig_memops through module param

2016-09-02 Thread Hans Verkuil
Hi Vincent, On 09/02/2016 02:49 PM, Vincent Abriou wrote: > Allow dma contiguous buffer allocation. > The buffers generated by vivid could then be imported by drm/kms driver. Does this work for a regular x86 PC? This has been tried before, and this assumes that the device struct you pass to

Re: [PATCH] doc-rst:sphinx-extensions: add metadata parallel-safe

2016-09-02 Thread Mauro Carvalho Chehab
Em Thu, 1 Sep 2016 18:22:09 +0200 Markus Heiser escreveu: > Am 01.09.2016 um 16:29 schrieb Jani Nikula : > > > On Thu, 01 Sep 2016, Jonathan Corbet wrote: > >> On Wed, 24 Aug 2016 15:35:24 +0200 > >> Markus Heiser

[PATCH 1/2] v4l: Define a pixel format for the R-Car VSP1 2-D histogram engine

2016-09-02 Thread Niklas Söderlund
The format is used on the R-Car VSP1 video queues that carry 2-D histogram statistics data. Signed-off-by: Niklas Söderlund --- Documentation/media/uapi/v4l/meta-formats.rst | 1 + .../media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst| 150

[PATCH 0/2] v4l: vsp1: Add HGT support

2016-09-02 Thread 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. It is tested on Koelsch using a modified vsp-tests suite package, modifications can be found at https://git.ragnatech.se/vsp-tests hgt.

[PATCH 2/2] v4l: vsp1: Add HGT support

2016-09-02 Thread Niklas Söderlund
The HGT is a Histogram Generator Two-Dimensions. It computes a weighted frequency histograms for hue and saturation areas over a configurable region of the image with optional subsampling. Signed-off-by: Niklas Söderlund ---

[PATCH] [media] vivid: allow usage of vb2_dma_contig_memops through module param

2016-09-02 Thread Vincent Abriou
Allow dma contiguous buffer allocation. The buffers generated by vivid could then be imported by drm/kms driver. Signed-off-by: Vincent Abriou --- Documentation/video4linux/vivid.txt | 5 + drivers/media/platform/vivid/Kconfig | 1 +

[PATCH v5 8/9] Add documentation for V4L2_PIX_FMT_VP9.

2016-09-02 Thread Tiffany Lin
Add documentation for V4L2_PIX_FMT_VP9. Signed-off-by: Tiffany Lin Signed-off-by: Wu-Cheng Li --- Documentation/media/uapi/v4l/pixfmt-013.rst |8 1 file changed, 8 insertions(+) diff --git

[PATCH v5 5/9] vcodec: mediatek: Add Mediatek VP8 Video Decoder Driver

2016-09-02 Thread Tiffany Lin
Add vp8 decoder driver for MT8173 Signed-off-by: PC Chen Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + .../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c | 633

[PATCH v5 6/9] videodev2.h: add V4L2_PIX_FMT_VP9 format.

2016-09-02 Thread Tiffany Lin
From: Wu-Cheng Li This adds VP9 video coding format, a successor to VP8. Signed-off-by: Wu-Cheng Li Signed-off-by: Tiffany Lin --- include/uapi/linux/videodev2.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 0/9] Add MT8173 Video Decoder Driver

2016-09-02 Thread Tiffany Lin
== Introduction == The purpose of this series is to add the driver for video codec hw embedded in the Mediatek's MT8173 SoCs. Mediatek Video Codec is able to handle video decoding and encoding of in a range of formats. This patch series rely on MTK VPU driver that have

[PATCH v5 2/9] dt-bindings: Add a binding for Mediatek Video Decoder

2016-09-02 Thread Tiffany Lin
Add a DT binding documentation of Video Decoder for the MT8173 SoC from Mediatek. Signed-off-by: Tiffany Lin Acked-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vcodec.txt | 57 ++-- 1 file changed, 53 insertions(+), 4

[PATCH v5 7/9] v4l2-ioctl: add VP9 format description.

2016-09-02 Thread Tiffany Lin
From: Wu-Cheng Li VP9 is a video coding format and a successor to VP8. Signed-off-by: Wu-Cheng Li Signed-off-by: Tiffany Lin --- drivers/media/v4l2-core/v4l2-ioctl.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 3/9] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver

2016-09-02 Thread Tiffany Lin
Add v4l2 layer decoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile | 12 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 1433 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h |

[PATCH v5 1/9] VPU: mediatek: Add decode support

2016-09-02 Thread Tiffany Lin
From: Andrew-CT Chen VPU driver add decode support Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vpu/mtk_vpu.c | 12

[PATCH v5 9/9] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver

2016-09-02 Thread Tiffany Lin
Add vp9 decoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 10 + .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 967

[PATCH v5 4/9] vcodec: mediatek: Add Mediatek H264 Video Decoder Drive

2016-09-02 Thread Tiffany Lin
Add h264 decoder driver for MT8173 Signed-off-by: PC Chen Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |3 +- .../media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 506

Re: [PATCH] v4l: Add metadata buffer type and format

2016-09-02 Thread Sakari Ailus
Hi Laurent, On Fri, Sep 02, 2016 at 03:07:03PM +0300, Laurent Pinchart wrote: > The metadata buffer type is used to transfer metadata between userspace > and kernelspace through a V4L2 buffers queue. It comes with a new > metadata capture capability and format description. > > Signed-off-by:

[PATCH] v4l: Add metadata buffer type and format

2016-09-02 Thread Laurent Pinchart
The metadata buffer type is used to transfer metadata between userspace and kernelspace through a V4L2 buffers queue. It comes with a new metadata capture capability and format description. Signed-off-by: Laurent Pinchart Tested-by: Guennadi

Re: [PATCH v2 7/7] [media] rc: add support for IR LEDs driven through SPI

2016-09-02 Thread Sean Young
On Fri, Sep 02, 2016 at 02:27:08PM +0900, Andi Shyti wrote: > > Thanks Andi, this is looking great! > > Thanks Sean! With your reviews the whole thing looks much better > now :) > > I agree with all your points here, I will fix them. Can I add > your reviewd-by? Yes, please add it to this

Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting time for tx only devices

2016-09-02 Thread Sean Young
On Fri, Sep 02, 2016 at 02:16:27AM +0900, Andi Shyti wrote: > Transmitters do not need to wait until the data has been sent > (and of course received). Return before waiting. > > Signed-off-by: Andi Shyti > --- > drivers/media/rc/ir-lirc-codec.c | 2 +- > 1 file changed,

Re: [PATCH v2 1/4] v4l: Add metadata buffer type and format

2016-09-02 Thread Sakari Ailus
Hi Laurent, On Fri, Sep 02, 2016 at 12:40:18AM +0300, Laurent Pinchart wrote: ... > > >> +Data Format Negotiation > > >> +=== > > >> + > > >> +The metadata device uses the :ref:`format` ioctls to select the capture > > >> format. +The metadata buffer content format is bound to

Re: [PATCH v2 1/4] v4l: Add metadata buffer type and format

2016-09-02 Thread Sakari Ailus
Huomenta! On Fri, Sep 02, 2016 at 12:22:42AM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Monday 29 Aug 2016 12:13:40 Sakari Ailus wrote: > > On Wed, Aug 17, 2016 at 03:20:27PM +0300, Laurent Pinchart wrote: > > > The metadata buffer type is used to transfer metadata between userspace > >