cron job: media_tree daily build: ERRORS

2017-08-11 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 Aug 12 05:00:19 CEST 2017 media-tree git hash:ec0c3ec497cabbf3bfa03a9eb5edcc252190a4e0 media_build

Re: [PATCH] v4l2-compat-ioctl32.c: make ctrl_is_pointer generic

2017-08-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Aug 2017 15:26:03 +0200 Hans Verkuil escreveu: > The ctrl_is_pointer used a hard-coded list of control IDs that besides being > outdated also wouldn't work for custom driver controls. > > Replaced by calling queryctrl and checking if the V4L2_CTRL_FLAG_HAS_PAYLOAD

[GIT PULL] s5p-jpeg fixes for v4.14-rc1

2017-08-11 Thread Sylwester Nawrocki
Hi Mauro, The following changes since commit ec0c3ec497cabbf3bfa03a9eb5edcc252190a4e0: media: ddbridge: split code into multiple files (2017-08-09 12:17:01 -0400) are available in the git repository at: git://linuxtv.org/snawrocki/samsung.git for-v4.14/media/next-2 for you to fetch

Re: [PATCH] dvb-usb: Add memory free on error path in dw2102_probe()

2017-08-11 Thread Enrico Mioso
For me it's fine. Reviewed-By: Enrico Mioso On Thu, 10 Aug 2017, Anton Vasilyev wrote: Date: Thu, 10 Aug 2017 17:27:44 From: Anton Vasilyev To: Mauro Carvalho Chehab Cc: Anton Vasilyev , Jonathan McDowell

Assalamu`Alaikum.

2017-08-11 Thread Mr Abdul Karim
Greetings from Mr. Abdul Karim Assalamu`Alaikum. My Name is Mr. Abdul Karim I am a banker by profession. I'm from Ouagadougou, Burkina Faso, West Africa. My reason for contacting you is to transfer an abandoned $15.5M to your account. The owner of this fund died since 2004 with his Next Of

[GIT PULL FOR v4.14] RC changes (part #2)

2017-08-11 Thread Sean Young
Hi Mauro, Please apply for-v4.14a before this pull request. This pull request includes a cec fix from Hans, to prevent merge conflicts. The last patch is fairly large, and its purpose is get rid of the ugly RC_TYPE_ and RC_BIT_ names. I realise this is both invasive and controversial, so I've

[PATCH] v4l2-compat-ioctl32.c: make ctrl_is_pointer generic

2017-08-11 Thread Hans Verkuil
The ctrl_is_pointer used a hard-coded list of control IDs that besides being outdated also wouldn't work for custom driver controls. Replaced by calling queryctrl and checking if the V4L2_CTRL_FLAG_HAS_PAYLOAD flag was set. Note that get_v4l2_ext_controls32() will set the v4l2_ext_control 'size'

[PATCH 1/2] media: s5p-jpeg: don't overwrite result's "size" member

2017-08-11 Thread Andrzej Pietrasiewicz
Originally the "size" member was modified in a local variable passed to s5p_jpeg_parse_hdr() but the member was not used by the caller, so it did not matter. After applying the patch media: s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue the unnecessary assignment caused the

[PATCH 2/2] media: s5p-jpeg: set w/h when encoding

2017-08-11 Thread Andrzej Pietrasiewicz
q_data w/h must be set when encoding. Fixes: 1c84e7f9d5dc596be (media: s5p-jpeg: Add support for resolution change event) Signed-off-by: Andrzej Pietrasiewicz --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

[PATCH 0/2] More s5p-jpeg fixes

2017-08-11 Thread Andrzej Pietrasiewicz
Hi All, The first patch in the series fixes decoding path, the second patch fixes encoding path. Please see appropriate commit messages. Andrzej Pietrasiewicz (2): media: s5p-jpeg: don't overwrite result's "size" member media: s5p-jpeg: set w/h when encoding

Re: [PATCH v1.2 1/1] omap3isp: Skip CSI-2 receiver initialisation in CCP2 configuration

2017-08-11 Thread Sakari Ailus
Hi Pavel, On Fri, Aug 11, 2017 at 12:46:05PM +0200, Pavel Machek wrote: > On Fri 2017-08-11 12:57:09, Sakari Ailus wrote: > > If the CSI-2 receiver isn't part of the pipeline (or isn't there to begin > > with), skip its initialisation. > > > > Signed-off-by: Sakari Ailus

