Re: [PATCHv3 2/9] v4l2-mediabus: improve colorspace support

2014-12-02 Thread Hans Verkuil
On 12/03/2014 01:16 AM, Sakari Ailus wrote: > Hi Hans, > > On Mon, Dec 01, 2014 at 10:03:46AM +0100, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Add and copy the new ycbcr_enc and quantization fields. >> >> Signed-off-by: Hans Verkuil >> --- >> include/media/v4l2-mediabus.h | 4 >>

cron job: media_tree daily build: ERRORS

2014-12-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: Wed Dec 3 04:00:15 CET 2014 git branch: test git hash: e8bd888a148cb55a5ba27070fdfeb62386c89577 gcc versio

[PATCH] media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. The alternative of CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME may b

Re: [PATCH 1/2] v4l2 subdevs: replace get/set_crop by get/set_selection

2014-12-02 Thread Prabhakar Lad
Hi Hans, Thanks for the patch. On Tue, Dec 2, 2014 at 12:21 PM, Hans Verkuil wrote: > From: Hans Verkuil > > The crop and selection pad ops are duplicates. Replace all uses of > get/set_crop > by get/set_selection. This will make it possible to drop get/set_crop > altogether. > > Signed-off-by

Re: [PATCH v2] media: platform: add VPFE capture driver support for AM437X

2014-12-02 Thread Prabhakar Lad
On Wed, Dec 3, 2014 at 12:29 AM, Lad, Prabhakar wrote: > From: Benoit Parrot > > This patch adds Video Processing Front End (VPFE) driver for > AM437X family of devices > Driver supports the following: > - V4L2 API using MMAP buffer access based on videobuf2 api > - Asynchronous sensor/decoder su

[PATCH v2] media: platform: add VPFE capture driver support for AM437X

2014-12-02 Thread Lad, Prabhakar
From: Benoit Parrot This patch adds Video Processing Front End (VPFE) driver for AM437X family of devices Driver supports the following: - V4L2 API using MMAP buffer access based on videobuf2 api - Asynchronous sensor/decoder sub device registration - DT support Signed-off-by: Benoit Parrot Sig

Re: [PATCHv3 2/9] v4l2-mediabus: improve colorspace support

2014-12-02 Thread Sakari Ailus
Hi Hans, On Mon, Dec 01, 2014 at 10:03:46AM +0100, Hans Verkuil wrote: > From: Hans Verkuil > > Add and copy the new ycbcr_enc and quantization fields. > > Signed-off-by: Hans Verkuil > --- > include/media/v4l2-mediabus.h | 4 > include/uapi/linux/v4l2-mediabus.h | 6 +- > 2 fil

Re: [PATCH 0/3] Deprecate drivers

2014-12-02 Thread Ondrej Zary
On Tuesday 02 December 2014 16:40:30 Hans Verkuil wrote: > This patch series deprecates the vino/saa7191 video driver (ancient SGI > Indy computer), the parallel port webcams bw-qcam, c-qcam and w9966, the > ISA video capture driver pms and the USB video capture tlg2300 driver. > > Hardware for the

Re: v4l2_mbus_config flags for CSI-2

2014-12-02 Thread Sakari Ailus
Hi Mats, On Tue, Dec 02, 2014 at 02:50:54PM +0100, Mats Randgaard (matrandg) wrote: > Thanks for responding so quickly, Sakari! > > On 12/02/2014 01:45 PM, Sakari Ailus wrote: > >Hi Mats, > > > >On Tue, Dec 02, 2014 at 12:49:07PM +0100, Mats Randgaard (matrandg) wrote: > >>Hi, > >>I am writing a

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-02 Thread Laurent Pinchart
Hi Hans, On Tuesday 02 December 2014 20:34:22 Hans Verkuil wrote: > On 12/02/2014 01:59 PM, Laurent Pinchart wrote: > Basically, > > 1. Create a subdev pad configuration store structure to store the > formats and selection rectangles for each pad. > >>> > >>> I wouldn't call

Re: [PATCH 1/3] rtl2832: convert driver to I2C binding

2014-12-02 Thread Benjamin Larsson
On 12/02/2014 03:31 PM, Antti Palosaari wrote: Convert that driver to I2C driver model. Legacy DVB binding is left also for later removal... Signed-off-by: Antti Palosaari Works fine. Thanks for the quick fix. Tested-by: Benjamin Larsson MvH Benjamin Larsson -- To unsubscribe from this lis

[PATCH] Add LVDS RGB media bus formats