Re: [PATCH v1.2 1/1] omap3isp: Skip CSI-2 receiver initialisation in CCP2 configuration

2017-08-11 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Friday 11 Aug 2017 12:57:09 Sakari Ailus wrote: > If the CSI-2 receiver isn't part of the pipeline (or isn't there to begin > with), skip its initialisation. I don't think the commit message really describes the patch. > Signed-off-by: Sakari Ailus

Re: [PATCHv2 0/9] omapdrm: hdmi4: add CEC support

2017-08-11 Thread Tomi Valkeinen
Hi Hans, Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 02/08/17 11:53, Hans Verkuil wrote: > From: Hans Verkuil > > This patch series adds CEC support for the omap4. It is based on >

Re: [PATCH v1.2 1/1] omap3isp: Skip CSI-2 receiver initialisation in CCP2 configuration

2017-08-11 Thread Pavel Machek
On Fri 2017-08-11 12:57:09, Sakari Ailus wrote: > If the CSI-2 receiver isn't part of the pipeline (or isn't there to begin > with), skip its initialisation. > > Signed-off-by: Sakari Ailus > Tested-by: Laurent Pinchart # on >

[PATCH v1.2 1/1] omap3isp: Skip CSI-2 receiver initialisation in CCP2 configuration

2017-08-11 Thread Sakari Ailus
If the CSI-2 receiver isn't part of the pipeline (or isn't there to begin with), skip its initialisation. Signed-off-by: Sakari Ailus Tested-by: Laurent Pinchart # on Beagleboard-xM + MPT9P031 Acked-by: Pavel Machek

[PATCH 20/20] arm64: dts: renesas: salvator: use VC1 for CVBS

2017-08-11 Thread Niklas Söderlund
In order to test Virtual Channels use VC1 for CVBS input from the adv748x. Signed-off-by: Niklas Söderlund --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 10/20] rcar-csi2: count usage for each source pad

2017-08-11 Thread Niklas Söderlund
The R-Car CSI-2 hardware can output the same virtual channel simultaneously to more then one R-Car VIN. For this reason we need to move the usage counting from the global device to each source pad. If a source pads usage count go from 0 to 1 we need to signal that a new stream should start,

[PATCH 06/20] rcar-vin: use the pad and stream aware s_stream

2017-08-11 Thread Niklas Söderlund
To work with multiplexed streams the pad and stream aware s_stream operation needs to be used. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-dma.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 03/20] v4l2-subdev.h: add CSI-2 bus description to struct v4l2_mbus_frame_desc_entry

2017-08-11 Thread Niklas Söderlund
Pads that carry muxed CSI-2 streams needs a way to describe which 'normal' pad is muxed to/from which stream of the multiplexed pad. Extend struct v4l2_mbus_frame_desc_entry to carry this information. Signed-off-by: Niklas Söderlund ---

[PATCH 11/20] rcar-csi2: when starting CSI-2 receiver use frame descriptor information

2017-08-11 Thread Niklas Söderlund
The driver now have access to frame descriptor information, use it. Only enable the virtual channels which are described in the frame descriptor and calculate the PHY PLL based on all streams described. Signed-off-by: Niklas Söderlund ---

[PATCH 07/20] rcar-csi2: declare sink pad as multiplexed

2017-08-11 Thread Niklas Söderlund
The sink pad will receive multiplexed streams over a CSI-2 bus, mark the pad as muxed. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-csi2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 09/20] rcar-csi2: figure out remote pad and stream which are starting

2017-08-11 Thread Niklas Söderlund
Using the information in v4l2_mbus_frame_desc figure out which remote pad and stream should be started or stopped. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-csi2.c | 40 + 1 file changed, 35

[PATCH 04/20] v4l2-core: check that both pads in a link are muxed if one are

2017-08-11 Thread Niklas Söderlund
Since multiplexed pads carry multiple streams it's not possible to verify the format for a specific stream at this time. Instead make sure both pads are marked as multiplexed and skip the format checking. Signed-off-by: Niklas Söderlund ---

[PATCH 15/20] adv748x: declare source pad as multiplexed

2017-08-11 Thread Niklas Söderlund
The source pad will receive multiplexed streams over a CSI-2 bus, mark the pad as muxed. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv748x/adv748x-csi2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 12/20] rcar-csi2: only allow formats on source pads

2017-08-11 Thread Niklas Söderlund
The driver is now pad and stream aware, only allow to get/set format on source pads. Also record a different format for each source pad since it's no longer true that they are all the same. Signed-off-by: Niklas Söderlund ---

[PATCH 08/20] rcar-csi2: switch to pad and stream aware s_stream

2017-08-11 Thread Niklas Söderlund
Switch the driver to implement the pad and stream aware s_stream operation. This is needed to enable to support to start and stop individual streams on a multiplexed pad. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-csi2.c | 15

[PATCH 05/20] v4l2-core: verify all streams formats on multiplexed links

2017-08-11 Thread Niklas Söderlund
Extend the format validation for multiplexed pads to verify all streams which are part of the multiplexed link. This might take the verification to an extreme as it could be argued that one should be able to configure and start just one stream without having to configure other streams which the

[PATCH 17/20] adv748x: implement get_frame_desc

2017-08-11 Thread Niklas Söderlund
Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv748x/adv748x-csi2.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/media/i2c/adv748x/adv748x-csi2.c b/drivers/media/i2c/adv748x/adv748x-csi2.c index

[PATCH 19/20] adv748x: only allow formats on sink pads

2017-08-11 Thread Niklas Söderlund
The driver is now pad and stream aware, only allow to get/set format on sink pads. Also record a different format for each sink pad since it's no longer true that they are all the same Signed-off-by: Niklas Söderlund ---

[PATCH 02/20] v4l2-subdev.h: add pad and stream aware s_stream

2017-08-11 Thread Niklas Söderlund
To be able to start and stop individual streams of a multiplexed pad the s_stream operation needs to be both pad and stream aware. Add a new operation to pad ops to facilitate this. Signed-off-by: Niklas Söderlund --- include/media/v4l2-subdev.h | 5 +

[PATCH 16/20] adv748x: add translation from pixelcode to CSI-2 datatype

2017-08-11 Thread Niklas Söderlund
This will be needed to fill out the frame descriptor information correctly. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv748x/adv748x-csi2.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH 13/20] rcar-csi2: implement get_frame_desc

2017-08-11 Thread Niklas Söderlund
The frame descriptor of the CSI-2 receiver mirrors that of the transmitter in all aspects but the routing from the multiplexed sink pad to the 'normal' source pads. Simply fetch the frame descriptor of the transmitter and update the routing. Signed-off-by: Niklas Söderlund

[PATCH 01/20] media.h: add MEDIA_PAD_FL_MUXED flag

2017-08-11 Thread Niklas Söderlund
Add flag to indicate that a pad can mux more then one stream. The user can use the pad operation get_frame_desc to query the pad about how the pad is muxed. Signed-off-by: Niklas Söderlund --- include/uapi/linux/media.h | 1 + 1 file changed, 1

[PATCH 00/20] Add multiplexed media pads to support CSI-2 virtual channels

2017-08-11 Thread Niklas Söderlund
Hi, This series is a RFC for how I think one could add CSI-2 virtual channel support to the V4L2 framework. The problem is that there is no way to in the media framework describe and control links between subdevices which carry more then one video stream, for example a CSI-2 bus which can have