2014-12-02 Thread Philipp Zabel
This patch adds three new RGB media bus formats that describe 18-bit or 24-bit samples transferred over an LVDS bus with three or four differential data pairs, serialized into 7 time slots, using standard SPWG/PSWG/VESA or JEIDA data ordering. Signed-off-by: Philipp Zabel --- Documentation/DocBo

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-02 Thread Hans Verkuil
Hi Laurent, On 12/02/2014 01:59 PM, Laurent Pinchart wrote: Basically, 1. Create a subdev pad configuration store structure to store the formats and selection rectangles for each pad. >>> >>> I wouldn't call it a 'store'. Just call it fmt_config or pad_config >>> something like

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-12-02 Thread Maxime Ripard
Hi, On Fri, Nov 28, 2014 at 02:37:14PM +0100, Hans de Goede wrote: > Hi, > > On 11/27/2014 08:05 PM, Maxime Ripard wrote: > >Hi, > > > >On Thu, Nov 27, 2014 at 11:10:51AM +0100, Hans de Goede wrote: > >>Hi, > >> > >>On 11/27/2014 10:28 AM, Chen-Yu Tsai wrote: > >>>Hi, > >>> > >>>On Thu, Nov 27, 2

[PATCH 0/3] Deprecate drivers

2014-12-02 Thread Hans Verkuil
This patch series deprecates the vino/saa7191 video driver (ancient SGI Indy computer), the parallel port webcams bw-qcam, c-qcam and w9966, the ISA video capture driver pms and the USB video capture tlg2300 driver. Hardware for these devices is next to impossible to obtain, these drivers haven't

[PATCH 2/3] tlg2300: move to staging in preparation for removal

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil This driver hasn't been tested in a long, long time. The company that made this chip has gone bust many years ago and hardware using this chip is next to impossible to find. This driver needs to be converted to newer media frameworks but due to the lack of hardware that's goin

[PATCH 3/3] bq/c-qcam, w9966, pms: move to staging in preparation for removal

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil These drivers haven't been tested in a long, long time. The hardware is ancient and hopelessly obsolete. These drivers also need to be converted to newer media frameworks but due to the lack of hardware that's going to be impossible. In addition, cheaper and vastly better hardw

[PATCH 1/3] vino/saa7191: move to staging in preparation for removal

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil These drivers haven't been tested in a long, long time. The hardware is ancient and hopelessly obsolete. These drivers also need to be converted to newer media frameworks but due to the lack of hardware that's going to be impossible. So these drivers are a prime candidate for

Re: [PATCH] [media] Documentation: cleanup whitespace at DocBook files

2014-12-02 Thread Jonathan Corbet
On Tue, 2 Dec 2014 12:10:09 -0200 Mauro Carvalho Chehab wrote: > It is probably better to send it via media, as it depends on another patch > that improves documentation for colorspaces. That's fine; feel free to put my ack on it if you want. Thanks, jon -- To unsubscribe from this list: send

[PATCH 3/3] rtl28xxu: change module unregister order

2014-12-02 Thread Antti Palosaari
We must unregister frontend first and after that driver itself. That order went wrong after demod drivers were switched to kernel I2C drivers, causing crashes. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 77 +++-- 1 file changed, 45 in

[PATCH 1/3] rtl2832: convert driver to I2C binding

2014-12-02 Thread Antti Palosaari
Convert that driver to I2C driver model. Legacy DVB binding is left also for later removal... Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832.c | 108 + drivers/media/dvb-frontends/rtl2832.h | 10 +++ drivers/media/dvb-frontends/rtl28

[PATCH 2/3] rtl28xxu: switch rtl2832 demod attach to I2C binding

2014-12-02 Thread Antti Palosaari
As rtl2832 driver support now I2C binding we will switch to that one. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 29 ++--- drivers/media/usb/dvb-usb-v2/rtl28xxu.h | 1 + 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/dri

Re: [PATCH] [media] Documentation: cleanup whitespace at DocBook files

2014-12-02 Thread Mauro Carvalho Chehab
Em Tue, 02 Dec 2014 08:53:49 -0500 Jonathan Corbet escreveu: > On Tue, 2 Dec 2014 11:20:26 -0200 > Mauro Carvalho Chehab wrote: > > > While reviewing the colorspace changeset 1afed88381bb, I noticed > > that several bad whitespaces were introduced. A deeper look showed > > that several other c

Re: [PATCH] [media] Documentation: cleanup whitespace at DocBook files

2014-12-02 Thread Jonathan Corbet
On Tue, 2 Dec 2014 11:20:26 -0200 Mauro Carvalho Chehab wrote: > While reviewing the colorspace changeset 1afed88381bb, I noticed > that several bad whitespaces were introduced. A deeper look showed > that several other changes at DocBook files added lots of > whitespacing issues. > > So, clean

Re: v4l2_mbus_config flags for CSI-2

2014-12-02 Thread Mats Randgaard (matrandg)
Thanks for responding so quickly, Sakari! On 12/02/2014 01:45 PM, Sakari Ailus wrote: Hi Mats, On Tue, Dec 02, 2014 at 12:49:07PM +0100, Mats Randgaard (matrandg) wrote: Hi, I am writing a driver for Toshiba TC358743 HDMI to CSI-2 bridge. The chip has four CSI lanes. Toshiba recommends to conf

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-02 Thread Wolfram Sang
> Thank you for references. Yes, thank you all. Really great to see this consolidation effort going on! > I'll try to review all out of i2c/busses/* registered i2c adapters, may > be there is something in common between all of them. Yay, cool! Thanks! > I'll prepare the change of the HDMI DDC

Re: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding

2014-12-02 Thread Vladimir Zapolskiy
Hi Andy, thank you for joining the discussion. On 02.12.2014 08:36, Andy Yan wrote: > Hi Vladimir: > > I am working on convert imx-hdmi to dw_hdmi now: > https://lkml.org/lkml/2014/12/1/190 > I also have a plan to use the internal HDMI I2C master under the I2c > framework, > and I also h

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-02 Thread Laurent Pinchart
Hi Hans, On Tuesday 02 December 2014 13:53:05 Hans Verkuil wrote: > On 12/02/14 08:45, Hans Verkuil wrote: > > On 12/02/2014 12:26 AM, Laurent Pinchart wrote: > >> On Sunday 30 November 2014 21:30:35 Prabhakar Lad wrote: > >>> On Sun, Nov 30, 2014 at 9:16 PM, Laurent Pinchart wrote: > On Sund

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-02 Thread Hans Verkuil
On 12/02/14 08:45, Hans Verkuil wrote: > On 12/02/2014 12:26 AM, Laurent Pinchart wrote: >> Hi Prabhakar, >> >> On Sunday 30 November 2014 21:30:35 Prabhakar Lad wrote: >>> On Sun, Nov 30, 2014 at 9:16 PM, Laurent Pinchart wrote: On Sunday 30 November 2014 21:05:50 Prabhakar Lad wrote: > O

Re: v4l2_mbus_config flags for CSI-2

2014-12-02 Thread Sakari Ailus
Hi Mats, On Tue, Dec 02, 2014 at 12:49:07PM +0100, Mats Randgaard (matrandg) wrote: > Hi, > I am writing a driver for Toshiba TC358743 HDMI to CSI-2 bridge. The > chip has four CSI lanes. Toshiba recommends to configure the CSI > output speed for the highest resolution the CSI interface can handle

Re: [PATCH 1/2] v4l2 subdevs: replace get/set_crop by get/set_selection

2014-12-02 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tuesday 02 December 2014 13:21:40 Hans Verkuil wrote: > From: Hans Verkuil > > The crop and selection pad ops are duplicates. Replace all uses of > get/set_crop by get/set_selection. This will make it possible to drop > get/set_crop altogether. > > Signed-o

Re: [PATCH 2/2] v4l2-subdev: drop get/set_crop pad ops

2014-12-02 Thread Laurent Pinchart
Hi Hans, On Tuesday 02 December 2014 13:21:41 Hans Verkuil wrote: > From: Hans Verkuil > > Drop the duplicate get/set_crop pad ops and only use get/set_selection. > It makes no sense to have two duplicate ops in the internal subdev API. Totally agreed, thank you for working on this. > Signed-o

[PATCH 1/2] v4l2 subdevs: replace get/set_crop by get/set_selection

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil The crop and selection pad ops are duplicates. Replace all uses of get/set_crop by get/set_selection. This will make it possible to drop get/set_crop altogether. Signed-off-by: Hans Verkuil Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Prabhakar Lad Cc: Philipp Zabel --

[PATCH 2/2] v4l2-subdev: drop get/set_crop pad ops

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil Drop the duplicate get/set_crop pad ops and only use get/set_selection. It makes no sense to have two duplicate ops in the internal subdev API. Signed-off-by: Hans Verkuil Cc: Laurent Pinchart --- drivers/media/v4l2-core/v4l2-subdev.c | 8 include/media/v4l2-subdev