[PATCH 14/20] adv748x: add module param for virtual channel

2017-08-11 Thread Niklas Söderlund
The hardware can output on any of the 4 (0-3) Virtual Channels of the CSI-2 bus. Add a module parameter each for TXA and TXB to allow the user to specify which channel should be used. Signed-off-by: Niklas Söderlund ---

[PATCH 18/20] adv748x: switch to pad and stream aware s_stream

2017-08-11 Thread Niklas Söderlund
Switch the driver to implement the pad and stream aware s_stream operation. This is needed to enable to support to start and stop individual streams on a multiplexed pad. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv748x/adv748x-csi2.c | 16

Re: [PATCH RESEND 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-11 Thread Laurent Pinchart
Hi Hans, On Friday 11 Aug 2017 08:05:03 Hans Verkuil wrote: > On 11/08/17 02:16, Mauro Carvalho Chehab wrote: > > In the past, only string controls were pointers. That changed when > > compounded types got added, but the compat32 code was not updated. > > > > We could just add those controls

Re: [PATCH 1/3] media: v4l2-ctrls.h: better document the arguments for v4l2_ctrl_fill

2017-08-11 Thread Hans Verkuil
On 11/08/17 11:10, Mauro Carvalho Chehab wrote: > Em Fri, 11 Aug 2017 08:01:58 +0200 > Hans Verkuil escreveu: > >> On 11/08/17 02:16, Mauro Carvalho Chehab wrote: >>> The arguments for this function are pointers. Make it clear at >>> its documentation. >>> >>> Signed-off-by:

Re: [PATCH RESEND 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-11 Thread Hans Verkuil
On 11/08/17 11:00, Mauro Carvalho Chehab wrote: > Em Fri, 11 Aug 2017 08:05:03 +0200 > Hans Verkuil escreveu: > >> On 11/08/17 02:16, Mauro Carvalho Chehab wrote: >>> In the past, only string controls were pointers. That changed when >>> compounded >>> types got added, but

Re: [GIT PULL for 4.14] Stream control documentation

2017-08-11 Thread Sakari Ailus
Hi Mauro, On Wed, Aug 09, 2017 at 12:57:57PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 9 Aug 2017 12:29:17 -0300 > Mauro Carvalho Chehab escreveu: > > > Em Wed, 9 Aug 2017 11:03:40 +0300 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > >

Re: [PATCH 1/3] media: v4l2-ctrls.h: better document the arguments for v4l2_ctrl_fill

2017-08-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Aug 2017 08:01:58 +0200 Hans Verkuil escreveu: > On 11/08/17 02:16, Mauro Carvalho Chehab wrote: > > The arguments for this function are pointers. Make it clear at > > its documentation. > > > > Signed-off-by: Mauro Carvalho Chehab > >

Re: [PATCH RESEND 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Aug 2017 08:05:03 +0200 Hans Verkuil escreveu: > On 11/08/17 02:16, Mauro Carvalho Chehab wrote: > > In the past, only string controls were pointers. That changed when > > compounded > > types got added, but the compat32 code was not updated. > > > > We could

Re: [PATCH RESEND 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-11 Thread Hans Verkuil
On 11/08/17 02:16, Mauro Carvalho Chehab wrote: > In the past, only string controls were pointers. That changed when compounded > types got added, but the compat32 code was not updated. > > We could just add those controls there, but maintaining it is flaw, as we > often forget about the compat

Re: [PATCH 1/3] media: v4l2-ctrls.h: better document the arguments for v4l2_ctrl_fill

2017-08-11 Thread Hans Verkuil
On 11/08/17 02:16, Mauro Carvalho Chehab wrote: > The arguments for this function are pointers. Make it clear at > its documentation. > > Signed-off-by: Mauro Carvalho Chehab > --- > include/media/v4l2-ctrls.h | 18 +- > 1 file changed, 9 insertions(+),