[PATCHv2 3/3] adv7842: simplify InfoFrame logging

2014-12-02 Thread Hans Verkuil
From: Martin Bugge Use the new logging functions from the hdmi module. Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/adv7842.c | 174 2 files changed, 47 insertions(+), 128 deleti

[PATCHv2 1/3] hdmi: add new HDMI 2.0 defines

2014-12-02 Thread Hans Verkuil
From: Hans Verkuil Add new Video InfoFrame colorspace information introduced in HDMI 2.0 and new Audio Coding Extension Types, also from HDMI 2.0. HDMI_CONTENT_TYPE_NONE was renamed to _GRAPHICS since that's what it is called in CEA-861-F. Signed-off-by: Hans Verkuil Reviewed-by: Thierry Redin

[PATCHv2 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-02 Thread Hans Verkuil
From: Martin Bugge When receiving video it is very useful to be able to unpack the InfoFrames. Logging is useful as well, both for transmitters and receivers. Especially when implementing the VIDIOC_LOG_STATUS ioctl (supported by many V4L2 drivers) for a receiver it is important to be able to ea

[PATCHv2 0/3] hdmi: add unpack and logging functions

2014-12-02 Thread Hans Verkuil
This patch series adds new HDMI 2.0/CEA-861-F defines to hdmi.h and adds unpacking and logging functions to hdmi.c. It also uses those in the V4L2 adv7842 driver (and they will be used in other HDMI drivers once this functionality is merged). Patches 2 and 3 have been posted before by Martin Bugge

v4l2_mbus_config flags for CSI-2

2014-12-02 Thread Mats Randgaard (matrandg)
Hi, I am writing a driver for Toshiba TC358743 HDMI to CSI-2 bridge. The chip has four CSI lanes. Toshiba recommends to configure the CSI output speed for the highest resolution the CSI interface can handle and reduce the number of CSI lanes in use if the received video has lower resolution. T

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Benjamin Larsson
On 2014-12-02 11:59, Antti Palosaari wrote: [...] So the solution is to change rtl2832.c to the I2C model? And does this issue only affect the mn8847x drivers ? It likely affects some other dvb-usb-v2 drivers too. But not af9035 as I fixed it initially there I think. If this is the case wo

Re: Kernel 3.17.0 broke xc4000-based DTV1800h

2014-12-02 Thread István , Varga
2014-12-01 13:52 GMT+01:00 Mauro Carvalho Chehab : > Em Mon, 01 Dec 2014 13:24:50 +0100 > "István, Varga" escreveu: >> I am not sure if those are responsible for the >> I2C errors, or >> simply the lack of the analog firmwares. Perhaps the latter if the errors do >> not >> occur with the (current

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Antti Palosaari
On 12/02/2014 12:41 PM, Benjamin Larsson wrote: On 2014-12-02 11:02, Antti Palosaari wrote: On 12/02/2014 11:47 AM, Akihiro TSUKADA wrote: So at first it would be nice if someone could confirm my findings. Applying the same kind of code like my patch and unplug something that uses the affec

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Benjamin Larsson
On 2014-12-02 11:02, Antti Palosaari wrote: On 12/02/2014 11:47 AM, Akihiro TSUKADA wrote: So at first it would be nice if someone could confirm my findings. Applying the same kind of code like my patch and unplug something that uses the affected frontend should be enough. I tried that for t

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Antti Palosaari
On 12/02/2014 11:47 AM, Akihiro TSUKADA wrote: So at first it would be nice if someone could confirm my findings. Applying the same kind of code like my patch and unplug something that uses the affected frontend should be enough. I tried that for tc90522, and I could remove earth-pt3 (which u

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Akihiro TSUKADA
> So at first it would be nice if someone could confirm my findings. > Applying the same kind of code like my patch and unplug something that > uses the affected frontend should be enough. I tried that for tc90522, and I could remove earth-pt3 (which uses tc90522), tc90522 and tuner modules withou

RE: [PATCH v3 4/4] media: ti-vpe: Add support for SEQ_TB buffers

2014-12-02 Thread Devshatwar, Nikhil
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Monday, December 01, 2014 4:22 PM > To: Devshatwar, Nikhil; linux-media@vger.kernel.org > Subject: Re: [PATCH v3 4/4] media: ti-vpe: Add support for SEQ_TB > buffers > > On 11/29/2014 11:27 AM, Nikhil Devshatwar